Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newStorageEvent :: (MonadDOM m, ToJSString type') => type' -> Maybe StorageEventInit -> m StorageEvent
- initStorageEvent :: (MonadDOM m, ToJSString typeArg, ToJSString keyArg, ToJSString oldValueArg, ToJSString newValueArg, ToJSString urlArg) => StorageEvent -> Maybe typeArg -> Bool -> Bool -> Maybe keyArg -> Maybe oldValueArg -> Maybe newValueArg -> Maybe urlArg -> Maybe Storage -> m ()
- getKey :: (MonadDOM m, FromJSString result) => StorageEvent -> m (Maybe result)
- getKeyUnsafe :: (MonadDOM m, HasCallStack, FromJSString result) => StorageEvent -> m result
- getKeyUnchecked :: (MonadDOM m, FromJSString result) => StorageEvent -> m result
- getOldValue :: (MonadDOM m, FromJSString result) => StorageEvent -> m (Maybe result)
- getOldValueUnsafe :: (MonadDOM m, HasCallStack, FromJSString result) => StorageEvent -> m result
- getOldValueUnchecked :: (MonadDOM m, FromJSString result) => StorageEvent -> m result
- getNewValue :: (MonadDOM m, FromJSString result) => StorageEvent -> m (Maybe result)
- getNewValueUnsafe :: (MonadDOM m, HasCallStack, FromJSString result) => StorageEvent -> m result
- getNewValueUnchecked :: (MonadDOM m, FromJSString result) => StorageEvent -> m result
- getUrl :: (MonadDOM m, FromJSString result) => StorageEvent -> m result
- getStorageArea :: MonadDOM m => StorageEvent -> m (Maybe Storage)
- getStorageAreaUnsafe :: (MonadDOM m, HasCallStack) => StorageEvent -> m Storage
- getStorageAreaUnchecked :: MonadDOM m => StorageEvent -> m Storage
- newtype StorageEvent = StorageEvent {}
- gTypeStorageEvent :: JSM GType
Documentation
newStorageEvent :: (MonadDOM m, ToJSString type') => type' -> Maybe StorageEventInit -> m StorageEvent Source #
initStorageEvent :: (MonadDOM m, ToJSString typeArg, ToJSString keyArg, ToJSString oldValueArg, ToJSString newValueArg, ToJSString urlArg) => StorageEvent -> Maybe typeArg -> Bool -> Bool -> Maybe keyArg -> Maybe oldValueArg -> Maybe newValueArg -> Maybe urlArg -> Maybe Storage -> m () Source #
getKey :: (MonadDOM m, FromJSString result) => StorageEvent -> m (Maybe result) Source #
getKeyUnsafe :: (MonadDOM m, HasCallStack, FromJSString result) => StorageEvent -> m result Source #
getKeyUnchecked :: (MonadDOM m, FromJSString result) => StorageEvent -> m result Source #
getOldValue :: (MonadDOM m, FromJSString result) => StorageEvent -> m (Maybe result) Source #
getOldValueUnsafe :: (MonadDOM m, HasCallStack, FromJSString result) => StorageEvent -> m result Source #
getOldValueUnchecked :: (MonadDOM m, FromJSString result) => StorageEvent -> m result Source #
getNewValue :: (MonadDOM m, FromJSString result) => StorageEvent -> m (Maybe result) Source #
getNewValueUnsafe :: (MonadDOM m, HasCallStack, FromJSString result) => StorageEvent -> m result Source #
getNewValueUnchecked :: (MonadDOM m, FromJSString result) => StorageEvent -> m result Source #
getUrl :: (MonadDOM m, FromJSString result) => StorageEvent -> m result Source #
getStorageArea :: MonadDOM m => StorageEvent -> m (Maybe Storage) Source #
getStorageAreaUnsafe :: (MonadDOM m, HasCallStack) => StorageEvent -> m Storage Source #
getStorageAreaUnchecked :: MonadDOM m => StorageEvent -> m Storage Source #
newtype StorageEvent Source #
Functions for this inteface are in JSDOM.StorageEvent. Base interface functions are in:
Instances
PToJSVal StorageEvent Source # | |
Defined in JSDOM.Types pToJSVal :: StorageEvent -> JSVal # | |
PFromJSVal StorageEvent Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> StorageEvent # | |
ToJSVal StorageEvent Source # | |
Defined in JSDOM.Types toJSVal :: StorageEvent -> JSM JSVal # toJSValListOf :: [StorageEvent] -> JSM JSVal # | |
FromJSVal StorageEvent Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe StorageEvent) # fromJSValUnchecked :: JSVal -> JSM StorageEvent # fromJSValListOf :: JSVal -> JSM (Maybe [StorageEvent]) # fromJSValUncheckedListOf :: JSVal -> JSM [StorageEvent] # | |
MakeObject StorageEvent Source # | |
Defined in JSDOM.Types makeObject :: StorageEvent -> JSM Object # | |
IsEvent StorageEvent Source # | |
Defined in JSDOM.Types | |
IsGObject StorageEvent Source # | |
Defined in JSDOM.Types typeGType :: StorageEvent -> JSM GType |