Safe Haskell | None |
---|---|
Language | Haskell2010 |
- 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.
gTypeHistory :: JSM GType Source #