summaryrefslogtreecommitdiffstats
path: root/debian/missing-sources/leaflet.js/layer/Layer.Interactive.leafdoc
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 12:45:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 12:45:13 +0000
commit3c99fde45db83b531c41c350ed4d0ac2a3c40c62 (patch)
treead5257daf9e41556ed73875ab56b69162dffdac1 /debian/missing-sources/leaflet.js/layer/Layer.Interactive.leafdoc
parentAdding upstream version 1.1.0. (diff)
downloadicingaweb2-module-map-3c99fde45db83b531c41c350ed4d0ac2a3c40c62.tar.xz
icingaweb2-module-map-3c99fde45db83b531c41c350ed4d0ac2a3c40c62.zip
Adding debian version 1.1.0-3.debian/1.1.0-3debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/missing-sources/leaflet.js/layer/Layer.Interactive.leafdoc')
-rw-r--r--debian/missing-sources/leaflet.js/layer/Layer.Interactive.leafdoc39
1 files changed, 39 insertions, 0 deletions
diff --git a/debian/missing-sources/leaflet.js/layer/Layer.Interactive.leafdoc b/debian/missing-sources/leaflet.js/layer/Layer.Interactive.leafdoc
new file mode 100644
index 0000000..11ed5a8
--- /dev/null
+++ b/debian/missing-sources/leaflet.js/layer/Layer.Interactive.leafdoc
@@ -0,0 +1,39 @@
+@class Interactive layer
+@inherits Layer
+
+Some `Layer`s can be made interactive - when the user interacts
+with such a layer, mouse events like `click` and `mouseover` can be handled.
+Use the [event handling methods](#evented-method) to handle these events.
+
+@option interactive: Boolean = true
+If `false`, the layer will not emit mouse events and will act as a part of the underlying map.
+
+@option bubblingMouseEvents: Boolean = true
+When `true`, a mouse event on this layer will trigger the same event on the map
+(unless [`L.DomEvent.stopPropagation`](#domevent-stoppropagation) is used).
+
+@section Mouse events
+
+@event click: MouseEvent
+Fired when the user clicks (or taps) the layer.
+
+@event dblclick: MouseEvent
+Fired when the user double-clicks (or double-taps) the layer.
+
+@event mousedown: MouseEvent
+Fired when the user pushes the mouse button on the layer.
+
+@event mouseup: MouseEvent
+Fired when the user releases the mouse button pushed on the layer.
+
+@event mouseover: MouseEvent
+Fired when the mouse enters the layer.
+
+@event mouseout: MouseEvent
+Fired when the mouse leaves the layer.
+
+@event contextmenu: MouseEvent
+Fired when the user right-clicks on the layer, prevents
+default browser context menu from showing if there are listeners on
+this event. Also fired on mobile when the user holds a single touch
+for a second (also called long press).