Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newTouchEvent :: (MonadDOM m, ToJSString type') => type' -> Maybe TouchEventInit -> m TouchEvent
- initTouchEvent :: (MonadDOM m, ToJSString type') => TouchEvent -> Maybe TouchList -> Maybe TouchList -> Maybe TouchList -> Maybe type' -> Maybe Window -> Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> Bool -> Bool -> Bool -> Bool -> m ()
- getTouches :: MonadDOM m => TouchEvent -> m TouchList
- getTargetTouches :: MonadDOM m => TouchEvent -> m TouchList
- getChangedTouches :: MonadDOM m => TouchEvent -> m TouchList
- getCtrlKey :: MonadDOM m => TouchEvent -> m Bool
- getShiftKey :: MonadDOM m => TouchEvent -> m Bool
- getAltKey :: MonadDOM m => TouchEvent -> m Bool
- getMetaKey :: MonadDOM m => TouchEvent -> m Bool
- newtype TouchEvent = TouchEvent {}
- gTypeTouchEvent :: JSM GType
Documentation
newTouchEvent :: (MonadDOM m, ToJSString type') => type' -> Maybe TouchEventInit -> m TouchEvent Source #
initTouchEvent :: (MonadDOM m, ToJSString type') => TouchEvent -> Maybe TouchList -> Maybe TouchList -> Maybe TouchList -> Maybe type' -> Maybe Window -> Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> Bool -> Bool -> Bool -> Bool -> m () Source #
getTouches :: MonadDOM m => TouchEvent -> m TouchList Source #
getTargetTouches :: MonadDOM m => TouchEvent -> m TouchList Source #
getChangedTouches :: MonadDOM m => TouchEvent -> m TouchList Source #
newtype TouchEvent Source #
Functions for this inteface are in JSDOM.TouchEvent. Base interface functions are in: