Registers a named bookmark for the router. bookmark is a key/value pair, formatted as an object containing the following:

  • name(string) : Name of the bookmark
  • path(array) : Path to be navigated to. This uses the same notation as navigate().

This example registers a bookmark, "optionsPage", with the path "options":

router.bookmark({
    name: "optionsPage",
    path: [ "options", { } ]
});

Location

Namespace
Fuse.Navigation
Package
Fuse.Navigation 2.9.1