Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- getAsString :: (MonadDOM m, ToJSString callback) => DataTransferItem -> Maybe (StringCallback callback) -> m ()
- getAsFile :: MonadDOM m => DataTransferItem -> m (Maybe Blob)
- getAsFile_ :: MonadDOM m => DataTransferItem -> m ()
- getAsFileUnsafe :: (MonadDOM m, HasCallStack) => DataTransferItem -> m Blob
- getAsFileUnchecked :: MonadDOM m => DataTransferItem -> m Blob
- getKind :: (MonadDOM m, FromJSString result) => DataTransferItem -> m result
- getType :: (MonadDOM m, FromJSString result) => DataTransferItem -> m result
- newtype DataTransferItem = DataTransferItem {}
- gTypeDataTransferItem :: JSM GType
Documentation
getAsString :: (MonadDOM m, ToJSString callback) => DataTransferItem -> Maybe (StringCallback callback) -> m () Source #
getAsFile_ :: MonadDOM m => DataTransferItem -> m () Source #
getAsFileUnsafe :: (MonadDOM m, HasCallStack) => DataTransferItem -> m Blob Source #
getAsFileUnchecked :: MonadDOM m => DataTransferItem -> m Blob Source #
getKind :: (MonadDOM m, FromJSString result) => DataTransferItem -> m result Source #
getType :: (MonadDOM m, FromJSString result) => DataTransferItem -> m result Source #
newtype DataTransferItem Source #
Functions for this inteface are in JSDOM.DataTransferItem.
Instances
PToJSVal DataTransferItem Source # | |
Defined in JSDOM.Types pToJSVal :: DataTransferItem -> JSVal # | |
PFromJSVal DataTransferItem Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> DataTransferItem # | |
ToJSVal DataTransferItem Source # | |
Defined in JSDOM.Types toJSVal :: DataTransferItem -> JSM JSVal # toJSValListOf :: [DataTransferItem] -> JSM JSVal # | |
FromJSVal DataTransferItem Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe DataTransferItem) # fromJSValUnchecked :: JSVal -> JSM DataTransferItem # fromJSValListOf :: JSVal -> JSM (Maybe [DataTransferItem]) # fromJSValUncheckedListOf :: JSVal -> JSM [DataTransferItem] # | |
MakeObject DataTransferItem Source # | |
Defined in JSDOM.Types makeObject :: DataTransferItem -> JSM Object # | |
IsGObject DataTransferItem Source # | |
Defined in JSDOM.Types typeGType :: DataTransferItem -> JSM GType |