Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newInputEvent :: (MonadDOM m, ToJSString type') => type' -> Maybe InputEventInit -> m InputEvent
- getTargetRanges :: MonadDOM m => InputEvent -> m [StaticRange]
- getTargetRanges_ :: MonadDOM m => InputEvent -> m ()
- getInputType :: (MonadDOM m, FromJSString result) => InputEvent -> m result
- getData :: (MonadDOM m, FromJSString result) => InputEvent -> m (Maybe result)
- getDataUnsafe :: (MonadDOM m, HasCallStack, FromJSString result) => InputEvent -> m result
- getDataUnchecked :: (MonadDOM m, FromJSString result) => InputEvent -> m result
- getDataTransfer :: MonadDOM m => InputEvent -> m (Maybe DataTransfer)
- getDataTransferUnsafe :: (MonadDOM m, HasCallStack) => InputEvent -> m DataTransfer
- getDataTransferUnchecked :: MonadDOM m => InputEvent -> m DataTransfer
- newtype InputEvent = InputEvent {}
- gTypeInputEvent :: JSM GType
Documentation
newInputEvent :: (MonadDOM m, ToJSString type') => type' -> Maybe InputEventInit -> m InputEvent Source #
getTargetRanges :: MonadDOM m => InputEvent -> m [StaticRange] Source #
getTargetRanges_ :: MonadDOM m => InputEvent -> m () Source #
getInputType :: (MonadDOM m, FromJSString result) => InputEvent -> m result Source #
getData :: (MonadDOM m, FromJSString result) => InputEvent -> m (Maybe result) Source #
getDataUnsafe :: (MonadDOM m, HasCallStack, FromJSString result) => InputEvent -> m result Source #
getDataUnchecked :: (MonadDOM m, FromJSString result) => InputEvent -> m result Source #
getDataTransfer :: MonadDOM m => InputEvent -> m (Maybe DataTransfer) Source #
getDataTransferUnsafe :: (MonadDOM m, HasCallStack) => InputEvent -> m DataTransfer Source #
getDataTransferUnchecked :: MonadDOM m => InputEvent -> m DataTransfer Source #
newtype InputEvent Source #
Functions for this inteface are in JSDOM.InputEvent. Base interface functions are in:
Instances
PToJSVal InputEvent Source # | |
Defined in JSDOM.Types pToJSVal :: InputEvent -> JSVal # | |
PFromJSVal InputEvent Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> InputEvent # | |
ToJSVal InputEvent Source # | |
Defined in JSDOM.Types toJSVal :: InputEvent -> JSM JSVal # toJSValListOf :: [InputEvent] -> JSM JSVal # | |
FromJSVal InputEvent Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe InputEvent) # fromJSValUnchecked :: JSVal -> JSM InputEvent # fromJSValListOf :: JSVal -> JSM (Maybe [InputEvent]) # fromJSValUncheckedListOf :: JSVal -> JSM [InputEvent] # | |
MakeObject InputEvent Source # | |
Defined in JSDOM.Types makeObject :: InputEvent -> JSM Object # | |
IsUIEvent InputEvent Source # | |
Defined in JSDOM.Types | |
IsEvent InputEvent Source # | |
Defined in JSDOM.Types | |
IsGObject InputEvent Source # | |
Defined in JSDOM.Types typeGType :: InputEvent -> JSM GType |