Updating angilar-ui-router.d.ts.

Adding missed cache?:boolean to IState interaface
This commit is contained in:
Kopleman
2015-10-14 09:45:23 +03:00
parent b27d0d0e1c
commit d5e0dcb4c7
+6
View File
@@ -71,10 +71,16 @@ declare module angular.ui {
* Arbitrary data object, useful for custom configuration.
*/
data?: any;
/**
* Boolean (default true). If false will not re-trigger the same state just because a search/query parameter has changed. Useful for when you'd like to modify $location.search() without triggering a reload.
*/
reloadOnSearch?: boolean;
/**
* Boolean (default true). If false will reload state on everytransitions. Useful for when you'd like to restore all data to its initial state.
*/
cache?: boolean;
}
interface IStateProvider extends angular.IServiceProvider {