Copyright | (C) Frank Staals |
---|---|
License | see the LICENSE file |
Maintainer | Frank Staals |
Safe Haskell | None |
Language | GHC2021 |
Extra mouse event events/decoders
Synopsis
- onMouseEnterAt :: (Point 2 Int -> action) -> Attribute action
- onMouseMoveAt :: (Point 2 Int -> action) -> Attribute action
- onMouseClickAt :: (Point 2 Int -> action) -> Attribute action
- onTouchStartAt :: (Point 2 Int -> action) -> Attribute action
- onTouchMoveAt :: (Point 2 Int -> action) -> Attribute action
- onTouchEnd :: action -> Attribute action
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
onTouchEnd :: action -> Attribute action Source #
onTouchEnd event