Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- back :: MonadDOM m => History -> m ()
- forward :: MonadDOM m => History -> m ()
- go :: MonadDOM m => History -> Maybe Int -> m ()
- pushState :: (MonadDOM m, ToJSVal data', ToJSString title, ToJSString url) => History -> data' -> title -> Maybe url -> m ()
- replaceState :: (MonadDOM m, ToJSVal data', ToJSString title, ToJSString url) => History -> data' -> title -> Maybe url -> m ()
- getLength :: MonadDOM m => History -> m Word
- setScrollRestoration :: MonadDOM m => History -> ScrollRestoration -> m ()
- getScrollRestoration :: MonadDOM m => History -> m ScrollRestoration
- getState :: MonadDOM m => History -> m SerializedScriptValue
- newtype History = History {}
- gTypeHistory :: JSM GType
Documentation
pushState :: (MonadDOM m, ToJSVal data', ToJSString title, ToJSString url) => History -> data' -> title -> Maybe url -> m () Source #
replaceState :: (MonadDOM m, ToJSVal data', ToJSString title, ToJSString url) => History -> data' -> title -> Maybe url -> m () Source #
setScrollRestoration :: MonadDOM m => History -> ScrollRestoration -> m () Source #
getScrollRestoration :: MonadDOM m => History -> m ScrollRestoration Source #
Functions for this inteface are in JSDOM.History.
Instances
PToJSVal History Source # | |
Defined in JSDOM.Types | |
PFromJSVal History Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> History # | |
ToJSVal History Source # | |
FromJSVal History Source # | |
MakeObject History Source # | |
Defined in JSDOM.Types makeObject :: History -> JSM Object # | |
IsGObject History Source # | |
Defined in JSDOM.Types |
gTypeHistory :: JSM GType Source #