diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:24:15 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:24:15 +0000 |
commit | f7fa67dcc49b0b50ae2323b13facac69f2b5e495 (patch) | |
tree | b57cfa4095263521138ba8d3b372d91d99487a3e /debian/missing-sources/leaflet.js/layer/Layer.Interactive.leafdoc | |
parent | Adding upstream version 1.1.0. (diff) | |
download | icingaweb2-module-map-debian.tar.xz icingaweb2-module-map-debian.zip |
Adding debian version 1.1.0-4.debian/1.1.0-4debian
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.leafdoc | 39 |
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). |