File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -896,9 +896,11 @@ function $StateProvider( $urlRouterProvider, $urlMatcherFactory) {
896
896
* - **`relative`** - {object=$state.$current}, When transitioning with relative path (e.g '^'),
897
897
* defines which state to be relative from.
898
898
* - **`notify`** - {boolean=true}, If `true` will broadcast $stateChangeStart and $stateChangeSuccess events.
899
- * - **`reload`** (v0.2.5) - {boolean=false}, If `true` will force transition even if the state or params
899
+ * - **`reload`** (v0.2.5) - {boolean=false|string= }, If `true` will force transition even if the state or params
900
900
* have not changed, aka a reload of the same state. It differs from reloadOnSearch because you'd
901
901
* use this when you want to force a reload when *everything* is the same, including search params.
902
+ * If string, string must be the name of the current state or one of its parent states, that way it is
903
+ * possible to target exactly which state's the resources need to be reloaded.
902
904
*
903
905
* @returns {promise } A promise representing the state of the new transition.
904
906
*
You can’t perform that action at this time.
0 commit comments