Navigation.options

An object containing parameters that can be changed to alter the behavior of a Vegvisir Navigation.

Properties

bool

pushHistory

Flag which when set to:

  1. true

    Will cause navigations performed on an instance of Navigation to push to the History stack and update the browser pathname.

  2. false

    Will cause a "silent" navigation on an instance of Navigation that won't update the broweser History stack and won't change the browser pathname.

The default setting for this property is:

bool

carryRequestOptions

Flag which when set to:

  1. true

    Will cause navigations performed on an instance of Navigation to carry the request method and response body that the initiator page received on load.

  2. false

    Navigations performed on an instance of Navigation will be sent as GET requests (without a request body).


Examples

No examples available.