Safe Haskell | None |
---|---|
Language | Haskell2010 |
- clearData :: (MonadDOM m, ToJSString type') => DataTransfer -> type' -> m ()
- getData :: (MonadDOM m, ToJSString type', FromJSString result) => DataTransfer -> type' -> m result
- getData_ :: (MonadDOM m, ToJSString type') => DataTransfer -> type' -> m ()
- setData :: (MonadDOM m, ToJSString type', ToJSString data') => DataTransfer -> type' -> data' -> m ()
- setDragImage :: (MonadDOM m, IsElement image) => DataTransfer -> Maybe image -> Int -> Int -> 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
- getTypes :: MonadDOM m => DataTransfer -> m (Maybe Array)
- getTypesUnsafe :: (MonadDOM m, HasCallStack) => DataTransfer -> m Array
- getTypesUnchecked :: MonadDOM m => DataTransfer -> m Array
- getFiles :: MonadDOM m => DataTransfer -> m (Maybe FileList)
- getFilesUnsafe :: (MonadDOM m, HasCallStack) => DataTransfer -> m FileList
- getFilesUnchecked :: MonadDOM m => DataTransfer -> m FileList
- getItems :: MonadDOM m => DataTransfer -> m (Maybe DataTransferItemList)
- getItemsUnsafe :: (MonadDOM m, HasCallStack) => DataTransfer -> m DataTransferItemList
- getItemsUnchecked :: MonadDOM m => DataTransfer -> m DataTransferItemList
- newtype DataTransfer = DataTransfer {}
- gTypeDataTransfer :: JSM GType
Documentation
clearData :: (MonadDOM m, ToJSString type') => DataTransfer -> type' -> m () Source #
getData :: (MonadDOM m, ToJSString type', FromJSString result) => DataTransfer -> type' -> m result Source #
getData_ :: (MonadDOM m, ToJSString type') => DataTransfer -> type' -> m () Source #
setData :: (MonadDOM m, ToJSString type', ToJSString data') => DataTransfer -> type' -> data' -> m () Source #
setDragImage :: (MonadDOM m, IsElement image) => DataTransfer -> Maybe image -> Int -> Int -> 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 #
getTypesUnsafe :: (MonadDOM m, HasCallStack) => DataTransfer -> m Array Source #
getTypesUnchecked :: MonadDOM m => DataTransfer -> m Array Source #
getFilesUnsafe :: (MonadDOM m, HasCallStack) => DataTransfer -> m FileList Source #
getFilesUnchecked :: MonadDOM m => DataTransfer -> m FileList Source #
getItems :: MonadDOM m => DataTransfer -> m (Maybe DataTransferItemList) Source #
getItemsUnsafe :: (MonadDOM m, HasCallStack) => DataTransfer -> m DataTransferItemList Source #
getItemsUnchecked :: MonadDOM m => DataTransfer -> m DataTransferItemList Source #
newtype DataTransfer Source #
Functions for this inteface are in JSDOM.DataTransfer.