Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- 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:
Instances
PToJSVal TouchEvent Source # | |
Defined in JSDOM.Types pToJSVal :: TouchEvent -> JSVal # | |
PFromJSVal TouchEvent Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> TouchEvent # | |
ToJSVal TouchEvent Source # | |
Defined in JSDOM.Types toJSVal :: TouchEvent -> JSM JSVal # toJSValListOf :: [TouchEvent] -> JSM JSVal # | |
FromJSVal TouchEvent Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe TouchEvent) # fromJSValUnchecked :: JSVal -> JSM TouchEvent # fromJSValListOf :: JSVal -> JSM (Maybe [TouchEvent]) # fromJSValUncheckedListOf :: JSVal -> JSM [TouchEvent] # | |
MakeObject TouchEvent Source # | |
Defined in JSDOM.Types makeObject :: TouchEvent -> JSM Object # | |
IsUIEvent TouchEvent Source # | |
Defined in JSDOM.Types | |
IsEvent TouchEvent Source # | |
Defined in JSDOM.Types | |
IsGObject TouchEvent Source # | |
Defined in JSDOM.Types typeGType :: TouchEvent -> JSM GType |