Safe Haskell | None |
---|---|
Language | Haskell2010 |
- js_initKeyboardEvent :: KeyboardEvent -> JSString -> Bool -> Bool -> Nullable Window -> JSString -> Word -> Bool -> Bool -> Bool -> Bool -> Bool -> IO ()
- initKeyboardEvent :: (MonadIO m, ToJSString type', ToJSString keyIdentifier) => KeyboardEvent -> type' -> Bool -> Bool -> Maybe Window -> keyIdentifier -> Word -> Bool -> Bool -> Bool -> Bool -> Bool -> m ()
- pattern DOM_KEY_LOCATION_STANDARD :: forall a. (Num a, Eq a) => a
- pattern DOM_KEY_LOCATION_LEFT :: forall a. (Num a, Eq a) => a
- pattern DOM_KEY_LOCATION_RIGHT :: forall a. (Num a, Eq a) => a
- pattern DOM_KEY_LOCATION_NUMPAD :: forall a. (Num a, Eq a) => a
- js_getKeyIdentifier :: KeyboardEvent -> IO JSString
- getKeyIdentifier :: (MonadIO m, FromJSString result) => KeyboardEvent -> m result
- js_getLocation :: KeyboardEvent -> IO Word
- getLocation :: MonadIO m => KeyboardEvent -> m Word
- js_getKeyLocation :: KeyboardEvent -> IO Word
- getKeyLocation :: MonadIO m => KeyboardEvent -> m Word
- js_getCtrlKey :: KeyboardEvent -> IO Bool
- getCtrlKey :: MonadIO m => KeyboardEvent -> m Bool
- js_getShiftKey :: KeyboardEvent -> IO Bool
- getShiftKey :: MonadIO m => KeyboardEvent -> m Bool
- js_getAltKey :: KeyboardEvent -> IO Bool
- getAltKey :: MonadIO m => KeyboardEvent -> m Bool
- js_getMetaKey :: KeyboardEvent -> IO Bool
- getMetaKey :: MonadIO m => KeyboardEvent -> m Bool
- js_getAltGraphKey :: KeyboardEvent -> IO Bool
- getAltGraphKey :: MonadIO m => KeyboardEvent -> m Bool
- newtype KeyboardEvent = KeyboardEvent {}
- gTypeKeyboardEvent :: GType
Documentation
js_initKeyboardEvent :: KeyboardEvent -> JSString -> Bool -> Bool -> Nullable Window -> JSString -> Word -> Bool -> Bool -> Bool -> Bool -> Bool -> IO () Source #
initKeyboardEvent :: (MonadIO m, ToJSString type', ToJSString keyIdentifier) => KeyboardEvent -> type' -> Bool -> Bool -> Maybe Window -> keyIdentifier -> Word -> Bool -> Bool -> Bool -> Bool -> Bool -> m () Source #
pattern DOM_KEY_LOCATION_STANDARD :: forall a. (Num a, Eq a) => a Source #
pattern DOM_KEY_LOCATION_LEFT :: forall a. (Num a, Eq a) => a Source #
pattern DOM_KEY_LOCATION_RIGHT :: forall a. (Num a, Eq a) => a Source #
pattern DOM_KEY_LOCATION_NUMPAD :: forall a. (Num a, Eq a) => a Source #
getKeyIdentifier :: (MonadIO m, FromJSString result) => KeyboardEvent -> m result Source #
js_getLocation :: KeyboardEvent -> IO Word Source #
getLocation :: MonadIO m => KeyboardEvent -> m Word Source #
js_getKeyLocation :: KeyboardEvent -> IO Word Source #
getKeyLocation :: MonadIO m => KeyboardEvent -> m Word Source #
js_getCtrlKey :: KeyboardEvent -> IO Bool Source #
getCtrlKey :: MonadIO m => KeyboardEvent -> m Bool Source #
js_getShiftKey :: KeyboardEvent -> IO Bool Source #
getShiftKey :: MonadIO m => KeyboardEvent -> m Bool Source #
js_getAltKey :: KeyboardEvent -> IO Bool Source #
js_getMetaKey :: KeyboardEvent -> IO Bool Source #
getMetaKey :: MonadIO m => KeyboardEvent -> m Bool Source #
js_getAltGraphKey :: KeyboardEvent -> IO Bool Source #
getAltGraphKey :: MonadIO m => KeyboardEvent -> m Bool Source #
newtype KeyboardEvent Source #
Functions for this inteface are in GHCJS.DOM.KeyboardEvent. Base interface functions are in: