Change the path of the current URL. Does not perform the actual navigation (i.e. the page contents will not be
changed). This will, however, update the state of the top menu - that is, if you navigate to the 'new sheet' page,
then the 'New Sheet' button will be active.
This method is useful for when the entire page state can be determined from the path alone, and you don't need to
override any behavior.
Parameters
...hashParts: string[]
The path parts, e.g. for 'foo|bar', use ['foo', 'bar'] as the argument.
Change the path of the current URL. Does not perform the actual navigation (i.e. the page contents will not be changed). This will, however, update the state of the top menu - that is, if you navigate to the 'new sheet' page, then the 'New Sheet' button will be active.
This method is useful for when the entire page state can be determined from the path alone, and you don't need to override any behavior.