Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newKeyboardEvent :: (MonadDOM m, ToJSString type') => type' -> Maybe KeyboardEventInit -> m KeyboardEvent
- getModifierState :: (MonadDOM m, ToJSString keyArg) => KeyboardEvent -> keyArg -> m Bool
- getModifierState_ :: (MonadDOM m, ToJSString keyArg) => KeyboardEvent -> keyArg -> m ()
- initKeyboardEvent :: (MonadDOM m, ToJSString type', ToJSString keyIdentifier) => KeyboardEvent -> Maybe type' -> Bool -> Bool -> Maybe Window -> Maybe keyIdentifier -> Maybe 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
- getKey :: (MonadDOM m, FromJSString result) => KeyboardEvent -> m result
- getCode :: (MonadDOM m, FromJSString result) => KeyboardEvent -> m result
- getLocation :: MonadDOM m => KeyboardEvent -> m Word
- getCtrlKey :: MonadDOM m => KeyboardEvent -> m Bool
- getShiftKey :: MonadDOM m => KeyboardEvent -> m Bool
- getAltKey :: MonadDOM m => KeyboardEvent -> m Bool
- getMetaKey :: MonadDOM m => KeyboardEvent -> m Bool
- getRepeat :: MonadDOM m => KeyboardEvent -> m Bool
- getIsComposing :: MonadDOM m => KeyboardEvent -> m Bool
- getKeyIdentifier :: (MonadDOM m, FromJSString result) => KeyboardEvent -> m result
- getKeyLocation :: MonadDOM m => KeyboardEvent -> m Word
- getAltGraphKey :: MonadDOM m => KeyboardEvent -> m Bool
- getCharCode :: MonadDOM m => KeyboardEvent -> m Word
- getKeyCode :: MonadDOM m => KeyboardEvent -> m Word
- getWhich :: MonadDOM m => KeyboardEvent -> m Word
- newtype KeyboardEvent = KeyboardEvent {}
- gTypeKeyboardEvent :: JSM GType
Documentation
newKeyboardEvent :: (MonadDOM m, ToJSString type') => type' -> Maybe KeyboardEventInit -> m KeyboardEvent Source #
getModifierState :: (MonadDOM m, ToJSString keyArg) => KeyboardEvent -> keyArg -> m Bool Source #
getModifierState_ :: (MonadDOM m, ToJSString keyArg) => KeyboardEvent -> keyArg -> m () Source #
initKeyboardEvent :: (MonadDOM m, ToJSString type', ToJSString keyIdentifier) => KeyboardEvent -> Maybe type' -> Bool -> Bool -> Maybe Window -> Maybe keyIdentifier -> Maybe 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 #
getKey :: (MonadDOM m, FromJSString result) => KeyboardEvent -> m result Source #
getCode :: (MonadDOM m, FromJSString result) => KeyboardEvent -> m result Source #
getLocation :: MonadDOM m => KeyboardEvent -> m Word Source #
getCtrlKey :: MonadDOM m => KeyboardEvent -> m Bool Source #
getShiftKey :: MonadDOM m => KeyboardEvent -> m Bool Source #
getMetaKey :: MonadDOM m => KeyboardEvent -> m Bool Source #
getIsComposing :: MonadDOM m => KeyboardEvent -> m Bool Source #
getKeyIdentifier :: (MonadDOM m, FromJSString result) => KeyboardEvent -> m result Source #
getKeyLocation :: MonadDOM m => KeyboardEvent -> m Word Source #
getAltGraphKey :: MonadDOM m => KeyboardEvent -> m Bool Source #
getCharCode :: MonadDOM m => KeyboardEvent -> m Word Source #
getKeyCode :: MonadDOM m => KeyboardEvent -> m Word Source #
newtype KeyboardEvent Source #
Functions for this inteface are in JSDOM.KeyboardEvent. Base interface functions are in: