← all modules

Std.Nav

Std.Nav
  Std.Nav — move the browser's address bar from `update`, without a page

Values
  clearFragment : Cmd msg
      Remove the fragment (`#…`) from the address bar, replacing the current
  pushUrl : String -> Cmd msg
      `pushUrl url` — go to `url` on this site and add a history entry.
  replaceUrl : String -> Cmd msg
      `replaceUrl url` — go to `url` on this site, replacing the current
  scrollIntoView : String -> Cmd msg
      After this update renders, align an element's top within its nearest
  scrollIntoViewIfNeeded : String -> Cmd msg
      Like scrollIntoView, but leave scroll unchanged when the target's top is
  scrollToTop : Cmd msg
      Scroll the document to its top after this update renders. No URL/history