You can define your own Transition Options inside this property and use them, e.g., from a Transition Hook
This option sets whether or not the transition's parameter values should be inherited from the current state parameters.
true
, it will inherit parameters from current state.false
, only the parameters which are provided to transitionTo
will be used.This option changes how the Transition interacts with the browser's location bar (URL).
true
, it will update the url in the location bar.false
, it will not update the url in the location bar.replace
", it will update the url and also replace the last history record.When transitioning to relative path (e.g '^
'), this option defines which state to be relative from.
This option may be used to force states which are currently active to reload.
During a normal transition, a state is "retained" if:
Forcing a reload of a state will cause it to be exited and entered, which will:
Re-render the views (controllers and templates)
When true
, the destination state (and all parent states) will be reloaded.
Generated using TypeDoc
The TransitionOptions object can be used to change the behavior of a transition.
It is passed as the third argument to [[$state.go]], [[$state.transitionTo]], and can be used with the [[ui-sref-opts]] directive.