Module

Leaflet.MouseInteraction

Package
purescript-leaflet-tdammers
Repository
tdammers/purescript-leaflet-tdammers

#MouseEventTarget Source

#MouseEvent Source

newtype MouseEvent

Metadata for a mouse event.

Constructors

Instances

#MouseEventHandle Source

#onMouseEventJS Source

onMouseEventJS :: forall e. String -> MouseEventTarget -> (MouseEvent -> Eff (leaflet :: LEAFLET | e) Unit) -> Eff (leaflet :: LEAFLET | e) MouseEventHandle

Subscribe to a mouse event by name.

#offMouseEventJS Source

offMouseEventJS :: forall e. String -> MouseEventTarget -> MouseEventHandle -> Eff (leaflet :: LEAFLET | e) Unit

Unsubscribe from a mouse event by name.

#onMouseEvent Source

onMouseEvent :: forall e. MouseEventType -> MouseEventTarget -> (MouseEvent -> Eff (leaflet :: LEAFLET | e) Unit) -> Eff (leaflet :: LEAFLET | e) MouseEventHandle

#offMouseEvent Source