hgeometry:miso
Copyright(C) Frank Staals
Licensesee the LICENSE file
MaintainerFrank Staals
Safe HaskellNone
LanguageGHC2021

HGeometry.Miso.Subscription.MouseExtra

Description

Extra mouse event events/decoders

Synopsis

Documentation

onMouseEnterAt :: (Point 2 Int -> action) -> Attribute action Source #

onMouseEnter event, the position is relative to the target of the event

onMouseMoveAt :: (Point 2 Int -> action) -> Attribute action Source #

onMouseMove event, the position is relative to the target of the event

onMouseClickAt :: (Point 2 Int -> action) -> Attribute action Source #

onMouseEnter event, the position is relative to the target of the event

onTouchStartAt :: (Point 2 Int -> action) -> Attribute action Source #

On start of a touch event,

onTouchMoveAt :: (Point 2 Int -> action) -> Attribute action Source #

On touchMove event

onTouchEnd :: action -> Attribute action Source #

onTouchEnd event