Module

Pux.DOM.History

Package
purescript-pux
Repository
alexmingoia/purescript-pux

#sampleURL Source

sampleURL :: forall eff. Window -> Eff (channel :: CHANNEL, dom :: DOM, history :: HISTORY | eff) (Signal String)

Returns a signal containing the current window.location pathname and search query, which is updated on every "popstate" event.