Safe Haskell | None |
---|---|
Language | Haskell2010 |
- 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.