Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newGamepadEvent :: (MonadDOM m, ToJSString type') => type' -> GamepadEventInit -> m GamepadEvent
- getGamepad :: MonadDOM m => GamepadEvent -> m (Maybe Gamepad)
- getGamepadUnsafe :: (MonadDOM m, HasCallStack) => GamepadEvent -> m Gamepad
- getGamepadUnchecked :: MonadDOM m => GamepadEvent -> m Gamepad
- newtype GamepadEvent = GamepadEvent {}
- gTypeGamepadEvent :: JSM GType
Documentation
newGamepadEvent :: (MonadDOM m, ToJSString type') => type' -> GamepadEventInit -> m GamepadEvent Source #
getGamepad :: MonadDOM m => GamepadEvent -> m (Maybe Gamepad) Source #
getGamepadUnsafe :: (MonadDOM m, HasCallStack) => GamepadEvent -> m Gamepad Source #
getGamepadUnchecked :: MonadDOM m => GamepadEvent -> m Gamepad Source #
newtype GamepadEvent Source #
Functions for this inteface are in JSDOM.GamepadEvent. Base interface functions are in:
Instances
PToJSVal GamepadEvent Source # | |
Defined in JSDOM.Types pToJSVal :: GamepadEvent -> JSVal # | |
PFromJSVal GamepadEvent Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> GamepadEvent # | |
ToJSVal GamepadEvent Source # | |
Defined in JSDOM.Types toJSVal :: GamepadEvent -> JSM JSVal # toJSValListOf :: [GamepadEvent] -> JSM JSVal # | |
FromJSVal GamepadEvent Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe GamepadEvent) # fromJSValUnchecked :: JSVal -> JSM GamepadEvent # fromJSValListOf :: JSVal -> JSM (Maybe [GamepadEvent]) # fromJSValUncheckedListOf :: JSVal -> JSM [GamepadEvent] # | |
MakeObject GamepadEvent Source # | |
Defined in JSDOM.Types makeObject :: GamepadEvent -> JSM Object # | |
IsEvent GamepadEvent Source # | |
Defined in JSDOM.Types | |
IsGObject GamepadEvent Source # | |
Defined in JSDOM.Types typeGType :: GamepadEvent -> JSM GType |