Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- setDragImage :: (MonadDOM m, IsElement image) => DataTransfer -> Maybe image -> Int -> Int -> m ()
- getData :: (MonadDOM m, ToJSString format, FromJSString result) => DataTransfer -> format -> m result
- getData_ :: (MonadDOM m, ToJSString format) => DataTransfer -> format -> m ()
- setData :: (MonadDOM m, ToJSString format, ToJSString data') => DataTransfer -> format -> data' -> m ()
- clearData :: (MonadDOM m, ToJSString format) => DataTransfer -> Maybe format -> m ()
- setDropEffect :: (MonadDOM m, ToJSString val) => DataTransfer -> val -> m ()
- getDropEffect :: (MonadDOM m, FromJSString result) => DataTransfer -> m result
- setEffectAllowed :: (MonadDOM m, ToJSString val) => DataTransfer -> val -> m ()
- getEffectAllowed :: (MonadDOM m, FromJSString result) => DataTransfer -> m result
- getItems :: MonadDOM m => DataTransfer -> m DataTransferItemList
- getTypes :: (MonadDOM m, FromJSString result) => DataTransfer -> m [result]
- getFiles :: MonadDOM m => DataTransfer -> m FileList
- newtype DataTransfer = DataTransfer {}
- gTypeDataTransfer :: JSM GType
Documentation
setDragImage :: (MonadDOM m, IsElement image) => DataTransfer -> Maybe image -> Int -> Int -> m () Source #
getData :: (MonadDOM m, ToJSString format, FromJSString result) => DataTransfer -> format -> m result Source #
getData_ :: (MonadDOM m, ToJSString format) => DataTransfer -> format -> m () Source #
setData :: (MonadDOM m, ToJSString format, ToJSString data') => DataTransfer -> format -> data' -> m () Source #
clearData :: (MonadDOM m, ToJSString format) => DataTransfer -> Maybe format -> m () Source #
setDropEffect :: (MonadDOM m, ToJSString val) => DataTransfer -> val -> m () Source #
getDropEffect :: (MonadDOM m, FromJSString result) => DataTransfer -> m result Source #
setEffectAllowed :: (MonadDOM m, ToJSString val) => DataTransfer -> val -> m () Source #
getEffectAllowed :: (MonadDOM m, FromJSString result) => DataTransfer -> m result Source #
getItems :: MonadDOM m => DataTransfer -> m DataTransferItemList Source #
getTypes :: (MonadDOM m, FromJSString result) => DataTransfer -> m [result] Source #
newtype DataTransfer Source #
Functions for this inteface are in JSDOM.DataTransfer.
Instances
PToJSVal DataTransfer Source # | |
Defined in JSDOM.Types pToJSVal :: DataTransfer -> JSVal # | |
PFromJSVal DataTransfer Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> DataTransfer # | |
ToJSVal DataTransfer Source # | |
Defined in JSDOM.Types toJSVal :: DataTransfer -> JSM JSVal # toJSValListOf :: [DataTransfer] -> JSM JSVal # | |
FromJSVal DataTransfer Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe DataTransfer) # fromJSValUnchecked :: JSVal -> JSM DataTransfer # fromJSValListOf :: JSVal -> JSM (Maybe [DataTransfer]) # fromJSValUncheckedListOf :: JSVal -> JSM [DataTransfer] # | |
MakeObject DataTransfer Source # | |
Defined in JSDOM.Types makeObject :: DataTransfer -> JSM Object # | |
IsGObject DataTransfer Source # | |
Defined in JSDOM.Types typeGType :: DataTransfer -> JSM GType |