@angular-wave/angular.ts 0.7.1 → 0.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/ci.yml +1 -1
- package/.prettierignore +1 -0
- package/@types/core/cache/cache.d.ts +0 -5
- package/@types/core/di/internal-injector.d.ts +2 -5
- package/@types/core/di/ng-module.d.ts +0 -7
- package/@types/core/exception-handler.d.ts +2 -2
- package/@types/core/pubsub/pubsub.d.ts +3 -3
- package/@types/directive/channel/channel.d.ts +9 -3
- package/@types/directive/http/http.d.ts +39 -0
- package/@types/directive/if/if.d.ts +0 -2
- package/@types/interface.d.ts +16 -4
- package/@types/loader.d.ts +3 -3
- package/@types/public.d.ts +1 -2
- package/@types/shared/common.d.ts +7 -8
- package/Makefile +8 -0
- package/dist/angular-ts.esm.js +291 -68
- package/dist/angular-ts.umd.js +296 -72
- package/dist/angular-ts.umd.min.js +1 -1
- package/docs/README.md +69 -39
- package/docs/assets/scss/_variables_project.scss +6 -0
- package/docs/assets/scss/_variables_project_after_bs.scss +8 -0
- package/docs/assets/scss/index.scss +14 -0
- package/docs/content/{en/_index.md → _index.md} +6 -1
- package/docs/content/{en/docs → docs}/_index.md +9 -10
- package/docs/docker-compose.yaml +2 -3
- package/docs/hugo.yaml +17 -18
- package/docs/layouts/404.html +8 -2
- package/docs/static/typedoc/assets/hierarchy.js +1 -0
- package/docs/static/typedoc/assets/highlight.css +78 -0
- package/docs/static/typedoc/assets/icons.js +18 -0
- package/docs/static/typedoc/assets/main.js +60 -0
- package/docs/static/typedoc/assets/navigation.js +1 -0
- package/docs/static/typedoc/assets/search.js +1 -0
- package/docs/static/typedoc/assets/style.css +1640 -0
- package/docs/static/typedoc/hierarchy.html +1 -0
- package/docs/static/typedoc/index.html +1 -0
- package/docs/static/typedoc/interfaces/ChangesObject.html +6 -0
- package/docs/static/typedoc/interfaces/ComponentOptions.html +16 -0
- package/docs/static/typedoc/interfaces/Controller.html +12 -0
- package/docs/static/typedoc/interfaces/Directive.html +36 -0
- package/docs/static/typedoc/interfaces/DirectivePrePost.html +4 -0
- package/docs/static/typedoc/interfaces/NgModelController.html +30 -0
- package/docs/static/typedoc/interfaces/NgModelOptions.html +16 -0
- package/docs/static/typedoc/interfaces/Provider.html +28 -0
- package/docs/static/typedoc/interfaces/ServiceProvider.html +5 -0
- package/docs/static/typedoc/interfaces/TranscludeFunctionObject.html +8 -0
- package/docs/static/typedoc/types/AnnotatedFactory.html +8 -0
- package/docs/static/typedoc/types/CloneAttachFunction.html +2 -0
- package/docs/static/typedoc/types/ControllerConstructor.html +2 -0
- package/docs/static/typedoc/types/DirectiveCompileFn.html +2 -0
- package/docs/static/typedoc/types/DirectiveController.html +2 -0
- package/docs/static/typedoc/types/DirectiveFactory.html +2 -0
- package/docs/static/typedoc/types/DirectiveLinkFn.html +2 -0
- package/docs/static/typedoc/types/Expression.html +6 -0
- package/docs/static/typedoc/types/FilterFactory.html +2 -0
- package/docs/static/typedoc/types/FilterFn.html +2 -0
- package/docs/static/typedoc/types/Injectable.html +1 -0
- package/docs/static/typedoc/types/InjectableFactory.html +4 -0
- package/docs/static/typedoc/types/OnChangesObject.html +2 -0
- package/docs/static/typedoc/types/SwapInsertPosition.html +2 -0
- package/docs/static/typedoc/types/TController.html +2 -0
- package/legacy.d.ts +2695 -0
- package/package.json +2 -2
- package/playwright.config.ts +2 -0
- package/src/animations/animate.spec.js +1 -1
- package/src/binding.spec.js +1 -1
- package/src/core/cache/cache.js +0 -3
- package/src/core/compile/compile.js +3 -1
- package/src/core/compile/compile.spec.js +9 -95
- package/src/core/di/injector.js +1 -1
- package/src/core/di/injector.spec.js +0 -30
- package/src/core/di/internal-injector.js +2 -5
- package/src/core/di/ng-module.js +1 -23
- package/src/core/di/ng-module.spec.js +0 -6
- package/src/core/exception-handler.js +1 -1
- package/src/core/pubsub/pubsub.js +6 -6
- package/src/directive/channel/channel.js +8 -6
- package/src/directive/http/delete.spec.js +24 -0
- package/src/directive/http/get.spec.js +211 -0
- package/src/directive/http/http.html +22 -0
- package/src/directive/http/http.js +245 -0
- package/src/directive/http/http.test.js +12 -0
- package/src/directive/http/post-example.html +30 -0
- package/src/directive/http/post.spec.js +24 -0
- package/src/directive/http/put.spec.js +24 -0
- package/src/directive/if/if.js +0 -2
- package/src/directive/include/include.spec.js +0 -1
- package/src/directive/model-options/model-options.spec.js +1 -5
- package/src/directive/repeat/repeat.spec.js +1 -1
- package/src/directive/setter/setter.spec.js +1 -1
- package/src/directive/style/style.js +1 -1
- package/src/interface.ts +17 -4
- package/src/loader.js +6 -7
- package/src/loader.spec.js +0 -31
- package/src/public.js +12 -6
- package/src/services/http-backend/http-backend.js +3 -1
- package/src/shared/common.js +11 -36
- package/src/shared/common.spec.js +34 -3
- package/src/shared/dom.js +3 -14
- package/typedoc.json +3 -2
- package/utils/express.js +13 -0
- package/docs/netlify.toml +0 -12
- package/typedoc/assets/hierarchy.js +0 -2
- package/typedoc/assets/highlight.css +0 -209
- package/typedoc/assets/icons.js +0 -21
- package/typedoc/assets/main.js +0 -2589
- package/typedoc/assets/navigation.js +0 -2
- package/typedoc/assets/search.js +0 -2
- package/typedoc/assets/style.css +0 -1623
- package/typedoc/classes/animations_animate-cache.AnimateCacheProvider.html +0 -543
- package/typedoc/classes/animations_animate-css-driver.AnimateCssDriverProvider.html +0 -691
- package/typedoc/classes/animations_animate-css.AnimateCssProvider.html +0 -712
- package/typedoc/classes/animations_animate-js-driver.AnimateJsDriverProvider.html +0 -536
- package/typedoc/classes/animations_animate-js.AnimateJsProvider.html +0 -795
- package/typedoc/classes/animations_animate-queue.AnimateQueueProvider.html +0 -1137
- package/typedoc/classes/animations_animate-runner.AnimateAsyncRunFactoryProvider.html +0 -473
- package/typedoc/classes/animations_animate-runner.AnimateRunner.html +0 -1589
- package/typedoc/classes/animations_animate-runner.AnimateRunnerFactoryProvider.html +0 -474
- package/typedoc/classes/animations_animate.AnimateProvider.html +0 -1278
- package/typedoc/classes/animations_animation.AnimationProvider.html +0 -749
- package/typedoc/classes/animations_raf-scheduler.RafSchedulerProvider.html +0 -699
- package/typedoc/classes/core_cache_cache-factory.TemplateCacheProvider.html +0 -525
- package/typedoc/classes/core_compile_attributes.Attributes.html +0 -1776
- package/typedoc/classes/core_compile_compile.CompileProvider.html +0 -2137
- package/typedoc/classes/core_controller_controller.ControllerProvider.html +0 -894
- package/typedoc/classes/core_di_internal-injector.InjectorService.html +0 -1336
- package/typedoc/classes/core_di_internal-injector.ProviderInjector.html +0 -1242
- package/typedoc/classes/core_di_ng-module.NgModule.html +0 -1880
- package/typedoc/classes/core_exception-handler.ExceptionHandlerProvider.html +0 -631
- package/typedoc/classes/core_filter_filter.FilterProvider.html +0 -786
- package/typedoc/classes/core_interpolate_interpolate.InterpolateProvider.html +0 -1318
- package/typedoc/classes/core_location_location.Location.html +0 -2128
- package/typedoc/classes/core_location_location.LocationHashbangUrl.html +0 -2502
- package/typedoc/classes/core_location_location.LocationHtml5Url.html +0 -2490
- package/typedoc/classes/core_location_location.LocationProvider.html +0 -1023
- package/typedoc/classes/core_parse_ast_ast.AST.html +0 -2520
- package/typedoc/classes/core_parse_interpreter.ASTInterpreter.html +0 -3314
- package/typedoc/classes/core_parse_lexer_lexer.Lexer.html +0 -1788
- package/typedoc/classes/core_parse_parse.ParseProvider.html +0 -753
- package/typedoc/classes/core_parse_parser_parser.Parser.html +0 -741
- package/typedoc/classes/core_pubsub_pubsub.PubSub.html +0 -1346
- package/typedoc/classes/core_pubsub_pubsub.PubSubProvider.html +0 -576
- package/typedoc/classes/core_sanitize_sanitize-uri.SanitizeUriProvider.html +0 -696
- package/typedoc/classes/core_sce_sce.SceDelegateProvider.html +0 -1219
- package/typedoc/classes/core_sce_sce.SceProvider.html +0 -589
- package/typedoc/classes/core_scope_scope.RootScopeProvider.html +0 -520
- package/typedoc/classes/core_scope_scope.Scope.html +0 -2753
- package/typedoc/classes/core_task-tracker-factory.TaskTracker.html +0 -882
- package/typedoc/classes/core_task-tracker-factory.TaskTrackerFactoryProvider.html +0 -478
- package/typedoc/classes/directive_aria_aria.AriaProvider.html +0 -605
- package/typedoc/classes/directive_form_form.FormController.html +0 -2320
- package/typedoc/classes/directive_model_model.NgModelController.html +0 -4214
- package/typedoc/classes/loader.Angular.html +0 -1634
- package/typedoc/classes/router_common_glob.Glob.html +0 -904
- package/typedoc/classes/router_common_queue.Queue.html +0 -1284
- package/typedoc/classes/router_common_trace.Trace.html +0 -2020
- package/typedoc/classes/router_globals.RouterGlobals.html +0 -824
- package/typedoc/classes/router_params_param-factory.ParamFactory.html +0 -797
- package/typedoc/classes/router_params_param-type.ParamType.html +0 -1168
- package/typedoc/classes/router_params_param-types.ParamTypes.html +0 -770
- package/typedoc/classes/router_params_param.Param.html +0 -1614
- package/typedoc/classes/router_params_state-params.StateParams.html +0 -558
- package/typedoc/classes/router_path_path-node.PathNode.html +0 -1046
- package/typedoc/classes/router_path_path-utils.PathUtils.html +0 -1432
- package/typedoc/classes/router_resolve_resolvable.Resolvable.html +0 -1225
- package/typedoc/classes/router_resolve_resolve-context.ResolveContext.html +0 -1315
- package/typedoc/classes/router_state-provider.StateProvider.html +0 -957
- package/typedoc/classes/router_state_state-builder.StateBuilder.html +0 -1045
- package/typedoc/classes/router_state_state-matcher.StateMatcher.html +0 -742
- package/typedoc/classes/router_state_state-object.StateObject.html +0 -1515
- package/typedoc/classes/router_state_state-queue-manager.StateQueueManager.html +0 -941
- package/typedoc/classes/router_state_state-registry.StateRegistryProvider.html +0 -1712
- package/typedoc/classes/router_state_state-service.StateProvider.html +0 -3038
- package/typedoc/classes/router_state_target-state.TargetState.html +0 -1655
- package/typedoc/classes/router_state_views.ViewConfig.html +0 -1123
- package/typedoc/classes/router_template-factory.TemplateFactoryProvider.html +0 -1689
- package/typedoc/classes/router_transition_hook-builder.HookBuilder.html +0 -823
- package/typedoc/classes/router_transition_hook-registry.RegisteredHook.html +0 -1302
- package/typedoc/classes/router_transition_reject-factory.Rejection.html +0 -1299
- package/typedoc/classes/router_transition_transition-event-type.TransitionEventType.html +0 -995
- package/typedoc/classes/router_transition_transition-hook.TransitionHook.html +0 -1739
- package/typedoc/classes/router_transition_transition-service.TransitionProvider.html +0 -1763
- package/typedoc/classes/router_transition_transition.Transition.html +0 -3942
- package/typedoc/classes/router_url_url-config.UrlConfigProvider.html +0 -1198
- package/typedoc/classes/router_url_url-matcher.UrlMatcher.html +0 -2056
- package/typedoc/classes/router_url_url-rule.BaseUrlRule.html +0 -736
- package/typedoc/classes/router_url_url-rule.UrlRuleFactory.html +0 -1461
- package/typedoc/classes/router_url_url-rules.UrlRules.html +0 -1808
- package/typedoc/classes/router_url_url-service.UrlService.html +0 -2792
- package/typedoc/classes/router_view-scroll.ViewScrollProvider.html +0 -687
- package/typedoc/classes/router_view_view.ViewService.html +0 -1691
- package/typedoc/classes/services_anchor-scroll.AnchorScrollProvider.html +0 -618
- package/typedoc/classes/services_browser.Browser.html +0 -1331
- package/typedoc/classes/services_browser.BrowserProvider.html +0 -564
- package/typedoc/classes/services_http-backend_http-backend.HttpBackendProvider.html +0 -782
- package/typedoc/classes/services_http_http.HttpParamSerializerProvider.html +0 -535
- package/typedoc/classes/services_http_http.HttpProvider.html +0 -1537
- package/typedoc/classes/services_log.LogProvider.html +0 -776
- package/typedoc/classes/services_template-request.TemplateRequestProvider.html +0 -914
- package/typedoc/classes/shared_noderef.NodeRef.html +0 -1529
- package/typedoc/enums/core_parse_ast-type.ASTType.html +0 -903
- package/typedoc/enums/router_common_trace.Category.html +0 -492
- package/typedoc/enums/router_transition_interface.TransitionHookPhase.html +0 -489
- package/typedoc/enums/router_transition_interface.TransitionHookScope.html +0 -390
- package/typedoc/enums/router_transition_reject-factory.RejectType.html +0 -546
- package/typedoc/functions/animations_animate-cache.animateCache.html +0 -818
- package/typedoc/functions/animations_animate-children-directive.__AnimateChildrenDirective.html +0 -412
- package/typedoc/functions/animations_animate-swap.ngAnimateSwapDirective.html +0 -409
- package/typedoc/functions/animations_shared.applyAnimationClassesFactory.html +0 -294
- package/typedoc/functions/animations_shared.applyAnimationFromStyles.html +0 -297
- package/typedoc/functions/animations_shared.applyAnimationStyles.html +0 -296
- package/typedoc/functions/animations_shared.applyAnimationToStyles.html +0 -297
- package/typedoc/functions/animations_shared.applyGeneratedPreparationClasses.html +0 -311
- package/typedoc/functions/animations_shared.applyInlineStyle.html +0 -293
- package/typedoc/functions/animations_shared.assertArg.html +0 -303
- package/typedoc/functions/animations_shared.blockKeyframeAnimations.html +0 -299
- package/typedoc/functions/animations_shared.clearGeneratedClasses.html +0 -297
- package/typedoc/functions/animations_shared.concatWithSpace.html +0 -293
- package/typedoc/functions/animations_shared.extractElementNode.html +0 -292
- package/typedoc/functions/animations_shared.mergeAnimationDetails.html +0 -307
- package/typedoc/functions/animations_shared.mergeClasses.html +0 -293
- package/typedoc/functions/animations_shared.packageStyles.html +0 -299
- package/typedoc/functions/animations_shared.pendClasses.html +0 -303
- package/typedoc/functions/animations_shared.prepareAnimationOptions.html +0 -287
- package/typedoc/functions/animations_shared.removeFromArray.html +0 -293
- package/typedoc/functions/animations_shared.resolveElementClasses.html +0 -328
- package/typedoc/functions/animations_shared.stripCommentsFromElement.html +0 -299
- package/typedoc/functions/core_controller_controller.identifierForController.html +0 -299
- package/typedoc/functions/core_di_injector.annotate.html +0 -311
- package/typedoc/functions/core_di_injector.createInjector.html +0 -323
- package/typedoc/functions/core_location_location.serverBase.html +0 -285
- package/typedoc/functions/core_location_location.stripBaseUrl.html +0 -303
- package/typedoc/functions/core_location_location.stripFile.html +0 -285
- package/typedoc/functions/core_location_location.stripHash.html +0 -285
- package/typedoc/functions/core_parse_interpreter.isAssignable.html +0 -294
- package/typedoc/functions/core_parse_parse.constantWatchDelegate.html +0 -323
- package/typedoc/functions/core_sce_sce.adjustMatcher.html +0 -281
- package/typedoc/functions/core_sce_sce.escapeForRegexp.html +0 -281
- package/typedoc/functions/core_scope_scope.createScope.html +0 -334
- package/typedoc/functions/core_scope_scope.nextId.html +0 -268
- package/typedoc/functions/core_url-utils_url-utils.getBaseUrl.html +0 -274
- package/typedoc/functions/core_url-utils_url-utils.urlIsAllowedOriginFactory.html +0 -314
- package/typedoc/functions/core_url-utils_url-utils.urlIsSameOrigin.html +0 -303
- package/typedoc/functions/core_url-utils_url-utils.urlIsSameOriginAsBaseUrl.html +0 -309
- package/typedoc/functions/core_url-utils_url-utils.urlResolve.html +0 -285
- package/typedoc/functions/core_url-utils_url-utils.urlsAreSameOrigin.html +0 -320
- package/typedoc/functions/directive_aria_aria.ngCheckedAriaDirective.html +0 -400
- package/typedoc/functions/directive_aria_aria.ngClickAriaDirective.html +0 -489
- package/typedoc/functions/directive_aria_aria.ngDblclickAriaDirective.html +0 -428
- package/typedoc/functions/directive_aria_aria.ngDisabledAriaDirective.html +0 -400
- package/typedoc/functions/directive_aria_aria.ngHideAriaDirective.html +0 -399
- package/typedoc/functions/directive_aria_aria.ngMessagesAriaDirective.html +0 -334
- package/typedoc/functions/directive_aria_aria.ngModelAriaDirective.html +0 -512
- package/typedoc/functions/directive_aria_aria.ngReadonlyAriaDirective.html +0 -400
- package/typedoc/functions/directive_aria_aria.ngRequiredAriaDirective.html +0 -400
- package/typedoc/functions/directive_aria_aria.ngShowAriaDirective.html +0 -399
- package/typedoc/functions/directive_aria_aria.ngValueAriaDirective.html +0 -399
- package/typedoc/functions/directive_bind_bind.ngBindDirective.html +0 -279
- package/typedoc/functions/directive_bind_bind.ngBindHtmlDirective.html +0 -408
- package/typedoc/functions/directive_bind_bind.ngBindTemplateDirective.html +0 -283
- package/typedoc/functions/directive_channel_channel.ngChannelDirective.html +0 -312
- package/typedoc/functions/directive_cloak_cloak.ngCloakDirective.html +0 -279
- package/typedoc/functions/directive_controller_controller.ngControllerDirective.html +0 -283
- package/typedoc/functions/directive_events_events.createEventDirective.html +0 -353
- package/typedoc/functions/directive_form_form.setupValidity.html +0 -285
- package/typedoc/functions/directive_if_if.ngIfDirective.html +0 -407
- package/typedoc/functions/directive_include_include.ngIncludeDirective.html +0 -464
- package/typedoc/functions/directive_include_include.ngIncludeFillContentDirective.html +0 -419
- package/typedoc/functions/directive_init_init.ngInitDirective.html +0 -279
- package/typedoc/functions/directive_input_input.badInputChecker.html +0 -332
- package/typedoc/functions/directive_input_input.countDecimals.html +0 -285
- package/typedoc/functions/directive_input_input.createDateInputType.html +0 -392
- package/typedoc/functions/directive_input_input.createDateParser.html +0 -319
- package/typedoc/functions/directive_input_input.hiddenInputBrowserCacheDirective.html +0 -287
- package/typedoc/functions/directive_input_input.inputDirective.html +0 -523
- package/typedoc/functions/directive_input_input.isNumberInteger.html +0 -285
- package/typedoc/functions/directive_input_input.isValidForStep.html +0 -305
- package/typedoc/functions/directive_input_input.ngValueDirective.html +0 -279
- package/typedoc/functions/directive_input_input.numberFormatterParser.html +0 -289
- package/typedoc/functions/directive_input_input.numberInputType.html +0 -354
- package/typedoc/functions/directive_input_input.rangeInputType.html +0 -315
- package/typedoc/functions/directive_input_input.weekParser.html +0 -295
- package/typedoc/functions/directive_messages_messages.ngMessagesDirective.html +0 -464
- package/typedoc/functions/directive_messages_messages.ngMessagesIncludeDirective.html +0 -476
- package/typedoc/functions/directive_model-options_model-options.ngModelOptionsDirective.html +0 -283
- package/typedoc/functions/directive_model_model.ngModelDirective.html +0 -449
- package/typedoc/functions/directive_non-bindable_non-bindable.ngNonBindableDirective.html +0 -283
- package/typedoc/functions/directive_observe_observe.ngObserveDirective.html +0 -317
- package/typedoc/functions/directive_ref_ref.ngRefDirective.html +0 -483
- package/typedoc/functions/directive_repeat_repeat.ngRepeatDirective.html +0 -409
- package/typedoc/functions/directive_script_script.scriptDirective.html +0 -413
- package/typedoc/functions/directive_select_select.optionDirective.html +0 -498
- package/typedoc/functions/directive_select_select.selectDirective.html +0 -279
- package/typedoc/functions/directive_setter_setter.ngSetterDirective.html +0 -431
- package/typedoc/functions/directive_show-hide_show-hide.ngHideDirective.html +0 -405
- package/typedoc/functions/directive_show-hide_show-hide.ngShowDirective.html +0 -405
- package/typedoc/functions/directive_style_style.ngStyleDirective.html +0 -279
- package/typedoc/functions/directive_switch_switch.ngSwitchDefaultDirective.html +0 -283
- package/typedoc/functions/directive_switch_switch.ngSwitchDirective.html +0 -405
- package/typedoc/functions/directive_switch_switch.ngSwitchWhenDirective.html +0 -283
- package/typedoc/functions/filters_filter.filterFilter.html +0 -275
- package/typedoc/functions/filters_filters.formatNumber.html +0 -435
- package/typedoc/functions/filters_filters.jsonFilter.html +0 -277
- package/typedoc/functions/filters_limit-to.limitToFilter.html +0 -277
- package/typedoc/functions/filters_order-by.orderByFilter.html +0 -403
- package/typedoc/functions/public.publishExternalAPI.html +0 -305
- package/typedoc/functions/router_common_glob.hasGlobs.html +0 -292
- package/typedoc/functions/router_directives_state-directives._StateRefActiveDirective.html +0 -468
- package/typedoc/functions/router_directives_state-directives._StateRefDirective.html +0 -493
- package/typedoc/functions/router_directives_state-directives._StateRefDynamicDirective.html +0 -439
- package/typedoc/functions/router_directives_view-directive._ViewDirectiveFill.html +0 -477
- package/typedoc/functions/router_hooks_core-resolvables.registerAddCoreResolvables.html +0 -292
- package/typedoc/functions/router_hooks_core-resolvables.treeChangesCleanup.html +0 -288
- package/typedoc/functions/router_hooks_ignored-transition.registerIgnoredTransitionHook.html +0 -292
- package/typedoc/functions/router_hooks_invalid-transition.registerInvalidTransitionHook.html +0 -292
- package/typedoc/functions/router_hooks_lazy-load.lazyLoadState.html +0 -318
- package/typedoc/functions/router_hooks_lazy-load.registerLazyLoadHook.html +0 -381
- package/typedoc/functions/router_hooks_on-enter-exit-retain.registerOnEnterHook.html +0 -289
- package/typedoc/functions/router_hooks_on-enter-exit-retain.registerOnExitHook.html +0 -289
- package/typedoc/functions/router_hooks_on-enter-exit-retain.registerOnRetainHook.html +0 -289
- package/typedoc/functions/router_hooks_redirect-to.registerRedirectToHook.html +0 -300
- package/typedoc/functions/router_hooks_resolve.registerEagerResolvePath.html +0 -290
- package/typedoc/functions/router_hooks_resolve.registerLazyResolveState.html +0 -290
- package/typedoc/functions/router_hooks_resolve.registerResolveRemaining.html +0 -290
- package/typedoc/functions/router_hooks_update-globals.registerUpdateGlobalState.html +0 -292
- package/typedoc/functions/router_hooks_url.registerUpdateUrl.html +0 -309
- package/typedoc/functions/router_hooks_views.registerActivateViews.html +0 -300
- package/typedoc/functions/router_hooks_views.registerLoadEnteringViews.html +0 -292
- package/typedoc/functions/router_path_path-utils.makeTargetState.html +0 -324
- package/typedoc/functions/router_state-filters._IncludedByStateFilter.html +0 -437
- package/typedoc/functions/router_state-filters._IsStateFilter.html +0 -433
- package/typedoc/functions/router_state_state-builder.resolvablesBuilder.html +0 -347
- package/typedoc/functions/router_state_state-registry.getLocals.html +0 -285
- package/typedoc/functions/router_state_views.getViewConfigFactory.html +0 -300
- package/typedoc/functions/router_state_views.ng1ViewsBuilder.html +0 -304
- package/typedoc/functions/router_transition_hook-registry.makeEvent.html +0 -343
- package/typedoc/functions/router_transition_hook-registry.matchState.html +0 -334
- package/typedoc/functions/services_browser.trimEmptyHash.html +0 -291
- package/typedoc/functions/services_cookie-reader.getCookies.html +0 -272
- package/typedoc/functions/services_http-backend_http-backend.createHttpBackend.html +0 -406
- package/typedoc/functions/services_http_http.defaultHttpResponseTransform.html +0 -301
- package/typedoc/functions/shared_common._removeFrom.html +0 -291
- package/typedoc/functions/shared_common.allTrueR.html +0 -314
- package/typedoc/functions/shared_common.ancestors.html +0 -309
- package/typedoc/functions/shared_common.anyTrueR.html +0 -317
- package/typedoc/functions/shared_common.applyPairs.html +0 -322
- package/typedoc/functions/shared_common.arrayTuples.html +0 -313
- package/typedoc/functions/shared_common.assertFn.html +0 -306
- package/typedoc/functions/shared_common.copy.html +0 -292
- package/typedoc/functions/shared_common.createProxyFunctions.html +0 -430
- package/typedoc/functions/shared_common.defaults.html +0 -304
- package/typedoc/functions/shared_common.deregAll.html +0 -288
- package/typedoc/functions/shared_common.equals.html +0 -291
- package/typedoc/functions/shared_common.filter.html +0 -298
- package/typedoc/functions/shared_common.find.html +0 -295
- package/typedoc/functions/shared_common.flatten.html +0 -301
- package/typedoc/functions/shared_common.flattenR.html +0 -311
- package/typedoc/functions/shared_common.inherit.html +0 -317
- package/typedoc/functions/shared_common.map.html +0 -304
- package/typedoc/functions/shared_common.omit.html +0 -322
- package/typedoc/functions/shared_common.pairs.html +0 -305
- package/typedoc/functions/shared_common.pick.html +0 -334
- package/typedoc/functions/shared_common.pushR.html +0 -296
- package/typedoc/functions/shared_common.silenceUncaughtInPromise.html +0 -285
- package/typedoc/functions/shared_common.silentRejection.html +0 -281
- package/typedoc/functions/shared_common.tail.html +0 -282
- package/typedoc/functions/shared_common.uniqR.html +0 -292
- package/typedoc/functions/shared_common.unnest.html +0 -303
- package/typedoc/functions/shared_common.unnestR.html +0 -311
- package/typedoc/functions/shared_dom.appendNodesToElement.html +0 -316
- package/typedoc/functions/shared_dom.buildFragment.html +0 -284
- package/typedoc/functions/shared_dom.cleanElementData.html +0 -302
- package/typedoc/functions/shared_dom.createElementFromHTML.html +0 -299
- package/typedoc/functions/shared_dom.createNodelistFromHTML.html +0 -296
- package/typedoc/functions/shared_dom.dealoc.html +0 -295
- package/typedoc/functions/shared_dom.deleteCacheData.html +0 -306
- package/typedoc/functions/shared_dom.domInsert.html +0 -301
- package/typedoc/functions/shared_dom.emptyElement.html +0 -289
- package/typedoc/functions/shared_dom.getBlockNodes.html +0 -298
- package/typedoc/functions/shared_dom.getBooleanAttrName.html +0 -316
- package/typedoc/functions/shared_dom.getCacheData.html +0 -313
- package/typedoc/functions/shared_dom.getController.html +0 -318
- package/typedoc/functions/shared_dom.getExpando.html +0 -333
- package/typedoc/functions/shared_dom.getInheritedData.html +0 -294
- package/typedoc/functions/shared_dom.getInjector.html +0 -294
- package/typedoc/functions/shared_dom.getIsolateScope.html +0 -295
- package/typedoc/functions/shared_dom.getOrSetCacheData.html +0 -330
- package/typedoc/functions/shared_dom.getScope.html +0 -295
- package/typedoc/functions/shared_dom.isRoot.html +0 -286
- package/typedoc/functions/shared_dom.isTextNode.html +0 -290
- package/typedoc/functions/shared_dom.kebabToCamel.html +0 -289
- package/typedoc/functions/shared_dom.parseHtml.html +0 -295
- package/typedoc/functions/shared_dom.removeElement.html +0 -297
- package/typedoc/functions/shared_dom.removeElementData.html +0 -305
- package/typedoc/functions/shared_dom.setCacheData.html +0 -328
- package/typedoc/functions/shared_dom.setInheritedData.html +0 -312
- package/typedoc/functions/shared_dom.setIsolateScope.html +0 -310
- package/typedoc/functions/shared_dom.setScope.html +0 -318
- package/typedoc/functions/shared_dom.snakeToCamel.html +0 -286
- package/typedoc/functions/shared_dom.startingTag.html +0 -301
- package/typedoc/functions/shared_hof.all.html +0 -305
- package/typedoc/functions/shared_hof.compose.html +0 -306
- package/typedoc/functions/shared_hof.curry.html +0 -319
- package/typedoc/functions/shared_hof.is.html +0 -297
- package/typedoc/functions/shared_hof.or.html +0 -312
- package/typedoc/functions/shared_hof.parse.html +0 -292
- package/typedoc/functions/shared_hof.pattern.html +0 -343
- package/typedoc/functions/shared_hof.pipe.html +0 -289
- package/typedoc/functions/shared_hof.val.html +0 -288
- package/typedoc/functions/shared_predicates.isInjectable.html +0 -294
- package/typedoc/functions/shared_predicates.isPromise.html +0 -292
- package/typedoc/functions/shared_strings.beforeAfterSubstr.html +0 -302
- package/typedoc/functions/shared_strings.fnToString.html +0 -281
- package/typedoc/functions/shared_strings.functionToString.html +0 -281
- package/typedoc/functions/shared_strings.joinNeighborsR.html +0 -327
- package/typedoc/functions/shared_strings.kebobString.html +0 -281
- package/typedoc/functions/shared_strings.maxLength.html +0 -309
- package/typedoc/functions/shared_strings.padString.html +0 -312
- package/typedoc/functions/shared_strings.splitOnDelim.html +0 -328
- package/typedoc/functions/shared_strings.stringify.html +0 -281
- package/typedoc/functions/shared_strings.stripLastPathElement.html +0 -284
- package/typedoc/functions/shared_strings.trimHashVal.html +0 -281
- package/typedoc/functions/shared_test-utils.bootstrap.html +0 -297
- package/typedoc/functions/shared_test-utils.browserTrigger.html +0 -307
- package/typedoc/functions/shared_test-utils.wait.html +0 -301
- package/typedoc/functions/shared_utils.addDateMinutes.html +0 -291
- package/typedoc/functions/shared_utils.arrayRemove.html +0 -344
- package/typedoc/functions/shared_utils.assert.html +0 -300
- package/typedoc/functions/shared_utils.assertArg.html +0 -305
- package/typedoc/functions/shared_utils.assertArgFn.html +0 -302
- package/typedoc/functions/shared_utils.assertNotHasOwnProperty.html +0 -310
- package/typedoc/functions/shared_utils.baseExtend.html +0 -301
- package/typedoc/functions/shared_utils.bind.html +0 -333
- package/typedoc/functions/shared_utils.concat.html +0 -301
- package/typedoc/functions/shared_utils.convertTimezoneToLocal.html +0 -305
- package/typedoc/functions/shared_utils.csp.html +0 -263
- package/typedoc/functions/shared_utils.directiveNormalize.html +0 -295
- package/typedoc/functions/shared_utils.encodeUriQuery.html +0 -314
- package/typedoc/functions/shared_utils.encodeUriSegment.html +0 -302
- package/typedoc/functions/shared_utils.equals.html +0 -357
- package/typedoc/functions/shared_utils.errorHandlingConfig.html +0 -313
- package/typedoc/functions/shared_utils.extend.html +0 -323
- package/typedoc/functions/shared_utils.fromJson.html +0 -290
- package/typedoc/functions/shared_utils.getNgAttribute.html +0 -291
- package/typedoc/functions/shared_utils.getNodeName.html +0 -292
- package/typedoc/functions/shared_utils.hasAnimate.html +0 -286
- package/typedoc/functions/shared_utils.hasCustomToString.html +0 -281
- package/typedoc/functions/shared_utils.hasOwn.html +0 -339
- package/typedoc/functions/shared_utils.hashKey.html +0 -296
- package/typedoc/functions/shared_utils.includes.html +0 -291
- package/typedoc/functions/shared_utils.inherit.html +0 -294
- package/typedoc/functions/shared_utils.isArrayBuffer.html +0 -283
- package/typedoc/functions/shared_utils.isArrayLike.html +0 -290
- package/typedoc/functions/shared_utils.isBlankObject.html +0 -295
- package/typedoc/functions/shared_utils.isBlob.html +0 -283
- package/typedoc/functions/shared_utils.isBoolean.html +0 -283
- package/typedoc/functions/shared_utils.isDate.html +0 -281
- package/typedoc/functions/shared_utils.isDefined.html +0 -290
- package/typedoc/functions/shared_utils.isElement.html +0 -281
- package/typedoc/functions/shared_utils.isError.html +0 -296
- package/typedoc/functions/shared_utils.isFile.html +0 -283
- package/typedoc/functions/shared_utils.isFormData.html +0 -283
- package/typedoc/functions/shared_utils.isFunction.html +0 -290
- package/typedoc/functions/shared_utils.isNull.html +0 -290
- package/typedoc/functions/shared_utils.isNullOrUndefined.html +0 -290
- package/typedoc/functions/shared_utils.isNumber.html +0 -303
- package/typedoc/functions/shared_utils.isNumberNaN.html +0 -283
- package/typedoc/functions/shared_utils.isObject.html +0 -298
- package/typedoc/functions/shared_utils.isObjectEmpty.html +0 -283
- package/typedoc/functions/shared_utils.isPromiseLike.html +0 -283
- package/typedoc/functions/shared_utils.isProxy.html +0 -283
- package/typedoc/functions/shared_utils.isRegExp.html +0 -290
- package/typedoc/functions/shared_utils.isScope.html +0 -283
- package/typedoc/functions/shared_utils.isString.html +0 -290
- package/typedoc/functions/shared_utils.isTypedArray.html +0 -283
- package/typedoc/functions/shared_utils.isUndefined.html +0 -290
- package/typedoc/functions/shared_utils.isValidObjectMaxDepth.html +0 -287
- package/typedoc/functions/shared_utils.isWindow.html +0 -290
- package/typedoc/functions/shared_utils.lowercase.html +0 -302
- package/typedoc/functions/shared_utils.mergeClasses.html +0 -291
- package/typedoc/functions/shared_utils.minErr.html +0 -341
- package/typedoc/functions/shared_utils.nextUid.html +0 -268
- package/typedoc/functions/shared_utils.parseKeyValue.html +0 -288
- package/typedoc/functions/shared_utils.setHashKey.html +0 -303
- package/typedoc/functions/shared_utils.shallowCopy.html +0 -299
- package/typedoc/functions/shared_utils.simpleCompare.html +0 -291
- package/typedoc/functions/shared_utils.sliceArgs.html +0 -291
- package/typedoc/functions/shared_utils.snakeCase.html +0 -291
- package/typedoc/functions/shared_utils.stringify.html +0 -281
- package/typedoc/functions/shared_utils.timezoneToOffset.html +0 -291
- package/typedoc/functions/shared_utils.toDebugString.html +0 -281
- package/typedoc/functions/shared_utils.toInt.html +0 -280
- package/typedoc/functions/shared_utils.toJson.html +0 -350
- package/typedoc/functions/shared_utils.toKeyValue.html +0 -281
- package/typedoc/functions/shared_utils.trim.html +0 -280
- package/typedoc/functions/shared_utils.tryDecodeURIComponent.html +0 -300
- package/typedoc/functions/shared_utils.uppercase.html +0 -302
- package/typedoc/hierarchy.html +0 -274
- package/typedoc/index.html +0 -668
- package/typedoc/interfaces/animations_animate.AnimationOptions.html +0 -506
- package/typedoc/interfaces/animations_raf-scheduler.ServiceProvider.html +0 -390
- package/typedoc/interfaces/core_cache_cache.ExpandoStore.html +0 -448
- package/typedoc/interfaces/core_compile_compile.LinkFnMapping.html +0 -466
- package/typedoc/interfaces/core_compile_compile.NodeLinkFnCtx.html +0 -596
- package/typedoc/interfaces/core_compile_compile.SimpleChange.html +0 -412
- package/typedoc/interfaces/core_location_location.DefaultPorts.html +0 -444
- package/typedoc/interfaces/core_location_location.Html5Mode.html +0 -491
- package/typedoc/interfaces/core_parse_ast_ast.Token.html +0 -598
- package/typedoc/interfaces/core_parse_interface.CompiledExpressionHandlerMap.html +0 -570
- package/typedoc/interfaces/core_parse_interface.CompiledExpressionProps.html +0 -959
- package/typedoc/interfaces/core_parse_lexer_lexer.LexerOptions.html +0 -466
- package/typedoc/interfaces/core_parse_parser_parser.ParsedAST.html +0 -378
- package/typedoc/interfaces/core_sanitize_interface.SanitizerFn.html +0 -305
- package/typedoc/interfaces/core_scope_scope.AsyncQueueTask.html +0 -455
- package/typedoc/interfaces/core_scope_scope.Listener.html +0 -688
- package/typedoc/interfaces/directive_model-options_model-options.ModelOptionsConfig.html +0 -570
- package/typedoc/interfaces/interface.ChangesObject.html +0 -445
- package/typedoc/interfaces/interface.ComponentOptions.html +0 -712
- package/typedoc/interfaces/interface.Controller.html +0 -582
- package/typedoc/interfaces/interface.Directive.html +0 -1250
- package/typedoc/interfaces/interface.DirectivePrePost.html +0 -423
- package/typedoc/interfaces/interface.NgModelController.html +0 -1362
- package/typedoc/interfaces/interface.NgModelOptions.html +0 -660
- package/typedoc/interfaces/interface.Provider.html +0 -1056
- package/typedoc/interfaces/interface.TranscludeFunctionObject.html +0 -723
- package/typedoc/interfaces/loader.AngularBootstrapConfig.html +0 -374
- package/typedoc/interfaces/router_params_interface.ParamDeclaration.html +0 -1211
- package/typedoc/interfaces/router_params_interface.ParamTypeDefinition.html +0 -1273
- package/typedoc/interfaces/router_params_interface.RawParams.html +0 -295
- package/typedoc/interfaces/router_params_interface.Replace.html +0 -429
- package/typedoc/interfaces/router_resolve_interface.CustomAsyncPolicy.html +0 -291
- package/typedoc/interfaces/router_resolve_interface.ProviderLike.html +0 -580
- package/typedoc/interfaces/router_resolve_interface.ResolvableLiteral.html +0 -601
- package/typedoc/interfaces/router_resolve_interface.ResolvePolicy.html +0 -638
- package/typedoc/interfaces/router_state_interface.HrefOptions.html +0 -530
- package/typedoc/interfaces/router_state_interface.LazyLoadResult.html +0 -390
- package/typedoc/interfaces/router_state_interface.StateDeclaration.html +0 -2461
- package/typedoc/interfaces/router_state_interface.TargetStateDef.html +0 -468
- package/typedoc/interfaces/router_state_interface.TransitionPromise.html +0 -1192
- package/typedoc/interfaces/router_state_interface.ViewDeclaration.html +0 -1499
- package/typedoc/interfaces/router_template-factory.BindingTuple.html +0 -406
- package/typedoc/interfaces/router_transition_interface.HookMatchCriteria.html +0 -719
- package/typedoc/interfaces/router_transition_interface.HookRegOptions.html +0 -482
- package/typedoc/interfaces/router_transition_interface.IHookRegistry.html +0 -2969
- package/typedoc/interfaces/router_transition_interface.IMatchingNodes.html +0 -594
- package/typedoc/interfaces/router_transition_interface.PathType.html +0 -411
- package/typedoc/interfaces/router_transition_interface.PathTypes.html +0 -588
- package/typedoc/interfaces/router_transition_interface.RegisteredHooks.html +0 -266
- package/typedoc/interfaces/router_transition_interface.TransitionCreateHookFn.html +0 -316
- package/typedoc/interfaces/router_transition_interface.TransitionHookFn.html +0 -352
- package/typedoc/interfaces/router_transition_interface.TransitionHookOptions.html +0 -627
- package/typedoc/interfaces/router_transition_interface.TransitionOptions.html +0 -1096
- package/typedoc/interfaces/router_transition_interface.TransitionStateHookFn.html +0 -374
- package/typedoc/interfaces/router_transition_interface.TreeChanges.html +0 -769
- package/typedoc/interfaces/router_view_interface.ActiveUIView.html +0 -620
- package/typedoc/interfaces/router_view_interface.ViewConfig.html +0 -651
- package/typedoc/interfaces/router_view_interface.ViewContext.html +0 -419
- package/typedoc/interfaces/services_anchor-scroll.AnchorScrollObject.html +0 -379
- package/typedoc/interfaces/services_log.LogService.html +0 -566
- package/typedoc/interfaces/shared_interface.TypedMap.html +0 -268
- package/typedoc/interfaces/shared_utils.ErrorHandlingConfig.html +0 -435
- package/typedoc/media/CONTRIBUTING.md +0 -248
- package/typedoc/media/DEVELOPERS.md +0 -500
- package/typedoc/modules/animations_animate-cache.html +0 -383
- package/typedoc/modules/animations_animate-children-directive.html +0 -326
- package/typedoc/modules/animations_animate-css-driver.html +0 -324
- package/typedoc/modules/animations_animate-css.html +0 -320
- package/typedoc/modules/animations_animate-js-driver.html +0 -324
- package/typedoc/modules/animations_animate-js.html +0 -320
- package/typedoc/modules/animations_animate-queue.html +0 -320
- package/typedoc/modules/animations_animate-runner.html +0 -382
- package/typedoc/modules/animations_animate-swap.html +0 -320
- package/typedoc/modules/animations_animate.html +0 -447
- package/typedoc/modules/animations_animation.html +0 -320
- package/typedoc/modules/animations_interface.html +0 -322
- package/typedoc/modules/animations_raf-scheduler.html +0 -446
- package/typedoc/modules/animations_shared.html +0 -1535
- package/typedoc/modules/core_cache_cache-factory.html +0 -385
- package/typedoc/modules/core_cache_cache.html +0 -457
- package/typedoc/modules/core_compile_attributes.html +0 -319
- package/typedoc/modules/core_compile_compile.html +0 -755
- package/typedoc/modules/core_controller_controller.html +0 -385
- package/typedoc/modules/core_di_injector.html +0 -346
- package/typedoc/modules/core_di_internal-injector.html +0 -350
- package/typedoc/modules/core_di_ng-module.html +0 -490
- package/typedoc/modules/core_error-handler.html +0 -322
- package/typedoc/modules/core_exception-handler.html +0 -448
- package/typedoc/modules/core_filter_filter.html +0 -319
- package/typedoc/modules/core_interpolate_interpolate.html +0 -322
- package/typedoc/modules/core_location_location.html +0 -636
- package/typedoc/modules/core_parse_ast-type.html +0 -321
- package/typedoc/modules/core_parse_ast_ast-node.html +0 -322
- package/typedoc/modules/core_parse_ast_ast.html +0 -436
- package/typedoc/modules/core_parse_interface.html +0 -470
- package/typedoc/modules/core_parse_interpreter.html +0 -537
- package/typedoc/modules/core_parse_lexer_lexer.html +0 -440
- package/typedoc/modules/core_parse_lexer_token.html +0 -319
- package/typedoc/modules/core_parse_parse.html +0 -382
- package/typedoc/modules/core_parse_parser_parser.html +0 -381
- package/typedoc/modules/core_pubsub_pubsub.html +0 -471
- package/typedoc/modules/core_sanitize_interface.html +0 -320
- package/typedoc/modules/core_sanitize_sanitize-uri.html +0 -386
- package/typedoc/modules/core_sce_sce.html +0 -560
- package/typedoc/modules/core_scope_scope.html +0 -700
- package/typedoc/modules/core_task-tracker-factory.html +0 -481
- package/typedoc/modules/core_url-utils_url-utils.html +0 -527
- package/typedoc/modules/directive_aria_aria.html +0 -672
- package/typedoc/modules/directive_attrs_attrs.html +0 -350
- package/typedoc/modules/directive_bind_bind.html +0 -377
- package/typedoc/modules/directive_channel_channel.html +0 -322
- package/typedoc/modules/directive_class_class.html +0 -376
- package/typedoc/modules/directive_cloak_cloak.html +0 -320
- package/typedoc/modules/directive_controller_controller.html +0 -322
- package/typedoc/modules/directive_events_events.html +0 -383
- package/typedoc/modules/directive_form_form.html +0 -524
- package/typedoc/modules/directive_if_if.html +0 -319
- package/typedoc/modules/directive_include_include.html +0 -352
- package/typedoc/modules/directive_init_init.html +0 -319
- package/typedoc/modules/directive_input_input.html +0 -804
- package/typedoc/modules/directive_messages_messages.html +0 -473
- package/typedoc/modules/directive_model-options_model-options.html +0 -452
- package/typedoc/modules/directive_model_model.html +0 -445
- package/typedoc/modules/directive_non-bindable_non-bindable.html +0 -324
- package/typedoc/modules/directive_observe_observe.html +0 -322
- package/typedoc/modules/directive_options_options.html +0 -322
- package/typedoc/modules/directive_ref_ref.html +0 -319
- package/typedoc/modules/directive_repeat_repeat.html +0 -320
- package/typedoc/modules/directive_script_script.html +0 -320
- package/typedoc/modules/directive_select_select.html +0 -348
- package/typedoc/modules/directive_setter_setter.html +0 -320
- package/typedoc/modules/directive_show-hide_show-hide.html +0 -350
- package/typedoc/modules/directive_style_style.html +0 -320
- package/typedoc/modules/directive_switch_switch.html +0 -378
- package/typedoc/modules/directive_transclude_transclude.html +0 -322
- package/typedoc/modules/directive_validators_validators.html +0 -406
- package/typedoc/modules/filters_filter.html +0 -319
- package/typedoc/modules/filters_filters.html +0 -346
- package/typedoc/modules/filters_limit-to.html +0 -319
- package/typedoc/modules/filters_order-by.html +0 -319
- package/typedoc/modules/index.html +0 -241
- package/typedoc/modules/injection-tokens.html +0 -319
- package/typedoc/modules/interface.html +0 -1010
- package/typedoc/modules/loader.html +0 -380
- package/typedoc/modules/public.html +0 -380
- package/typedoc/modules/router_common_glob.html +0 -377
- package/typedoc/modules/router_common_queue.html +0 -315
- package/typedoc/modules/router_common_trace.html +0 -522
- package/typedoc/modules/router_directives_state-directives.html +0 -384
- package/typedoc/modules/router_directives_view-directive.html +0 -387
- package/typedoc/modules/router_globals.html +0 -383
- package/typedoc/modules/router_hooks_core-resolvables.html +0 -352
- package/typedoc/modules/router_hooks_ignored-transition.html +0 -324
- package/typedoc/modules/router_hooks_invalid-transition.html +0 -324
- package/typedoc/modules/router_hooks_lazy-load.html +0 -348
- package/typedoc/modules/router_hooks_on-enter-exit-retain.html +0 -380
- package/typedoc/modules/router_hooks_redirect-to.html +0 -320
- package/typedoc/modules/router_hooks_resolve.html +0 -443
- package/typedoc/modules/router_hooks_update-globals.html +0 -324
- package/typedoc/modules/router_hooks_url.html +0 -319
- package/typedoc/modules/router_hooks_views.html +0 -350
- package/typedoc/modules/router_params_interface.html +0 -402
- package/typedoc/modules/router_params_param-factory.html +0 -322
- package/typedoc/modules/router_params_param-type.html +0 -319
- package/typedoc/modules/router_params_param-types.html +0 -321
- package/typedoc/modules/router_params_param.html +0 -377
- package/typedoc/modules/router_params_state-params.html +0 -322
- package/typedoc/modules/router_path_path-node.html +0 -319
- package/typedoc/modules/router_path_path-utils.html +0 -382
- package/typedoc/modules/router_resolve_interface.html +0 -521
- package/typedoc/modules/router_resolve_resolvable.html +0 -384
- package/typedoc/modules/router_resolve_resolve-context.html +0 -385
- package/typedoc/modules/router_state-filters.html +0 -349
- package/typedoc/modules/router_state-provider.html +0 -319
- package/typedoc/modules/router_state_interface.html +0 -606
- package/typedoc/modules/router_state_state-builder.html +0 -385
- package/typedoc/modules/router_state_state-matcher.html +0 -322
- package/typedoc/modules/router_state_state-object.html +0 -385
- package/typedoc/modules/router_state_state-queue-manager.html +0 -324
- package/typedoc/modules/router_state_state-registry.html +0 -449
- package/typedoc/modules/router_state_state-service.html +0 -322
- package/typedoc/modules/router_state_target-state.html +0 -321
- package/typedoc/modules/router_state_views.html +0 -409
- package/typedoc/modules/router_template-factory.html +0 -383
- package/typedoc/modules/router_transition_hook-builder.html +0 -322
- package/typedoc/modules/router_transition_hook-registry.html +0 -413
- package/typedoc/modules/router_transition_interface.html +0 -927
- package/typedoc/modules/router_transition_reject-factory.html +0 -390
- package/typedoc/modules/router_transition_transition-event-type.html +0 -324
- package/typedoc/modules/router_transition_transition-hook.html +0 -324
- package/typedoc/modules/router_transition_transition-service.html +0 -387
- package/typedoc/modules/router_transition_transition.html +0 -386
- package/typedoc/modules/router_url_url-config.html +0 -320
- package/typedoc/modules/router_url_url-matcher.html +0 -319
- package/typedoc/modules/router_url_url-rule.html +0 -346
- package/typedoc/modules/router_url_url-rules.html +0 -319
- package/typedoc/modules/router_url_url-service.html +0 -319
- package/typedoc/modules/router_view-scroll.html +0 -319
- package/typedoc/modules/router_view_interface.html +0 -373
- package/typedoc/modules/router_view_view.html +0 -319
- package/typedoc/modules/services_anchor-scroll.html +0 -477
- package/typedoc/modules/services_browser.html +0 -472
- package/typedoc/modules/services_cookie-reader.html +0 -319
- package/typedoc/modules/services_http-backend_http-backend.html +0 -387
- package/typedoc/modules/services_http_http.html +0 -414
- package/typedoc/modules/services_log.html +0 -507
- package/typedoc/modules/services_template-request.html +0 -322
- package/typedoc/modules/shared_common.html +0 -1145
- package/typedoc/modules/shared_constants.html +0 -590
- package/typedoc/modules/shared_dom.html +0 -1185
- package/typedoc/modules/shared_hof.html +0 -566
- package/typedoc/modules/shared_interface.html +0 -436
- package/typedoc/modules/shared_noderef.html +0 -318
- package/typedoc/modules/shared_predicates.html +0 -346
- package/typedoc/modules/shared_strings.html +0 -732
- package/typedoc/modules/shared_test-utils.html +0 -369
- package/typedoc/modules/shared_utils.html +0 -2343
- package/typedoc/modules.html +0 -4406
- package/typedoc/types/animations_animate.AnimationMethod.html +0 -265
- package/typedoc/types/animations_interface.RafScheduler.html +0 -602
- package/typedoc/types/core_cache_cache-factory.TemplateCache.html +0 -257
- package/typedoc/types/core_compile_compile.ApplyDirectivesToNodeFn.html +0 -251
- package/typedoc/types/core_compile_compile.BoundTranscludeFn.html +0 -279
- package/typedoc/types/core_compile_compile.CompileFn.html +0 -445
- package/typedoc/types/core_compile_compile.CompileNodesFn.html +0 -252
- package/typedoc/types/core_compile_compile.CompositeLinkFn.html +0 -358
- package/typedoc/types/core_compile_compile.NodeLinkFn.html +0 -285
- package/typedoc/types/core_compile_compile.PublicLinkFn.html +0 -381
- package/typedoc/types/core_compile_compile.TranscludeFn.html +0 -364
- package/typedoc/types/core_error-handler.ErrorHandler.html +0 -321
- package/typedoc/types/core_exception-handler.LogService.html +0 -256
- package/typedoc/types/core_parse_ast_ast-node.ASTNode.html +0 -1457
- package/typedoc/types/core_parse_interface.CompiledExpression.html +0 -268
- package/typedoc/types/core_parse_interface.CompiledExpressionFunction.html +0 -347
- package/typedoc/types/core_parse_interface.ParseService.html +0 -474
- package/typedoc/types/core_parse_interpreter.DecoratedASTNode.html +0 -279
- package/typedoc/types/core_scope_scope.ListenerFunction.html +0 -313
- package/typedoc/types/core_task-tracker-factory.AnnotatedFactory.html +0 -278
- package/typedoc/types/core_url-utils_url-utils.HttpProtocol.html +0 -254
- package/typedoc/types/interface.CloneAttachFunction.html +0 -318
- package/typedoc/types/interface.ControllerConstructor.html +0 -315
- package/typedoc/types/interface.DirectiveCompileFn.html +0 -406
- package/typedoc/types/interface.DirectiveController.html +0 -274
- package/typedoc/types/interface.DirectiveFactory.html +0 -328
- package/typedoc/types/interface.DirectiveLinkFn.html +0 -420
- package/typedoc/types/interface.Expression.html +0 -259
- package/typedoc/types/interface.FilterFactory.html +0 -310
- package/typedoc/types/interface.FilterFn.html +0 -314
- package/typedoc/types/interface.Injectable.html +0 -257
- package/typedoc/types/interface.InjectableFactory.html +0 -309
- package/typedoc/types/interface.OnChangesObject.html +0 -259
- package/typedoc/types/interface.TController.html +0 -261
- package/typedoc/types/router_resolve_interface.PolicyAsync.html +0 -259
- package/typedoc/types/router_resolve_interface.PolicyWhen.html +0 -253
- package/typedoc/types/router_state_interface.RedirectToResult.html +0 -287
- package/typedoc/types/router_state_interface.ResolveTypes.html +0 -267
- package/typedoc/types/router_state_interface.StateOrName.html +0 -263
- package/typedoc/types/router_state_interface._StateDeclaration.html +0 -274
- package/typedoc/types/router_transition_interface.HookFn.html +0 -267
- package/typedoc/types/router_transition_interface.HookMatchCriterion.html +0 -270
- package/typedoc/types/router_transition_interface.HookResult.html +0 -310
- package/typedoc/types/router_transition_interface.IHookRegistration.html +0 -362
- package/typedoc/types/router_transition_interface.IStateMatch.html +0 -272
- package/typedoc/types/services_anchor-scroll.AnchorScrollFunction.html +0 -292
- package/typedoc/types/services_anchor-scroll.AnchorScrollService.html +0 -262
- package/typedoc/types/services_browser.UrlChangeListener.html +0 -250
- package/typedoc/types/services_log.LogCall.html +0 -294
- package/typedoc/types/shared_interface.Mapper.html +0 -337
- package/typedoc/types/shared_interface.Predicate.html +0 -305
- package/typedoc/types/shared_interface.PredicateBinary.html +0 -330
- package/typedoc/variables/animations_shared.ACTIVE_CLASS_SUFFIX.html +0 -251
- package/typedoc/variables/animations_shared.ADD_CLASS_SUFFIX.html +0 -249
- package/typedoc/variables/animations_shared.ANIMATIONEND_EVENT.html +0 -249
- package/typedoc/variables/animations_shared.ANIMATION_DELAY_PROP.html +0 -252
- package/typedoc/variables/animations_shared.ANIMATION_DURATION_PROP.html +0 -252
- package/typedoc/variables/animations_shared.ANIMATION_ITERATION_COUNT_KEY.html +0 -255
- package/typedoc/variables/animations_shared.ANIMATION_PLAYSTATE_KEY.html +0 -251
- package/typedoc/variables/animations_shared.ANIMATION_PROP.html +0 -249
- package/typedoc/variables/animations_shared.CSS_PREFIX.html +0 -250
- package/typedoc/variables/animations_shared.DELAY_KEY.html +0 -249
- package/typedoc/variables/animations_shared.DURATION_KEY.html +0 -249
- package/typedoc/variables/animations_shared.EVENT_CLASS_PREFIX.html +0 -249
- package/typedoc/variables/animations_shared.NG_ANIMATE_CHILDREN_DATA.html +0 -253
- package/typedoc/variables/animations_shared.NG_ANIMATE_CLASSNAME.html +0 -251
- package/typedoc/variables/animations_shared.PREPARE_CLASS_SUFFIX.html +0 -251
- package/typedoc/variables/animations_shared.PROPERTY_KEY.html +0 -250
- package/typedoc/variables/animations_shared.REMOVE_CLASS_SUFFIX.html +0 -251
- package/typedoc/variables/animations_shared.SAFE_FAST_FORWARD_DURATION_VALUE.html +0 -257
- package/typedoc/variables/animations_shared.TIMING_KEY.html +0 -249
- package/typedoc/variables/animations_shared.TRANSITIONEND_EVENT.html +0 -249
- package/typedoc/variables/animations_shared.TRANSITION_DELAY_PROP.html +0 -252
- package/typedoc/variables/animations_shared.TRANSITION_DURATION_PROP.html +0 -252
- package/typedoc/variables/animations_shared.TRANSITION_PROP.html +0 -249
- package/typedoc/variables/animations_shared.ngMinErr.html +0 -307
- package/typedoc/variables/core_cache_cache.Cache.html +0 -267
- package/typedoc/variables/core_cache_cache.EXPANDO.html +0 -250
- package/typedoc/variables/core_cache_cache.ISOLATE_SCOPE_KEY.html +0 -253
- package/typedoc/variables/core_cache_cache.SCOPE_KEY.html +0 -253
- package/typedoc/variables/core_compile_compile.DirectiveSuffix.html +0 -251
- package/typedoc/variables/core_di_ng-module.ANIMATION_LITERAL.html +0 -249
- package/typedoc/variables/core_di_ng-module.COMPILE_LITERAL.html +0 -249
- package/typedoc/variables/core_di_ng-module.CONTROLLER_LITERAL.html +0 -251
- package/typedoc/variables/core_di_ng-module.FILTER_LITERAL.html +0 -249
- package/typedoc/variables/core_di_ng-module.INJECTOR_LITERAL.html +0 -249
- package/typedoc/variables/core_parse_interpreter.PURITY_ABSOLUTE.html +0 -251
- package/typedoc/variables/core_parse_interpreter.PURITY_RELATIVE.html +0 -251
- package/typedoc/variables/core_pubsub_pubsub.EventBus.html +0 -255
- package/typedoc/variables/core_sce_sce.SCE_CONTEXTS.html +0 -327
- package/typedoc/variables/core_scope_scope.NONSCOPE.html +0 -253
- package/typedoc/variables/core_scope_scope.__applyAsyncQueue.html +0 -252
- package/typedoc/variables/core_scope_scope._postUpdateQueue.html +0 -252
- package/typedoc/variables/directive_attrs_attrs.REGEX_STRING_REGEXP.html +0 -254
- package/typedoc/variables/directive_attrs_attrs.ngAttributeAliasDirectives.html +0 -262
- package/typedoc/variables/directive_class_class.ngClassDirective.html +0 -285
- package/typedoc/variables/directive_class_class.ngClassEvenDirective.html +0 -287
- package/typedoc/variables/directive_class_class.ngClassOddDirective.html +0 -287
- package/typedoc/variables/directive_events_events.ngEventDirectives.html +0 -256
- package/typedoc/variables/directive_form_form.PENDING_CLASS.html +0 -251
- package/typedoc/variables/directive_form_form.formDirective.html +0 -340
- package/typedoc/variables/directive_form_form.ngFormDirective.html +0 -340
- package/typedoc/variables/directive_form_form.nullFormCtrl.html +0 -424
- package/typedoc/variables/directive_input_input.EMAIL_REGEXP.html +0 -252
- package/typedoc/variables/directive_input_input.ISO_DATE_REGEXP.html +0 -252
- package/typedoc/variables/directive_input_input.URL_REGEXP.html +0 -252
- package/typedoc/variables/directive_input_input.VALIDITY_STATE_PROPERTY.html +0 -253
- package/typedoc/variables/directive_messages_messages.ngMessageDefaultDirective.html +0 -496
- package/typedoc/variables/directive_messages_messages.ngMessageDirective.html +0 -492
- package/typedoc/variables/directive_messages_messages.ngMessageExpDirective.html +0 -494
- package/typedoc/variables/directive_model-options_model-options.defaultModelOptions.html +0 -254
- package/typedoc/variables/directive_model_model.ngModelMinErr.html +0 -309
- package/typedoc/variables/directive_options_options.ngOptionsDirective.html +0 -692
- package/typedoc/variables/directive_transclude_transclude.ngTranscludeDirective.html +0 -343
- package/typedoc/variables/directive_validators_validators.maxlengthDirective.html +0 -401
- package/typedoc/variables/directive_validators_validators.minlengthDirective.html +0 -363
- package/typedoc/variables/directive_validators_validators.patternDirective.html +0 -424
- package/typedoc/variables/directive_validators_validators.requiredDirective.html +0 -388
- package/typedoc/variables/injection-tokens._injectTokens.html +0 -270
- package/typedoc/variables/public.VERSION.html +0 -247
- package/typedoc/variables/router_common_trace.trace.html +0 -287
- package/typedoc/variables/router_directives_view-directive.ngView.html +0 -499
- package/typedoc/variables/router_hooks_resolve.RESOLVE_HOOK_PRIORITY.html +0 -253
- package/typedoc/variables/router_params_param.DefType.html +0 -251
- package/typedoc/variables/router_resolve_resolvable.defaultResolvePolicy.html +0 -279
- package/typedoc/variables/router_resolve_resolve-context.resolvePolicies.html +0 -315
- package/typedoc/variables/router_transition_transition-service.defaultTransOpts.html +0 -380
- package/typedoc/variables/services_log.LogService.html +0 -252
- package/typedoc/variables/shared_common.assertMap.html +0 -344
- package/typedoc/variables/shared_common.assertPredicate.html +0 -344
- package/typedoc/variables/shared_common.pushTo.html +0 -252
- package/typedoc/variables/shared_common.removeFrom.html +0 -255
- package/typedoc/variables/shared_constants.ALIASED_ATTR.html +0 -329
- package/typedoc/variables/shared_constants.DIRTY_CLASS.html +0 -249
- package/typedoc/variables/shared_constants.EMPTY_CLASS.html +0 -249
- package/typedoc/variables/shared_constants.INVALID_CLASS.html +0 -249
- package/typedoc/variables/shared_constants.NOT_EMPTY_CLASS.html +0 -249
- package/typedoc/variables/shared_constants.PREFIX_REGEXP.html +0 -250
- package/typedoc/variables/shared_constants.PRISTINE_CLASS.html +0 -249
- package/typedoc/variables/shared_constants.SPECIAL_CHARS_REGEXP.html +0 -252
- package/typedoc/variables/shared_constants.TOUCHED_CLASS.html +0 -249
- package/typedoc/variables/shared_constants.UNTOUCHED_CLASS.html +0 -249
- package/typedoc/variables/shared_constants.VALID_CLASS.html +0 -249
- package/typedoc/variables/shared_dom.BOOLEAN_ATTR.html +0 -253
- package/typedoc/variables/shared_hof.propEq.html +0 -258
- package/typedoc/variables/shared_strings.hostRegex.html +0 -248
- package/typedoc/variables/shared_strings.splitEqual.html +0 -291
- package/typedoc/variables/shared_strings.splitHash.html +0 -291
- package/typedoc/variables/shared_strings.splitQuery.html +0 -291
- package/typedoc/variables/shared_utils.isProxySymbol.html +0 -250
- package/typedoc/variables/shared_utils.ngAttrPrefixes.html +0 -249
- /package/{typedoc → docs/static/typedoc}/.nojekyll +0 -0
- /package/{typedoc → docs/static/typedoc}/assets/icons.svg +0 -0
|
@@ -1,3038 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html class="default" lang="en" data-base="../">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8" />
|
|
5
|
-
<meta http-equiv="x-ua-compatible" content="IE=edge" />
|
|
6
|
-
<title>StateProvider | AngularTS</title>
|
|
7
|
-
<meta name="description" content="Documentation for AngularTS" />
|
|
8
|
-
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
9
|
-
<link rel="stylesheet" href="../assets/style.css" />
|
|
10
|
-
<link rel="stylesheet" href="../assets/highlight.css" />
|
|
11
|
-
<script defer src="../assets/main.js"></script>
|
|
12
|
-
<script async src="../assets/icons.js" id="tsd-icons-script"></script>
|
|
13
|
-
<script async src="../assets/search.js" id="tsd-search-script"></script>
|
|
14
|
-
<script async src="../assets/navigation.js" id="tsd-nav-script"></script>
|
|
15
|
-
<script
|
|
16
|
-
async
|
|
17
|
-
src="../assets/hierarchy.js"
|
|
18
|
-
id="tsd-hierarchy-script"
|
|
19
|
-
></script>
|
|
20
|
-
</head>
|
|
21
|
-
<body>
|
|
22
|
-
<script>
|
|
23
|
-
document.documentElement.dataset.theme =
|
|
24
|
-
localStorage.getItem("tsd-theme") || "os";
|
|
25
|
-
document.body.style.display = "none";
|
|
26
|
-
setTimeout(
|
|
27
|
-
() =>
|
|
28
|
-
window.app
|
|
29
|
-
? app.showPage()
|
|
30
|
-
: document.body.style.removeProperty("display"),
|
|
31
|
-
500,
|
|
32
|
-
);
|
|
33
|
-
</script>
|
|
34
|
-
<header class="tsd-page-toolbar">
|
|
35
|
-
<div class="tsd-toolbar-contents container">
|
|
36
|
-
<a href="../index.html" class="title">AngularTS</a>
|
|
37
|
-
<div id="tsd-toolbar-links"></div>
|
|
38
|
-
<button id="tsd-search-trigger" class="tsd-widget" aria-label="Search">
|
|
39
|
-
<svg
|
|
40
|
-
width="16"
|
|
41
|
-
height="16"
|
|
42
|
-
viewBox="0 0 16 16"
|
|
43
|
-
fill="none"
|
|
44
|
-
aria-hidden="true"
|
|
45
|
-
>
|
|
46
|
-
<use href="../assets/icons.svg#icon-search"></use>
|
|
47
|
-
</svg>
|
|
48
|
-
</button>
|
|
49
|
-
<dialog id="tsd-search" aria-label="Search">
|
|
50
|
-
<input
|
|
51
|
-
role="combobox"
|
|
52
|
-
id="tsd-search-input"
|
|
53
|
-
aria-controls="tsd-search-results"
|
|
54
|
-
aria-autocomplete="list"
|
|
55
|
-
aria-expanded="true"
|
|
56
|
-
autocapitalize="off"
|
|
57
|
-
autocomplete="off"
|
|
58
|
-
placeholder="Search the docs"
|
|
59
|
-
maxlength="100"
|
|
60
|
-
/>
|
|
61
|
-
<ul role="listbox" id="tsd-search-results"></ul>
|
|
62
|
-
<div id="tsd-search-status" aria-live="polite" aria-atomic="true">
|
|
63
|
-
<div>Preparing search index...</div>
|
|
64
|
-
</div>
|
|
65
|
-
</dialog>
|
|
66
|
-
<a
|
|
67
|
-
href="#"
|
|
68
|
-
class="tsd-widget menu"
|
|
69
|
-
id="tsd-toolbar-menu-trigger"
|
|
70
|
-
data-toggle="menu"
|
|
71
|
-
aria-label="Menu"
|
|
72
|
-
><svg
|
|
73
|
-
width="16"
|
|
74
|
-
height="16"
|
|
75
|
-
viewBox="0 0 16 16"
|
|
76
|
-
fill="none"
|
|
77
|
-
aria-hidden="true"
|
|
78
|
-
>
|
|
79
|
-
<use href="../assets/icons.svg#icon-menu"></use></svg
|
|
80
|
-
></a>
|
|
81
|
-
</div>
|
|
82
|
-
</header>
|
|
83
|
-
<div class="container container-main">
|
|
84
|
-
<div class="col-content">
|
|
85
|
-
<div class="tsd-page-title">
|
|
86
|
-
<ul class="tsd-breadcrumb" aria-label="Breadcrumb">
|
|
87
|
-
<li>
|
|
88
|
-
<a href="../modules/router_state_state-service.html"
|
|
89
|
-
>router/state/state-service</a
|
|
90
|
-
>
|
|
91
|
-
</li>
|
|
92
|
-
<li><a href="" aria-current="page">StateProvider</a></li>
|
|
93
|
-
</ul>
|
|
94
|
-
<h1>Class StateProvider</h1>
|
|
95
|
-
</div>
|
|
96
|
-
<section class="tsd-panel tsd-comment">
|
|
97
|
-
<div class="tsd-comment tsd-typography">
|
|
98
|
-
<p>Provides services related to ng-router states.</p>
|
|
99
|
-
<p>
|
|
100
|
-
This API is located at
|
|
101
|
-
<code>router.stateService</code> ([[UIRouter.stateService]])
|
|
102
|
-
</p>
|
|
103
|
-
</div>
|
|
104
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
105
|
-
</section>
|
|
106
|
-
<section class="tsd-panel-group tsd-index-group">
|
|
107
|
-
<section class="tsd-panel tsd-index-panel">
|
|
108
|
-
<details class="tsd-index-content tsd-accordion" open>
|
|
109
|
-
<summary class="tsd-accordion-summary tsd-index-summary">
|
|
110
|
-
<svg
|
|
111
|
-
width="20"
|
|
112
|
-
height="20"
|
|
113
|
-
viewBox="0 0 24 24"
|
|
114
|
-
fill="none"
|
|
115
|
-
aria-hidden="true"
|
|
116
|
-
>
|
|
117
|
-
<use href="../assets/icons.svg#icon-chevronDown"></use>
|
|
118
|
-
</svg>
|
|
119
|
-
<h5 class="tsd-index-heading uppercase">Index</h5>
|
|
120
|
-
</summary>
|
|
121
|
-
<div class="tsd-accordion-details">
|
|
122
|
-
<section class="tsd-index-section">
|
|
123
|
-
<h3 class="tsd-index-heading">Constructors</h3>
|
|
124
|
-
<div class="tsd-index-list">
|
|
125
|
-
<a href="#constructor" class="tsd-index-link"
|
|
126
|
-
><svg
|
|
127
|
-
class="tsd-kind-icon"
|
|
128
|
-
viewBox="0 0 24 24"
|
|
129
|
-
aria-label="Constructor"
|
|
130
|
-
>
|
|
131
|
-
<use href="../assets/icons.svg#icon-512"></use></svg
|
|
132
|
-
><span>constructor</span></a
|
|
133
|
-
>
|
|
134
|
-
</div>
|
|
135
|
-
</section>
|
|
136
|
-
<section class="tsd-index-section">
|
|
137
|
-
<h3 class="tsd-index-heading">Properties</h3>
|
|
138
|
-
<div class="tsd-index-list">
|
|
139
|
-
<a href="#_defaulterrorhandler" class="tsd-index-link"
|
|
140
|
-
><svg
|
|
141
|
-
class="tsd-kind-icon"
|
|
142
|
-
viewBox="0 0 24 24"
|
|
143
|
-
aria-label="Property"
|
|
144
|
-
>
|
|
145
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
146
|
-
><span>_<wbr />default<wbr />Error<wbr />Handler</span></a
|
|
147
|
-
>
|
|
148
|
-
<a href="#globals" class="tsd-index-link"
|
|
149
|
-
><svg
|
|
150
|
-
class="tsd-kind-icon"
|
|
151
|
-
viewBox="0 0 24 24"
|
|
152
|
-
aria-label="Property"
|
|
153
|
-
>
|
|
154
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
155
|
-
><span>globals</span></a
|
|
156
|
-
>
|
|
157
|
-
<a href="#invalidcallbacks" class="tsd-index-link"
|
|
158
|
-
><svg
|
|
159
|
-
class="tsd-kind-icon"
|
|
160
|
-
viewBox="0 0 24 24"
|
|
161
|
-
aria-label="Property"
|
|
162
|
-
>
|
|
163
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
164
|
-
><span>invalid<wbr />Callbacks</span></a
|
|
165
|
-
>
|
|
166
|
-
<a href="#stateregistry" class="tsd-index-link"
|
|
167
|
-
><svg
|
|
168
|
-
class="tsd-kind-icon"
|
|
169
|
-
viewBox="0 0 24 24"
|
|
170
|
-
aria-label="Property"
|
|
171
|
-
>
|
|
172
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
173
|
-
><span>state<wbr />Registry</span></a
|
|
174
|
-
>
|
|
175
|
-
<a href="#transitionservice" class="tsd-index-link"
|
|
176
|
-
><svg
|
|
177
|
-
class="tsd-kind-icon"
|
|
178
|
-
viewBox="0 0 24 24"
|
|
179
|
-
aria-label="Property"
|
|
180
|
-
>
|
|
181
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
182
|
-
><span>transition<wbr />Service</span></a
|
|
183
|
-
>
|
|
184
|
-
<a href="#urlservice" class="tsd-index-link"
|
|
185
|
-
><svg
|
|
186
|
-
class="tsd-kind-icon"
|
|
187
|
-
viewBox="0 0 24 24"
|
|
188
|
-
aria-label="Property"
|
|
189
|
-
>
|
|
190
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
191
|
-
><span>url<wbr />Service</span></a
|
|
192
|
-
>
|
|
193
|
-
<a href="#inject" class="tsd-index-link"
|
|
194
|
-
><svg
|
|
195
|
-
class="tsd-kind-icon"
|
|
196
|
-
viewBox="0 0 24 24"
|
|
197
|
-
aria-label="Property"
|
|
198
|
-
>
|
|
199
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
200
|
-
><span>$inject</span></a
|
|
201
|
-
>
|
|
202
|
-
</div>
|
|
203
|
-
</section>
|
|
204
|
-
<section class="tsd-index-section">
|
|
205
|
-
<h3 class="tsd-index-heading">Accessors</h3>
|
|
206
|
-
<div class="tsd-index-list">
|
|
207
|
-
<a href="#current" class="tsd-index-link"
|
|
208
|
-
><svg
|
|
209
|
-
class="tsd-kind-icon"
|
|
210
|
-
viewBox="0 0 24 24"
|
|
211
|
-
aria-label="Accessor"
|
|
212
|
-
>
|
|
213
|
-
<use href="../assets/icons.svg#icon-262144"></use></svg
|
|
214
|
-
><span>$current</span></a
|
|
215
|
-
>
|
|
216
|
-
<a href="#current-1" class="tsd-index-link"
|
|
217
|
-
><svg
|
|
218
|
-
class="tsd-kind-icon"
|
|
219
|
-
viewBox="0 0 24 24"
|
|
220
|
-
aria-label="Accessor"
|
|
221
|
-
>
|
|
222
|
-
<use href="../assets/icons.svg#icon-262144"></use></svg
|
|
223
|
-
><span>current</span></a
|
|
224
|
-
>
|
|
225
|
-
<a href="#params" class="tsd-index-link"
|
|
226
|
-
><svg
|
|
227
|
-
class="tsd-kind-icon"
|
|
228
|
-
viewBox="0 0 24 24"
|
|
229
|
-
aria-label="Accessor"
|
|
230
|
-
>
|
|
231
|
-
<use href="../assets/icons.svg#icon-262144"></use></svg
|
|
232
|
-
><span>params</span></a
|
|
233
|
-
>
|
|
234
|
-
</div>
|
|
235
|
-
</section>
|
|
236
|
-
<section class="tsd-index-section">
|
|
237
|
-
<h3 class="tsd-index-heading">Methods</h3>
|
|
238
|
-
<div class="tsd-index-list">
|
|
239
|
-
<a href="#_handleinvalidtargetstate" class="tsd-index-link"
|
|
240
|
-
><svg
|
|
241
|
-
class="tsd-kind-icon"
|
|
242
|
-
viewBox="0 0 24 24"
|
|
243
|
-
aria-label="Method"
|
|
244
|
-
>
|
|
245
|
-
<use href="../assets/icons.svg#icon-2048"></use></svg
|
|
246
|
-
><span
|
|
247
|
-
>_<wbr />handle<wbr />Invalid<wbr />Target<wbr />State</span
|
|
248
|
-
></a
|
|
249
|
-
>
|
|
250
|
-
<a href="#get" class="tsd-index-link"
|
|
251
|
-
><svg
|
|
252
|
-
class="tsd-kind-icon"
|
|
253
|
-
viewBox="0 0 24 24"
|
|
254
|
-
aria-label="Method"
|
|
255
|
-
>
|
|
256
|
-
<use href="../assets/icons.svg#icon-2048"></use></svg
|
|
257
|
-
><span>$get</span></a
|
|
258
|
-
>
|
|
259
|
-
<a href="#decorator" class="tsd-index-link"
|
|
260
|
-
><svg
|
|
261
|
-
class="tsd-kind-icon"
|
|
262
|
-
viewBox="0 0 24 24"
|
|
263
|
-
aria-label="Method"
|
|
264
|
-
>
|
|
265
|
-
<use href="../assets/icons.svg#icon-2048"></use></svg
|
|
266
|
-
><span>decorator</span></a
|
|
267
|
-
>
|
|
268
|
-
<a href="#defaulterrorhandler" class="tsd-index-link"
|
|
269
|
-
><svg
|
|
270
|
-
class="tsd-kind-icon"
|
|
271
|
-
viewBox="0 0 24 24"
|
|
272
|
-
aria-label="Method"
|
|
273
|
-
>
|
|
274
|
-
<use href="../assets/icons.svg#icon-2048"></use></svg
|
|
275
|
-
><span>default<wbr />Error<wbr />Handler</span></a
|
|
276
|
-
>
|
|
277
|
-
<a href="#get-2" class="tsd-index-link"
|
|
278
|
-
><svg
|
|
279
|
-
class="tsd-kind-icon"
|
|
280
|
-
viewBox="0 0 24 24"
|
|
281
|
-
aria-label="Method"
|
|
282
|
-
>
|
|
283
|
-
<use href="../assets/icons.svg#icon-2048"></use></svg
|
|
284
|
-
><span>get</span></a
|
|
285
|
-
>
|
|
286
|
-
<a href="#getcurrentpath" class="tsd-index-link"
|
|
287
|
-
><svg
|
|
288
|
-
class="tsd-kind-icon"
|
|
289
|
-
viewBox="0 0 24 24"
|
|
290
|
-
aria-label="Method"
|
|
291
|
-
>
|
|
292
|
-
<use href="../assets/icons.svg#icon-2048"></use></svg
|
|
293
|
-
><span>get<wbr />Current<wbr />Path</span></a
|
|
294
|
-
>
|
|
295
|
-
<a href="#go" class="tsd-index-link"
|
|
296
|
-
><svg
|
|
297
|
-
class="tsd-kind-icon"
|
|
298
|
-
viewBox="0 0 24 24"
|
|
299
|
-
aria-label="Method"
|
|
300
|
-
>
|
|
301
|
-
<use href="../assets/icons.svg#icon-2048"></use></svg
|
|
302
|
-
><span>go</span></a
|
|
303
|
-
>
|
|
304
|
-
<a href="#href" class="tsd-index-link"
|
|
305
|
-
><svg
|
|
306
|
-
class="tsd-kind-icon"
|
|
307
|
-
viewBox="0 0 24 24"
|
|
308
|
-
aria-label="Method"
|
|
309
|
-
>
|
|
310
|
-
<use href="../assets/icons.svg#icon-2048"></use></svg
|
|
311
|
-
><span>href</span></a
|
|
312
|
-
>
|
|
313
|
-
<a href="#includes" class="tsd-index-link"
|
|
314
|
-
><svg
|
|
315
|
-
class="tsd-kind-icon"
|
|
316
|
-
viewBox="0 0 24 24"
|
|
317
|
-
aria-label="Method"
|
|
318
|
-
>
|
|
319
|
-
<use href="../assets/icons.svg#icon-2048"></use></svg
|
|
320
|
-
><span>includes</span></a
|
|
321
|
-
>
|
|
322
|
-
<a href="#is" class="tsd-index-link"
|
|
323
|
-
><svg
|
|
324
|
-
class="tsd-kind-icon"
|
|
325
|
-
viewBox="0 0 24 24"
|
|
326
|
-
aria-label="Method"
|
|
327
|
-
>
|
|
328
|
-
<use href="../assets/icons.svg#icon-2048"></use></svg
|
|
329
|
-
><span>is</span></a
|
|
330
|
-
>
|
|
331
|
-
<a href="#lazyload" class="tsd-index-link"
|
|
332
|
-
><svg
|
|
333
|
-
class="tsd-kind-icon"
|
|
334
|
-
viewBox="0 0 24 24"
|
|
335
|
-
aria-label="Method"
|
|
336
|
-
>
|
|
337
|
-
<use href="../assets/icons.svg#icon-2048"></use></svg
|
|
338
|
-
><span>lazy<wbr />Load</span></a
|
|
339
|
-
>
|
|
340
|
-
<a href="#oninvalid" class="tsd-index-link"
|
|
341
|
-
><svg
|
|
342
|
-
class="tsd-kind-icon"
|
|
343
|
-
viewBox="0 0 24 24"
|
|
344
|
-
aria-label="Method"
|
|
345
|
-
>
|
|
346
|
-
<use href="../assets/icons.svg#icon-2048"></use></svg
|
|
347
|
-
><span>on<wbr />Invalid</span></a
|
|
348
|
-
>
|
|
349
|
-
<a href="#reload" class="tsd-index-link"
|
|
350
|
-
><svg
|
|
351
|
-
class="tsd-kind-icon"
|
|
352
|
-
viewBox="0 0 24 24"
|
|
353
|
-
aria-label="Method"
|
|
354
|
-
>
|
|
355
|
-
<use href="../assets/icons.svg#icon-2048"></use></svg
|
|
356
|
-
><span>reload</span></a
|
|
357
|
-
>
|
|
358
|
-
<a href="#state" class="tsd-index-link"
|
|
359
|
-
><svg
|
|
360
|
-
class="tsd-kind-icon"
|
|
361
|
-
viewBox="0 0 24 24"
|
|
362
|
-
aria-label="Method"
|
|
363
|
-
>
|
|
364
|
-
<use href="../assets/icons.svg#icon-2048"></use></svg
|
|
365
|
-
><span>state</span></a
|
|
366
|
-
>
|
|
367
|
-
<a href="#target" class="tsd-index-link"
|
|
368
|
-
><svg
|
|
369
|
-
class="tsd-kind-icon"
|
|
370
|
-
viewBox="0 0 24 24"
|
|
371
|
-
aria-label="Method"
|
|
372
|
-
>
|
|
373
|
-
<use href="../assets/icons.svg#icon-2048"></use></svg
|
|
374
|
-
><span>target</span></a
|
|
375
|
-
>
|
|
376
|
-
<a href="#transitionto" class="tsd-index-link"
|
|
377
|
-
><svg
|
|
378
|
-
class="tsd-kind-icon"
|
|
379
|
-
viewBox="0 0 24 24"
|
|
380
|
-
aria-label="Method"
|
|
381
|
-
>
|
|
382
|
-
<use href="../assets/icons.svg#icon-2048"></use></svg
|
|
383
|
-
><span>transition<wbr />To</span></a
|
|
384
|
-
>
|
|
385
|
-
</div>
|
|
386
|
-
</section>
|
|
387
|
-
</div>
|
|
388
|
-
</details>
|
|
389
|
-
</section>
|
|
390
|
-
</section>
|
|
391
|
-
<details class="tsd-panel-group tsd-member-group tsd-accordion" open>
|
|
392
|
-
<summary
|
|
393
|
-
class="tsd-accordion-summary"
|
|
394
|
-
data-key="section-Constructors"
|
|
395
|
-
>
|
|
396
|
-
<svg
|
|
397
|
-
width="20"
|
|
398
|
-
height="20"
|
|
399
|
-
viewBox="0 0 24 24"
|
|
400
|
-
fill="none"
|
|
401
|
-
aria-hidden="true"
|
|
402
|
-
>
|
|
403
|
-
<use href="../assets/icons.svg#icon-chevronDown"></use>
|
|
404
|
-
</svg>
|
|
405
|
-
<h2>Constructors</h2>
|
|
406
|
-
</summary>
|
|
407
|
-
<section>
|
|
408
|
-
<section class="tsd-panel tsd-member">
|
|
409
|
-
<h3 class="tsd-anchor-link" id="constructor">
|
|
410
|
-
<span>constructor</span
|
|
411
|
-
><a
|
|
412
|
-
href="#constructor"
|
|
413
|
-
aria-label="Permalink"
|
|
414
|
-
class="tsd-anchor-icon"
|
|
415
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
416
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
417
|
-
></a>
|
|
418
|
-
</h3>
|
|
419
|
-
<ul class="tsd-signatures">
|
|
420
|
-
<li class="">
|
|
421
|
-
<div
|
|
422
|
-
class="tsd-signature tsd-anchor-link"
|
|
423
|
-
id="constructorstateprovider"
|
|
424
|
-
>
|
|
425
|
-
<span class="tsd-signature-keyword">new</span>
|
|
426
|
-
<span class="tsd-kind-constructor-signature"
|
|
427
|
-
>StateProvider</span
|
|
428
|
-
><span class="tsd-signature-symbol">(</span
|
|
429
|
-
><span class="tsd-kind-parameter">globals</span
|
|
430
|
-
><span class="tsd-signature-symbol">:</span>
|
|
431
|
-
<a
|
|
432
|
-
href="router_globals.RouterGlobals.html"
|
|
433
|
-
class="tsd-signature-type tsd-kind-class"
|
|
434
|
-
>RouterGlobals</a
|
|
435
|
-
><span class="tsd-signature-symbol">,</span>
|
|
436
|
-
<span class="tsd-kind-parameter">transitionService</span
|
|
437
|
-
><span class="tsd-signature-symbol">:</span>
|
|
438
|
-
<span class="tsd-signature-type">any</span
|
|
439
|
-
><span class="tsd-signature-symbol">)</span
|
|
440
|
-
><span class="tsd-signature-symbol">:</span>
|
|
441
|
-
<a href="" class="tsd-signature-type tsd-kind-class"
|
|
442
|
-
>StateProvider</a
|
|
443
|
-
><a
|
|
444
|
-
href="#constructorstateprovider"
|
|
445
|
-
aria-label="Permalink"
|
|
446
|
-
class="tsd-anchor-icon"
|
|
447
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
448
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
449
|
-
></a>
|
|
450
|
-
</div>
|
|
451
|
-
<div class="tsd-description">
|
|
452
|
-
<div class="tsd-parameters">
|
|
453
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
454
|
-
<ul class="tsd-parameter-list">
|
|
455
|
-
<li>
|
|
456
|
-
<span
|
|
457
|
-
><span class="tsd-kind-parameter">globals</span>:
|
|
458
|
-
<a
|
|
459
|
-
href="router_globals.RouterGlobals.html"
|
|
460
|
-
class="tsd-signature-type tsd-kind-class"
|
|
461
|
-
>RouterGlobals</a
|
|
462
|
-
></span
|
|
463
|
-
>
|
|
464
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
465
|
-
</li>
|
|
466
|
-
<li>
|
|
467
|
-
<span
|
|
468
|
-
><span class="tsd-kind-parameter"
|
|
469
|
-
>transitionService</span
|
|
470
|
-
>: <span class="tsd-signature-type">any</span></span
|
|
471
|
-
>
|
|
472
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
473
|
-
</li>
|
|
474
|
-
</ul>
|
|
475
|
-
</div>
|
|
476
|
-
<h4 class="tsd-returns-title">
|
|
477
|
-
Returns
|
|
478
|
-
<a href="" class="tsd-signature-type tsd-kind-class"
|
|
479
|
-
>StateProvider</a
|
|
480
|
-
>
|
|
481
|
-
</h4>
|
|
482
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
483
|
-
</div>
|
|
484
|
-
</li>
|
|
485
|
-
</ul>
|
|
486
|
-
</section>
|
|
487
|
-
</section>
|
|
488
|
-
</details>
|
|
489
|
-
<details class="tsd-panel-group tsd-member-group tsd-accordion" open>
|
|
490
|
-
<summary class="tsd-accordion-summary" data-key="section-Properties">
|
|
491
|
-
<svg
|
|
492
|
-
width="20"
|
|
493
|
-
height="20"
|
|
494
|
-
viewBox="0 0 24 24"
|
|
495
|
-
fill="none"
|
|
496
|
-
aria-hidden="true"
|
|
497
|
-
>
|
|
498
|
-
<use href="../assets/icons.svg#icon-chevronDown"></use>
|
|
499
|
-
</svg>
|
|
500
|
-
<h2>Properties</h2>
|
|
501
|
-
</summary>
|
|
502
|
-
<section>
|
|
503
|
-
<section class="tsd-panel tsd-member">
|
|
504
|
-
<h3 class="tsd-anchor-link" id="_defaulterrorhandler">
|
|
505
|
-
<span>_<wbr />default<wbr />Error<wbr />Handler</span
|
|
506
|
-
><a
|
|
507
|
-
href="#_defaulterrorhandler"
|
|
508
|
-
aria-label="Permalink"
|
|
509
|
-
class="tsd-anchor-icon"
|
|
510
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
511
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
512
|
-
></a>
|
|
513
|
-
</h3>
|
|
514
|
-
<div class="tsd-signature">
|
|
515
|
-
<span class="tsd-kind-property">_defaultErrorHandler</span
|
|
516
|
-
><span class="tsd-signature-symbol">:</span>
|
|
517
|
-
<span class="tsd-signature-symbol">(</span
|
|
518
|
-
><span class="tsd-kind-parameter">$error$</span
|
|
519
|
-
><span class="tsd-signature-symbol">:</span>
|
|
520
|
-
<span class="tsd-signature-type">any</span
|
|
521
|
-
><span class="tsd-signature-symbol">)</span>
|
|
522
|
-
<span class="tsd-signature-symbol">=></span>
|
|
523
|
-
<span class="tsd-signature-type">never</span>
|
|
524
|
-
</div>
|
|
525
|
-
</section>
|
|
526
|
-
<section class="tsd-panel tsd-member">
|
|
527
|
-
<h3 class="tsd-anchor-link" id="globals">
|
|
528
|
-
<span>globals</span
|
|
529
|
-
><a
|
|
530
|
-
href="#globals"
|
|
531
|
-
aria-label="Permalink"
|
|
532
|
-
class="tsd-anchor-icon"
|
|
533
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
534
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
535
|
-
></a>
|
|
536
|
-
</h3>
|
|
537
|
-
<div class="tsd-signature">
|
|
538
|
-
<span class="tsd-kind-property">globals</span
|
|
539
|
-
><span class="tsd-signature-symbol">:</span>
|
|
540
|
-
<a
|
|
541
|
-
href="router_globals.RouterGlobals.html"
|
|
542
|
-
class="tsd-signature-type tsd-kind-class"
|
|
543
|
-
>RouterGlobals</a
|
|
544
|
-
>
|
|
545
|
-
</div>
|
|
546
|
-
</section>
|
|
547
|
-
<section class="tsd-panel tsd-member">
|
|
548
|
-
<h3 class="tsd-anchor-link" id="invalidcallbacks">
|
|
549
|
-
<span>invalid<wbr />Callbacks</span
|
|
550
|
-
><a
|
|
551
|
-
href="#invalidcallbacks"
|
|
552
|
-
aria-label="Permalink"
|
|
553
|
-
class="tsd-anchor-icon"
|
|
554
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
555
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
556
|
-
></a>
|
|
557
|
-
</h3>
|
|
558
|
-
<div class="tsd-signature">
|
|
559
|
-
<span class="tsd-kind-property">invalidCallbacks</span
|
|
560
|
-
><span class="tsd-signature-symbol">:</span>
|
|
561
|
-
<span class="tsd-signature-type">any</span
|
|
562
|
-
><span class="tsd-signature-symbol">[]</span>
|
|
563
|
-
</div>
|
|
564
|
-
</section>
|
|
565
|
-
<section class="tsd-panel tsd-member">
|
|
566
|
-
<h3 class="tsd-anchor-link" id="stateregistry">
|
|
567
|
-
<span>state<wbr />Registry</span
|
|
568
|
-
><a
|
|
569
|
-
href="#stateregistry"
|
|
570
|
-
aria-label="Permalink"
|
|
571
|
-
class="tsd-anchor-icon"
|
|
572
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
573
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
574
|
-
></a>
|
|
575
|
-
</h3>
|
|
576
|
-
<div class="tsd-signature">
|
|
577
|
-
<span class="tsd-kind-property">stateRegistry</span
|
|
578
|
-
><span class="tsd-signature-symbol">:</span>
|
|
579
|
-
<span class="tsd-signature-type">any</span>
|
|
580
|
-
</div>
|
|
581
|
-
</section>
|
|
582
|
-
<section class="tsd-panel tsd-member">
|
|
583
|
-
<h3 class="tsd-anchor-link" id="transitionservice">
|
|
584
|
-
<span>transition<wbr />Service</span
|
|
585
|
-
><a
|
|
586
|
-
href="#transitionservice"
|
|
587
|
-
aria-label="Permalink"
|
|
588
|
-
class="tsd-anchor-icon"
|
|
589
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
590
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
591
|
-
></a>
|
|
592
|
-
</h3>
|
|
593
|
-
<div class="tsd-signature">
|
|
594
|
-
<span class="tsd-kind-property">transitionService</span
|
|
595
|
-
><span class="tsd-signature-symbol">:</span>
|
|
596
|
-
<span class="tsd-signature-type">any</span>
|
|
597
|
-
</div>
|
|
598
|
-
</section>
|
|
599
|
-
<section class="tsd-panel tsd-member">
|
|
600
|
-
<h3 class="tsd-anchor-link" id="urlservice">
|
|
601
|
-
<span>url<wbr />Service</span
|
|
602
|
-
><a
|
|
603
|
-
href="#urlservice"
|
|
604
|
-
aria-label="Permalink"
|
|
605
|
-
class="tsd-anchor-icon"
|
|
606
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
607
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
608
|
-
></a>
|
|
609
|
-
</h3>
|
|
610
|
-
<div class="tsd-signature">
|
|
611
|
-
<span class="tsd-kind-property">urlService</span
|
|
612
|
-
><span class="tsd-signature-symbol">:</span>
|
|
613
|
-
<span class="tsd-signature-type">any</span>
|
|
614
|
-
</div>
|
|
615
|
-
</section>
|
|
616
|
-
<section class="tsd-panel tsd-member">
|
|
617
|
-
<h3 class="tsd-anchor-link" id="inject">
|
|
618
|
-
<code class="tsd-tag">Static</code><span>$inject</span
|
|
619
|
-
><a
|
|
620
|
-
href="#inject"
|
|
621
|
-
aria-label="Permalink"
|
|
622
|
-
class="tsd-anchor-icon"
|
|
623
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
624
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
625
|
-
></a>
|
|
626
|
-
</h3>
|
|
627
|
-
<div class="tsd-signature">
|
|
628
|
-
<span class="tsd-kind-property">$inject</span
|
|
629
|
-
><span class="tsd-signature-symbol">:</span>
|
|
630
|
-
<span class="tsd-signature-type">string</span
|
|
631
|
-
><span class="tsd-signature-symbol">[]</span
|
|
632
|
-
><span class="tsd-signature-symbol"> = ...</span>
|
|
633
|
-
</div>
|
|
634
|
-
</section>
|
|
635
|
-
</section>
|
|
636
|
-
</details>
|
|
637
|
-
<details class="tsd-panel-group tsd-member-group tsd-accordion" open>
|
|
638
|
-
<summary class="tsd-accordion-summary" data-key="section-Accessors">
|
|
639
|
-
<svg
|
|
640
|
-
width="20"
|
|
641
|
-
height="20"
|
|
642
|
-
viewBox="0 0 24 24"
|
|
643
|
-
fill="none"
|
|
644
|
-
aria-hidden="true"
|
|
645
|
-
>
|
|
646
|
-
<use href="../assets/icons.svg#icon-chevronDown"></use>
|
|
647
|
-
</svg>
|
|
648
|
-
<h2>Accessors</h2>
|
|
649
|
-
</summary>
|
|
650
|
-
<section>
|
|
651
|
-
<section class="tsd-panel tsd-member">
|
|
652
|
-
<h3 class="tsd-anchor-link" id="current">
|
|
653
|
-
<span>$current</span
|
|
654
|
-
><a
|
|
655
|
-
href="#current"
|
|
656
|
-
aria-label="Permalink"
|
|
657
|
-
class="tsd-anchor-icon"
|
|
658
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
659
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
660
|
-
></a>
|
|
661
|
-
</h3>
|
|
662
|
-
<ul class="tsd-signatures">
|
|
663
|
-
<li>
|
|
664
|
-
<div class="tsd-signature" id="currentcurrent">
|
|
665
|
-
<span class="tsd-signature-keyword">get</span>
|
|
666
|
-
<span class="tsd-kind-get-signature">$current</span
|
|
667
|
-
><span class="tsd-signature-symbol">()</span
|
|
668
|
-
><span class="tsd-signature-symbol">:</span>
|
|
669
|
-
<a
|
|
670
|
-
href="router_state_state-object.StateObject.html"
|
|
671
|
-
class="tsd-signature-type tsd-kind-class"
|
|
672
|
-
>StateObject</a
|
|
673
|
-
>
|
|
674
|
-
</div>
|
|
675
|
-
<div class="tsd-description">
|
|
676
|
-
<div class="tsd-comment tsd-typography">
|
|
677
|
-
<p>The current [[StateObject]] (an internal API)</p>
|
|
678
|
-
</div>
|
|
679
|
-
<h4 class="tsd-returns-title">
|
|
680
|
-
Returns
|
|
681
|
-
<a
|
|
682
|
-
href="router_state_state-object.StateObject.html"
|
|
683
|
-
class="tsd-signature-type tsd-kind-class"
|
|
684
|
-
>StateObject</a
|
|
685
|
-
>
|
|
686
|
-
</h4>
|
|
687
|
-
<div class="tsd-comment tsd-typography">
|
|
688
|
-
<div class="tsd-tag-deprecated">
|
|
689
|
-
<h4 class="tsd-anchor-link" id="deprecated">
|
|
690
|
-
Deprecated<a
|
|
691
|
-
href="#deprecated"
|
|
692
|
-
aria-label="Permalink"
|
|
693
|
-
class="tsd-anchor-icon"
|
|
694
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
695
|
-
<use
|
|
696
|
-
href="../assets/icons.svg#icon-anchor"
|
|
697
|
-
></use></svg
|
|
698
|
-
></a>
|
|
699
|
-
</h4>
|
|
700
|
-
<p>
|
|
701
|
-
This is a passthrough through to
|
|
702
|
-
[[RouterGlobals.$current]]
|
|
703
|
-
</p>
|
|
704
|
-
</div>
|
|
705
|
-
</div>
|
|
706
|
-
</div>
|
|
707
|
-
</li>
|
|
708
|
-
</ul>
|
|
709
|
-
</section>
|
|
710
|
-
<section class="tsd-panel tsd-member">
|
|
711
|
-
<h3 class="tsd-anchor-link" id="current-1">
|
|
712
|
-
<span>current</span
|
|
713
|
-
><a
|
|
714
|
-
href="#current-1"
|
|
715
|
-
aria-label="Permalink"
|
|
716
|
-
class="tsd-anchor-icon"
|
|
717
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
718
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
719
|
-
></a>
|
|
720
|
-
</h3>
|
|
721
|
-
<ul class="tsd-signatures">
|
|
722
|
-
<li>
|
|
723
|
-
<div class="tsd-signature" id="currentcurrent-1">
|
|
724
|
-
<span class="tsd-signature-keyword">get</span>
|
|
725
|
-
<span class="tsd-kind-get-signature">current</span
|
|
726
|
-
><span class="tsd-signature-symbol">()</span
|
|
727
|
-
><span class="tsd-signature-symbol">:</span>
|
|
728
|
-
<a
|
|
729
|
-
href="../interfaces/router_state_interface.StateDeclaration.html"
|
|
730
|
-
class="tsd-signature-type tsd-kind-interface"
|
|
731
|
-
>StateDeclaration</a
|
|
732
|
-
>
|
|
733
|
-
</div>
|
|
734
|
-
<div class="tsd-description">
|
|
735
|
-
<div class="tsd-comment tsd-typography">
|
|
736
|
-
<p>The current [[StateDeclaration]]</p>
|
|
737
|
-
</div>
|
|
738
|
-
<h4 class="tsd-returns-title">
|
|
739
|
-
Returns
|
|
740
|
-
<a
|
|
741
|
-
href="../interfaces/router_state_interface.StateDeclaration.html"
|
|
742
|
-
class="tsd-signature-type tsd-kind-interface"
|
|
743
|
-
>StateDeclaration</a
|
|
744
|
-
>
|
|
745
|
-
</h4>
|
|
746
|
-
<div class="tsd-comment tsd-typography">
|
|
747
|
-
<div class="tsd-tag-deprecated">
|
|
748
|
-
<h4 class="tsd-anchor-link" id="deprecated-1">
|
|
749
|
-
Deprecated<a
|
|
750
|
-
href="#deprecated-1"
|
|
751
|
-
aria-label="Permalink"
|
|
752
|
-
class="tsd-anchor-icon"
|
|
753
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
754
|
-
<use
|
|
755
|
-
href="../assets/icons.svg#icon-anchor"
|
|
756
|
-
></use></svg
|
|
757
|
-
></a>
|
|
758
|
-
</h4>
|
|
759
|
-
<p>
|
|
760
|
-
This is a passthrough through to
|
|
761
|
-
[[RouterGlobals.current]]
|
|
762
|
-
</p>
|
|
763
|
-
</div>
|
|
764
|
-
</div>
|
|
765
|
-
</div>
|
|
766
|
-
</li>
|
|
767
|
-
</ul>
|
|
768
|
-
</section>
|
|
769
|
-
<section class="tsd-panel tsd-member">
|
|
770
|
-
<h3 class="tsd-anchor-link" id="params">
|
|
771
|
-
<span>params</span
|
|
772
|
-
><a
|
|
773
|
-
href="#params"
|
|
774
|
-
aria-label="Permalink"
|
|
775
|
-
class="tsd-anchor-icon"
|
|
776
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
777
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
778
|
-
></a>
|
|
779
|
-
</h3>
|
|
780
|
-
<ul class="tsd-signatures">
|
|
781
|
-
<li>
|
|
782
|
-
<div class="tsd-signature" id="paramsparams">
|
|
783
|
-
<span class="tsd-signature-keyword">get</span>
|
|
784
|
-
<span class="tsd-kind-get-signature">params</span
|
|
785
|
-
><span class="tsd-signature-symbol">()</span
|
|
786
|
-
><span class="tsd-signature-symbol">:</span>
|
|
787
|
-
<a
|
|
788
|
-
href="router_params_state-params.StateParams.html"
|
|
789
|
-
class="tsd-signature-type tsd-kind-class"
|
|
790
|
-
>StateParams</a
|
|
791
|
-
>
|
|
792
|
-
</div>
|
|
793
|
-
<div class="tsd-description">
|
|
794
|
-
<div class="tsd-comment tsd-typography">
|
|
795
|
-
<p>The latest successful state parameters</p>
|
|
796
|
-
</div>
|
|
797
|
-
<h4 class="tsd-returns-title">
|
|
798
|
-
Returns
|
|
799
|
-
<a
|
|
800
|
-
href="router_params_state-params.StateParams.html"
|
|
801
|
-
class="tsd-signature-type tsd-kind-class"
|
|
802
|
-
>StateParams</a
|
|
803
|
-
>
|
|
804
|
-
</h4>
|
|
805
|
-
<div class="tsd-comment tsd-typography">
|
|
806
|
-
<div class="tsd-tag-deprecated">
|
|
807
|
-
<h4 class="tsd-anchor-link" id="deprecated-2">
|
|
808
|
-
Deprecated<a
|
|
809
|
-
href="#deprecated-2"
|
|
810
|
-
aria-label="Permalink"
|
|
811
|
-
class="tsd-anchor-icon"
|
|
812
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
813
|
-
<use
|
|
814
|
-
href="../assets/icons.svg#icon-anchor"
|
|
815
|
-
></use></svg
|
|
816
|
-
></a>
|
|
817
|
-
</h4>
|
|
818
|
-
<p>
|
|
819
|
-
This is a passthrough through to
|
|
820
|
-
[[RouterGlobals.params]]
|
|
821
|
-
</p>
|
|
822
|
-
</div>
|
|
823
|
-
</div>
|
|
824
|
-
</div>
|
|
825
|
-
</li>
|
|
826
|
-
</ul>
|
|
827
|
-
</section>
|
|
828
|
-
</section>
|
|
829
|
-
</details>
|
|
830
|
-
<details class="tsd-panel-group tsd-member-group tsd-accordion" open>
|
|
831
|
-
<summary class="tsd-accordion-summary" data-key="section-Methods">
|
|
832
|
-
<svg
|
|
833
|
-
width="20"
|
|
834
|
-
height="20"
|
|
835
|
-
viewBox="0 0 24 24"
|
|
836
|
-
fill="none"
|
|
837
|
-
aria-hidden="true"
|
|
838
|
-
>
|
|
839
|
-
<use href="../assets/icons.svg#icon-chevronDown"></use>
|
|
840
|
-
</svg>
|
|
841
|
-
<h2>Methods</h2>
|
|
842
|
-
</summary>
|
|
843
|
-
<section>
|
|
844
|
-
<section class="tsd-panel tsd-member">
|
|
845
|
-
<h3 class="tsd-anchor-link" id="_handleinvalidtargetstate">
|
|
846
|
-
<span
|
|
847
|
-
>_<wbr />handle<wbr />Invalid<wbr />Target<wbr />State</span
|
|
848
|
-
><a
|
|
849
|
-
href="#_handleinvalidtargetstate"
|
|
850
|
-
aria-label="Permalink"
|
|
851
|
-
class="tsd-anchor-icon"
|
|
852
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
853
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
854
|
-
></a>
|
|
855
|
-
</h3>
|
|
856
|
-
<ul class="tsd-signatures">
|
|
857
|
-
<li class="">
|
|
858
|
-
<div
|
|
859
|
-
class="tsd-signature tsd-anchor-link"
|
|
860
|
-
id="_handleinvalidtargetstate-1"
|
|
861
|
-
>
|
|
862
|
-
<span class="tsd-kind-call-signature"
|
|
863
|
-
>_handleInvalidTargetState</span
|
|
864
|
-
><span class="tsd-signature-symbol">(</span
|
|
865
|
-
><span class="tsd-kind-parameter">fromPath</span
|
|
866
|
-
><span class="tsd-signature-symbol">:</span>
|
|
867
|
-
<span class="tsd-signature-type">any</span
|
|
868
|
-
><span class="tsd-signature-symbol">,</span>
|
|
869
|
-
<span class="tsd-kind-parameter">toState</span
|
|
870
|
-
><span class="tsd-signature-symbol">:</span>
|
|
871
|
-
<span class="tsd-signature-type">any</span
|
|
872
|
-
><span class="tsd-signature-symbol">)</span
|
|
873
|
-
><span class="tsd-signature-symbol">:</span>
|
|
874
|
-
<span class="tsd-signature-type">any</span
|
|
875
|
-
><a
|
|
876
|
-
href="#_handleinvalidtargetstate-1"
|
|
877
|
-
aria-label="Permalink"
|
|
878
|
-
class="tsd-anchor-icon"
|
|
879
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
880
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
881
|
-
></a>
|
|
882
|
-
</div>
|
|
883
|
-
<div class="tsd-description">
|
|
884
|
-
<code class="tsd-tag">Internal</code>
|
|
885
|
-
<div class="tsd-comment tsd-typography">
|
|
886
|
-
<p>
|
|
887
|
-
Handler for when [[transitionTo]] is called with an
|
|
888
|
-
invalid state.
|
|
889
|
-
</p>
|
|
890
|
-
<p>
|
|
891
|
-
Invokes the [[onInvalid]] callbacks, in natural order.
|
|
892
|
-
Each callback's return value is checked in sequence
|
|
893
|
-
until one of them returns an instance of TargetState.
|
|
894
|
-
The results of the callbacks are wrapped in
|
|
895
|
-
Promise.resolve(), so the callbacks may return promises.
|
|
896
|
-
</p>
|
|
897
|
-
<p>
|
|
898
|
-
If a callback returns an TargetState, then it is used as
|
|
899
|
-
arguments to $state.transitionTo() and the result
|
|
900
|
-
returned.
|
|
901
|
-
</p>
|
|
902
|
-
</div>
|
|
903
|
-
<div class="tsd-parameters">
|
|
904
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
905
|
-
<ul class="tsd-parameter-list">
|
|
906
|
-
<li>
|
|
907
|
-
<span
|
|
908
|
-
><span class="tsd-kind-parameter">fromPath</span>:
|
|
909
|
-
<span class="tsd-signature-type">any</span></span
|
|
910
|
-
>
|
|
911
|
-
</li>
|
|
912
|
-
<li>
|
|
913
|
-
<span
|
|
914
|
-
><span class="tsd-kind-parameter">toState</span>:
|
|
915
|
-
<span class="tsd-signature-type">any</span></span
|
|
916
|
-
>
|
|
917
|
-
</li>
|
|
918
|
-
</ul>
|
|
919
|
-
</div>
|
|
920
|
-
<h4 class="tsd-returns-title">
|
|
921
|
-
Returns <span class="tsd-signature-type">any</span>
|
|
922
|
-
</h4>
|
|
923
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
924
|
-
</div>
|
|
925
|
-
</li>
|
|
926
|
-
</ul>
|
|
927
|
-
</section>
|
|
928
|
-
<section class="tsd-panel tsd-member">
|
|
929
|
-
<h3 class="tsd-anchor-link" id="get">
|
|
930
|
-
<span>$get</span
|
|
931
|
-
><a href="#get" aria-label="Permalink" class="tsd-anchor-icon"
|
|
932
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
933
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
934
|
-
></a>
|
|
935
|
-
</h3>
|
|
936
|
-
<ul class="tsd-signatures">
|
|
937
|
-
<li class="">
|
|
938
|
-
<div class="tsd-signature tsd-anchor-link" id="get-1">
|
|
939
|
-
<span class="tsd-kind-call-signature">$get</span
|
|
940
|
-
><span class="tsd-signature-symbol">()</span
|
|
941
|
-
><span class="tsd-signature-symbol">:</span>
|
|
942
|
-
<a href="" class="tsd-signature-type tsd-kind-class"
|
|
943
|
-
>StateProvider</a
|
|
944
|
-
><a
|
|
945
|
-
href="#get-1"
|
|
946
|
-
aria-label="Permalink"
|
|
947
|
-
class="tsd-anchor-icon"
|
|
948
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
949
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
950
|
-
></a>
|
|
951
|
-
</div>
|
|
952
|
-
<div class="tsd-description">
|
|
953
|
-
<h4 class="tsd-returns-title">
|
|
954
|
-
Returns
|
|
955
|
-
<a href="" class="tsd-signature-type tsd-kind-class"
|
|
956
|
-
>StateProvider</a
|
|
957
|
-
>
|
|
958
|
-
</h4>
|
|
959
|
-
</div>
|
|
960
|
-
</li>
|
|
961
|
-
</ul>
|
|
962
|
-
</section>
|
|
963
|
-
<section class="tsd-panel tsd-member">
|
|
964
|
-
<h3 class="tsd-anchor-link" id="decorator">
|
|
965
|
-
<span>decorator</span
|
|
966
|
-
><a
|
|
967
|
-
href="#decorator"
|
|
968
|
-
aria-label="Permalink"
|
|
969
|
-
class="tsd-anchor-icon"
|
|
970
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
971
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
972
|
-
></a>
|
|
973
|
-
</h3>
|
|
974
|
-
<ul class="tsd-signatures">
|
|
975
|
-
<li class="">
|
|
976
|
-
<div class="tsd-signature tsd-anchor-link" id="decorator-1">
|
|
977
|
-
<span class="tsd-kind-call-signature">decorator</span
|
|
978
|
-
><span class="tsd-signature-symbol">(</span
|
|
979
|
-
><span class="tsd-kind-parameter">name</span
|
|
980
|
-
><span class="tsd-signature-symbol">:</span>
|
|
981
|
-
<span class="tsd-signature-type">string</span
|
|
982
|
-
><span class="tsd-signature-symbol">,</span>
|
|
983
|
-
<span class="tsd-kind-parameter">func</span
|
|
984
|
-
><span class="tsd-signature-symbol">:</span>
|
|
985
|
-
<span class="tsd-signature-type">any</span
|
|
986
|
-
><span class="tsd-signature-symbol">)</span
|
|
987
|
-
><span class="tsd-signature-symbol">:</span>
|
|
988
|
-
<span class="tsd-signature-type">any</span
|
|
989
|
-
><a
|
|
990
|
-
href="#decorator-1"
|
|
991
|
-
aria-label="Permalink"
|
|
992
|
-
class="tsd-anchor-icon"
|
|
993
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
994
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
995
|
-
></a>
|
|
996
|
-
</div>
|
|
997
|
-
<div class="tsd-description">
|
|
998
|
-
<div class="tsd-comment tsd-typography">
|
|
999
|
-
<p>Decorates states when they are registered</p>
|
|
1000
|
-
<p>
|
|
1001
|
-
Allows you to extend (carefully) or override (at your
|
|
1002
|
-
own peril) the <code>stateBuilder</code> object used
|
|
1003
|
-
internally by [[StateRegistry]]. This can be used to add
|
|
1004
|
-
custom functionality to ng-router, for example inferring
|
|
1005
|
-
templateUrl based on the state name.
|
|
1006
|
-
</p>
|
|
1007
|
-
<p>
|
|
1008
|
-
When passing only a name, it returns the current
|
|
1009
|
-
(original or decorated) builder function that matches
|
|
1010
|
-
<code>name</code>.
|
|
1011
|
-
</p>
|
|
1012
|
-
<p>
|
|
1013
|
-
The builder functions that can be decorated are listed
|
|
1014
|
-
below. Though not all necessarily have a good use case
|
|
1015
|
-
for decoration, that is up to you to decide.
|
|
1016
|
-
</p>
|
|
1017
|
-
<p>
|
|
1018
|
-
In addition, users can attach custom decorators, which
|
|
1019
|
-
will generate new properties within the state's internal
|
|
1020
|
-
definition. There is currently no clear use-case for
|
|
1021
|
-
this beyond accessing internal states (i.e.
|
|
1022
|
-
$state.$current), however, expect this to become
|
|
1023
|
-
increasingly relevant as we introduce additional
|
|
1024
|
-
meta-programming features.
|
|
1025
|
-
</p>
|
|
1026
|
-
<p>
|
|
1027
|
-
<strong>Warning</strong>: Decorators should not be
|
|
1028
|
-
interdependent because the order of execution of the
|
|
1029
|
-
builder functions in non-deterministic. Builder
|
|
1030
|
-
functions should only be dependent on the state
|
|
1031
|
-
definition object and super function.
|
|
1032
|
-
</p>
|
|
1033
|
-
<p>
|
|
1034
|
-
Existing builder functions and current return values:
|
|
1035
|
-
</p>
|
|
1036
|
-
<ul>
|
|
1037
|
-
<li>
|
|
1038
|
-
<strong>parent</strong> <code>{object}</code> -
|
|
1039
|
-
returns the parent state object.
|
|
1040
|
-
</li>
|
|
1041
|
-
<li>
|
|
1042
|
-
<strong>data</strong> <code>{object}</code> - returns
|
|
1043
|
-
state data, including any inherited data that is not
|
|
1044
|
-
overridden by own values (if any).
|
|
1045
|
-
</li>
|
|
1046
|
-
<li>
|
|
1047
|
-
<strong>url</strong> <code>{object}</code> - returns a
|
|
1048
|
-
ui.router.util.type:UrlMatcher UrlMatcher or
|
|
1049
|
-
<code>null</code>.
|
|
1050
|
-
</li>
|
|
1051
|
-
<li>
|
|
1052
|
-
<strong>navigable</strong> <code>{object}</code> -
|
|
1053
|
-
returns closest ancestor state that has a URL (aka is
|
|
1054
|
-
navigable).
|
|
1055
|
-
</li>
|
|
1056
|
-
<li>
|
|
1057
|
-
<strong>params</strong> <code>{object}</code> -
|
|
1058
|
-
returns an array of state params that are ensured to
|
|
1059
|
-
be a super-set of parent's params.
|
|
1060
|
-
</li>
|
|
1061
|
-
<li>
|
|
1062
|
-
<strong>views</strong> <code>{object}</code> - returns
|
|
1063
|
-
a views object where each key is an absolute view name
|
|
1064
|
-
(i.e. "viewName@stateName") and each value
|
|
1065
|
-
is the config object (template, controller) for the
|
|
1066
|
-
view. Even when you don't use the views object
|
|
1067
|
-
explicitly on a state config, one is still created for
|
|
1068
|
-
you internally. So by decorating this builder function
|
|
1069
|
-
you have access to decorating template and controller
|
|
1070
|
-
properties.
|
|
1071
|
-
</li>
|
|
1072
|
-
<li>
|
|
1073
|
-
<strong>ownParams</strong> <code>{object}</code> -
|
|
1074
|
-
returns an array of params that belong to the state,
|
|
1075
|
-
not including any params defined by ancestor states.
|
|
1076
|
-
</li>
|
|
1077
|
-
<li>
|
|
1078
|
-
<strong>path</strong> <code>{string}</code> - returns
|
|
1079
|
-
the full path from the root down to this state. Needed
|
|
1080
|
-
for state activation.
|
|
1081
|
-
</li>
|
|
1082
|
-
<li>
|
|
1083
|
-
<strong>includes</strong> <code>{object}</code> -
|
|
1084
|
-
returns an object that includes every state that would
|
|
1085
|
-
pass a <code>$state.includes()</code> test.
|
|
1086
|
-
</li>
|
|
1087
|
-
</ul>
|
|
1088
|
-
<h4 id="example" class="tsd-anchor-link">
|
|
1089
|
-
Example:<a
|
|
1090
|
-
href="#example"
|
|
1091
|
-
aria-label="Permalink"
|
|
1092
|
-
class="tsd-anchor-icon"
|
|
1093
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1094
|
-
<use
|
|
1095
|
-
href="../assets/icons.svg#icon-anchor"
|
|
1096
|
-
></use></svg
|
|
1097
|
-
></a>
|
|
1098
|
-
</h4>
|
|
1099
|
-
<p>
|
|
1100
|
-
Override the internal 'views' builder with a function
|
|
1101
|
-
that takes the state definition, and a reference to the
|
|
1102
|
-
internal function being overridden:
|
|
1103
|
-
</p>
|
|
1104
|
-
<pre><code class="js"><span class="hl-10">$stateProvider</span><span class="hl-1">.</span><span class="hl-0">decorator</span><span class="hl-1">(</span><span class="hl-2">'views'</span><span class="hl-1">, </span><span class="hl-11">function</span><span class="hl-1"> (</span><span class="hl-10">state</span><span class="hl-1">, </span><span class="hl-10">parent</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-11">let</span><span class="hl-1"> </span><span class="hl-10">result</span><span class="hl-1"> = {},</span><br/><span class="hl-1"> </span><span class="hl-10">views</span><span class="hl-1"> = </span><span class="hl-0">parent</span><span class="hl-1">(</span><span class="hl-10">state</span><span class="hl-1">);</span><br/><br/><span class="hl-1"> </span><span class="hl-10">angular</span><span class="hl-1">.</span><span class="hl-0">forEach</span><span class="hl-1">(</span><span class="hl-10">views</span><span class="hl-1">, </span><span class="hl-11">function</span><span class="hl-1"> (</span><span class="hl-10">config</span><span class="hl-1">, </span><span class="hl-10">name</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-11">let</span><span class="hl-1"> </span><span class="hl-10">autoName</span><span class="hl-1"> = (</span><span class="hl-10">state</span><span class="hl-1">.</span><span class="hl-10">name</span><span class="hl-1"> + </span><span class="hl-2">'.'</span><span class="hl-1"> + </span><span class="hl-10">name</span><span class="hl-1">).</span><span class="hl-0">replace</span><span class="hl-1">(</span><span class="hl-2">'.'</span><span class="hl-1">, </span><span class="hl-2">'/'</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-10">config</span><span class="hl-1">.</span><span class="hl-10">templateUrl</span><span class="hl-1"> = </span><span class="hl-10">config</span><span class="hl-1">.</span><span class="hl-10">templateUrl</span><span class="hl-1"> || </span><span class="hl-2">'/partials/'</span><span class="hl-1"> + </span><span class="hl-10">autoName</span><span class="hl-1"> + </span><span class="hl-2">'.html'</span><span class="hl-1">;</span><br/><span class="hl-1"> </span><span class="hl-10">result</span><span class="hl-1">[</span><span class="hl-10">name</span><span class="hl-1">] = </span><span class="hl-10">config</span><span class="hl-1">;</span><br/><span class="hl-1"> });</span><br/><span class="hl-1"> </span><span class="hl-8">return</span><span class="hl-1"> </span><span class="hl-10">result</span><span class="hl-1">;</span><br/><span class="hl-1">});</span><br/><br/><span class="hl-10">$stateProvider</span><span class="hl-1">.</span><span class="hl-0">state</span><span class="hl-1">(</span><span class="hl-2">'home'</span><span class="hl-1">, {</span><br/><span class="hl-1"> </span><span class="hl-10">views:</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-2">'contact.list'</span><span class="hl-10">:</span><span class="hl-1"> { </span><span class="hl-10">controller:</span><span class="hl-1"> </span><span class="hl-2">'ListController'</span><span class="hl-1"> },</span><br/><span class="hl-1"> </span><span class="hl-2">'contact.item'</span><span class="hl-10">:</span><span class="hl-1"> { </span><span class="hl-10">controller:</span><span class="hl-1"> </span><span class="hl-2">'ItemController'</span><span class="hl-1"> }</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">});</span>
|
|
1105
|
-
</code><button type="button">Copy</button></pre>
|
|
1106
|
-
|
|
1107
|
-
<pre><code class="js"><span class="hl-9">// Auto-populates list and item views with /partials/home/contact/list.html,</span><br/><span class="hl-9">// and /partials/home/contact/item.html, respectively.</span><br/><span class="hl-10">$state</span><span class="hl-1">.</span><span class="hl-0">go</span><span class="hl-1">(</span><span class="hl-2">'home'</span><span class="hl-1">);</span>
|
|
1108
|
-
</code><button type="button">Copy</button></pre>
|
|
1109
|
-
</div>
|
|
1110
|
-
<div class="tsd-parameters">
|
|
1111
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
1112
|
-
<ul class="tsd-parameter-list">
|
|
1113
|
-
<li>
|
|
1114
|
-
<span
|
|
1115
|
-
><span class="tsd-kind-parameter">name</span>:
|
|
1116
|
-
<span class="tsd-signature-type">string</span></span
|
|
1117
|
-
>
|
|
1118
|
-
<div class="tsd-comment tsd-typography">
|
|
1119
|
-
<p>The name of the builder function to decorate.</p>
|
|
1120
|
-
</div>
|
|
1121
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
1122
|
-
</li>
|
|
1123
|
-
<li>
|
|
1124
|
-
<span
|
|
1125
|
-
><span class="tsd-kind-parameter">func</span>:
|
|
1126
|
-
<span class="tsd-signature-type">any</span></span
|
|
1127
|
-
>
|
|
1128
|
-
<div class="tsd-comment tsd-typography">
|
|
1129
|
-
<p>
|
|
1130
|
-
A function that is responsible for decorating the
|
|
1131
|
-
original builder function. The function receives
|
|
1132
|
-
two parameters:
|
|
1133
|
-
</p>
|
|
1134
|
-
<ul>
|
|
1135
|
-
<li>
|
|
1136
|
-
<code>{object}</code> - state - The state config
|
|
1137
|
-
object.
|
|
1138
|
-
</li>
|
|
1139
|
-
<li>
|
|
1140
|
-
<code>{object}</code> - super - The original
|
|
1141
|
-
builder function.
|
|
1142
|
-
</li>
|
|
1143
|
-
</ul>
|
|
1144
|
-
</div>
|
|
1145
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
1146
|
-
</li>
|
|
1147
|
-
</ul>
|
|
1148
|
-
</div>
|
|
1149
|
-
<h4 class="tsd-returns-title">
|
|
1150
|
-
Returns <span class="tsd-signature-type">any</span>
|
|
1151
|
-
</h4>
|
|
1152
|
-
<p>$stateProvider - $stateProvider instance</p>
|
|
1153
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
1154
|
-
</div>
|
|
1155
|
-
</li>
|
|
1156
|
-
</ul>
|
|
1157
|
-
</section>
|
|
1158
|
-
<section class="tsd-panel tsd-member">
|
|
1159
|
-
<h3 class="tsd-anchor-link" id="defaulterrorhandler">
|
|
1160
|
-
<span>default<wbr />Error<wbr />Handler</span
|
|
1161
|
-
><a
|
|
1162
|
-
href="#defaulterrorhandler"
|
|
1163
|
-
aria-label="Permalink"
|
|
1164
|
-
class="tsd-anchor-icon"
|
|
1165
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1166
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1167
|
-
></a>
|
|
1168
|
-
</h3>
|
|
1169
|
-
<ul class="tsd-signatures">
|
|
1170
|
-
<li class="">
|
|
1171
|
-
<div
|
|
1172
|
-
class="tsd-signature tsd-anchor-link"
|
|
1173
|
-
id="defaulterrorhandler-1"
|
|
1174
|
-
>
|
|
1175
|
-
<span class="tsd-kind-call-signature"
|
|
1176
|
-
>defaultErrorHandler</span
|
|
1177
|
-
><span class="tsd-signature-symbol">(</span
|
|
1178
|
-
><span class="tsd-kind-parameter">handler</span
|
|
1179
|
-
><span class="tsd-signature-symbol">:</span>
|
|
1180
|
-
<span class="tsd-signature-type">any</span
|
|
1181
|
-
><span class="tsd-signature-symbol">)</span
|
|
1182
|
-
><span class="tsd-signature-symbol">:</span>
|
|
1183
|
-
<span class="tsd-signature-type">any</span
|
|
1184
|
-
><a
|
|
1185
|
-
href="#defaulterrorhandler-1"
|
|
1186
|
-
aria-label="Permalink"
|
|
1187
|
-
class="tsd-anchor-icon"
|
|
1188
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1189
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1190
|
-
></a>
|
|
1191
|
-
</div>
|
|
1192
|
-
<div class="tsd-description">
|
|
1193
|
-
<div class="tsd-comment tsd-typography">
|
|
1194
|
-
<p>
|
|
1195
|
-
Sets or gets the default [[transitionTo]] error handler.
|
|
1196
|
-
</p>
|
|
1197
|
-
<p>
|
|
1198
|
-
The error handler is called when a [[Transition]] is
|
|
1199
|
-
rejected or when any error occurred during the
|
|
1200
|
-
Transition. This includes errors caused by resolves and
|
|
1201
|
-
transition hooks.
|
|
1202
|
-
</p>
|
|
1203
|
-
<p>
|
|
1204
|
-
Note: This handler does not receive certain Transition
|
|
1205
|
-
rejections. Redirected and Ignored Transitions are not
|
|
1206
|
-
considered to be errors by
|
|
1207
|
-
[[StateService.transitionTo]].
|
|
1208
|
-
</p>
|
|
1209
|
-
<p>
|
|
1210
|
-
The built-in default error handler logs the error to the
|
|
1211
|
-
console.
|
|
1212
|
-
</p>
|
|
1213
|
-
<p>You can provide your own custom handler.</p>
|
|
1214
|
-
<h4 id="example-1" class="tsd-anchor-link">
|
|
1215
|
-
Example:<a
|
|
1216
|
-
href="#example-1"
|
|
1217
|
-
aria-label="Permalink"
|
|
1218
|
-
class="tsd-anchor-icon"
|
|
1219
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1220
|
-
<use
|
|
1221
|
-
href="../assets/icons.svg#icon-anchor"
|
|
1222
|
-
></use></svg
|
|
1223
|
-
></a>
|
|
1224
|
-
</h4>
|
|
1225
|
-
<pre><code class="js"><span class="hl-10">stateService</span><span class="hl-1">.</span><span class="hl-0">defaultErrorHandler</span><span class="hl-1">(</span><span class="hl-11">function</span><span class="hl-1">() {</span><br/><span class="hl-1"> </span><span class="hl-9">// Do not log transitionTo errors</span><br/><span class="hl-1">});</span>
|
|
1226
|
-
</code><button type="button">Copy</button></pre>
|
|
1227
|
-
</div>
|
|
1228
|
-
<div class="tsd-parameters">
|
|
1229
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
1230
|
-
<ul class="tsd-parameter-list">
|
|
1231
|
-
<li>
|
|
1232
|
-
<span
|
|
1233
|
-
><span class="tsd-kind-parameter">handler</span>:
|
|
1234
|
-
<span class="tsd-signature-type">any</span></span
|
|
1235
|
-
>
|
|
1236
|
-
<div class="tsd-comment tsd-typography">
|
|
1237
|
-
<p>a global error handler function</p>
|
|
1238
|
-
</div>
|
|
1239
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
1240
|
-
</li>
|
|
1241
|
-
</ul>
|
|
1242
|
-
</div>
|
|
1243
|
-
<h4 class="tsd-returns-title">
|
|
1244
|
-
Returns <span class="tsd-signature-type">any</span>
|
|
1245
|
-
</h4>
|
|
1246
|
-
<p>the current global error handler</p>
|
|
1247
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
1248
|
-
</div>
|
|
1249
|
-
</li>
|
|
1250
|
-
</ul>
|
|
1251
|
-
</section>
|
|
1252
|
-
<section class="tsd-panel tsd-member">
|
|
1253
|
-
<h3 class="tsd-anchor-link" id="get-2">
|
|
1254
|
-
<span>get</span
|
|
1255
|
-
><a href="#get-2" aria-label="Permalink" class="tsd-anchor-icon"
|
|
1256
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1257
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1258
|
-
></a>
|
|
1259
|
-
</h3>
|
|
1260
|
-
<ul class="tsd-signatures">
|
|
1261
|
-
<li class="">
|
|
1262
|
-
<div class="tsd-signature tsd-anchor-link" id="get-3">
|
|
1263
|
-
<span class="tsd-kind-call-signature">get</span
|
|
1264
|
-
><span class="tsd-signature-symbol">(</span
|
|
1265
|
-
><span class="tsd-kind-parameter">stateOrName</span
|
|
1266
|
-
><span class="tsd-signature-symbol">:</span>
|
|
1267
|
-
<span class="tsd-signature-type">any</span
|
|
1268
|
-
><span class="tsd-signature-symbol">,</span>
|
|
1269
|
-
<span class="tsd-kind-parameter">base</span
|
|
1270
|
-
><span class="tsd-signature-symbol">:</span>
|
|
1271
|
-
<span class="tsd-signature-type">any</span
|
|
1272
|
-
><span class="tsd-signature-symbol">,</span>
|
|
1273
|
-
<span class="tsd-signature-symbol">...</span
|
|
1274
|
-
><span class="tsd-kind-parameter">args</span
|
|
1275
|
-
><span class="tsd-signature-symbol">:</span>
|
|
1276
|
-
<span class="tsd-signature-type">any</span
|
|
1277
|
-
><span class="tsd-signature-symbol">)</span
|
|
1278
|
-
><span class="tsd-signature-symbol">:</span>
|
|
1279
|
-
<span class="tsd-signature-type">any</span
|
|
1280
|
-
><a
|
|
1281
|
-
href="#get-3"
|
|
1282
|
-
aria-label="Permalink"
|
|
1283
|
-
class="tsd-anchor-icon"
|
|
1284
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1285
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1286
|
-
></a>
|
|
1287
|
-
</div>
|
|
1288
|
-
<div class="tsd-description">
|
|
1289
|
-
<div class="tsd-parameters">
|
|
1290
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
1291
|
-
<ul class="tsd-parameter-list">
|
|
1292
|
-
<li>
|
|
1293
|
-
<span
|
|
1294
|
-
><span class="tsd-kind-parameter">stateOrName</span
|
|
1295
|
-
>: <span class="tsd-signature-type">any</span></span
|
|
1296
|
-
>
|
|
1297
|
-
</li>
|
|
1298
|
-
<li>
|
|
1299
|
-
<span
|
|
1300
|
-
><span class="tsd-kind-parameter">base</span>:
|
|
1301
|
-
<span class="tsd-signature-type">any</span></span
|
|
1302
|
-
>
|
|
1303
|
-
</li>
|
|
1304
|
-
<li>
|
|
1305
|
-
<span
|
|
1306
|
-
><span class="tsd-signature-symbol">...</span
|
|
1307
|
-
><span class="tsd-kind-parameter">args</span>:
|
|
1308
|
-
<span class="tsd-signature-type">any</span></span
|
|
1309
|
-
>
|
|
1310
|
-
</li>
|
|
1311
|
-
</ul>
|
|
1312
|
-
</div>
|
|
1313
|
-
<h4 class="tsd-returns-title">
|
|
1314
|
-
Returns <span class="tsd-signature-type">any</span>
|
|
1315
|
-
</h4>
|
|
1316
|
-
</div>
|
|
1317
|
-
</li>
|
|
1318
|
-
</ul>
|
|
1319
|
-
</section>
|
|
1320
|
-
<section class="tsd-panel tsd-member">
|
|
1321
|
-
<h3 class="tsd-anchor-link" id="getcurrentpath">
|
|
1322
|
-
<span>get<wbr />Current<wbr />Path</span
|
|
1323
|
-
><a
|
|
1324
|
-
href="#getcurrentpath"
|
|
1325
|
-
aria-label="Permalink"
|
|
1326
|
-
class="tsd-anchor-icon"
|
|
1327
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1328
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1329
|
-
></a>
|
|
1330
|
-
</h3>
|
|
1331
|
-
<ul class="tsd-signatures">
|
|
1332
|
-
<li class="">
|
|
1333
|
-
<div
|
|
1334
|
-
class="tsd-signature tsd-anchor-link"
|
|
1335
|
-
id="getcurrentpath-1"
|
|
1336
|
-
>
|
|
1337
|
-
<span class="tsd-kind-call-signature">getCurrentPath</span
|
|
1338
|
-
><span class="tsd-signature-symbol">()</span
|
|
1339
|
-
><span class="tsd-signature-symbol">:</span>
|
|
1340
|
-
<span class="tsd-signature-type">any</span
|
|
1341
|
-
><a
|
|
1342
|
-
href="#getcurrentpath-1"
|
|
1343
|
-
aria-label="Permalink"
|
|
1344
|
-
class="tsd-anchor-icon"
|
|
1345
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1346
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1347
|
-
></a>
|
|
1348
|
-
</div>
|
|
1349
|
-
<div class="tsd-description">
|
|
1350
|
-
<h4 class="tsd-returns-title">
|
|
1351
|
-
Returns <span class="tsd-signature-type">any</span>
|
|
1352
|
-
</h4>
|
|
1353
|
-
</div>
|
|
1354
|
-
</li>
|
|
1355
|
-
</ul>
|
|
1356
|
-
</section>
|
|
1357
|
-
<section class="tsd-panel tsd-member">
|
|
1358
|
-
<h3 class="tsd-anchor-link" id="go">
|
|
1359
|
-
<span>go</span
|
|
1360
|
-
><a href="#go" aria-label="Permalink" class="tsd-anchor-icon"
|
|
1361
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1362
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1363
|
-
></a>
|
|
1364
|
-
</h3>
|
|
1365
|
-
<ul class="tsd-signatures">
|
|
1366
|
-
<li class="">
|
|
1367
|
-
<div class="tsd-signature tsd-anchor-link" id="go-1">
|
|
1368
|
-
<span class="tsd-kind-call-signature">go</span
|
|
1369
|
-
><span class="tsd-signature-symbol">(</span
|
|
1370
|
-
><span class="tsd-kind-parameter">to</span
|
|
1371
|
-
><span class="tsd-signature-symbol">:</span>
|
|
1372
|
-
<span class="tsd-signature-type">any</span
|
|
1373
|
-
><span class="tsd-signature-symbol">,</span>
|
|
1374
|
-
<span class="tsd-kind-parameter">params</span
|
|
1375
|
-
><span class="tsd-signature-symbol">:</span>
|
|
1376
|
-
<span class="tsd-signature-type">any</span
|
|
1377
|
-
><span class="tsd-signature-symbol">,</span>
|
|
1378
|
-
<span class="tsd-kind-parameter">options</span
|
|
1379
|
-
><span class="tsd-signature-symbol">:</span>
|
|
1380
|
-
<span class="tsd-signature-type">any</span
|
|
1381
|
-
><span class="tsd-signature-symbol">)</span
|
|
1382
|
-
><span class="tsd-signature-symbol">:</span>
|
|
1383
|
-
<span class="tsd-signature-type">Promise</span
|
|
1384
|
-
><span class="tsd-signature-symbol"><</span
|
|
1385
|
-
><span class="tsd-signature-type">any</span
|
|
1386
|
-
><span class="tsd-signature-symbol">></span
|
|
1387
|
-
><a
|
|
1388
|
-
href="#go-1"
|
|
1389
|
-
aria-label="Permalink"
|
|
1390
|
-
class="tsd-anchor-icon"
|
|
1391
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1392
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1393
|
-
></a>
|
|
1394
|
-
</div>
|
|
1395
|
-
<div class="tsd-description">
|
|
1396
|
-
<div class="tsd-comment tsd-typography">
|
|
1397
|
-
<p>Transition to a different state and/or parameters</p>
|
|
1398
|
-
<p>
|
|
1399
|
-
Convenience method for transitioning to a new state.
|
|
1400
|
-
</p>
|
|
1401
|
-
<p>
|
|
1402
|
-
<code>$state.go</code> calls
|
|
1403
|
-
<code>$state.transitionTo</code> internally but
|
|
1404
|
-
automatically sets options to
|
|
1405
|
-
<code
|
|
1406
|
-
>{ location: true, inherit: true, relative:
|
|
1407
|
-
router.globals.$current, notify: true }</code
|
|
1408
|
-
>. This allows you to use either an absolute or relative
|
|
1409
|
-
<code>to</code> argument (because of
|
|
1410
|
-
<code>relative: router.globals.$current</code>). It also
|
|
1411
|
-
allows you to specify * only the parameters you'd like
|
|
1412
|
-
to update, while letting unspecified parameters inherit
|
|
1413
|
-
from the current parameter values (because of
|
|
1414
|
-
<code>inherit: true</code>).
|
|
1415
|
-
</p>
|
|
1416
|
-
<h4 id="example-2" class="tsd-anchor-link">
|
|
1417
|
-
Example:<a
|
|
1418
|
-
href="#example-2"
|
|
1419
|
-
aria-label="Permalink"
|
|
1420
|
-
class="tsd-anchor-icon"
|
|
1421
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1422
|
-
<use
|
|
1423
|
-
href="../assets/icons.svg#icon-anchor"
|
|
1424
|
-
></use></svg
|
|
1425
|
-
></a>
|
|
1426
|
-
</h4>
|
|
1427
|
-
<pre><code class="js"><span class="hl-11">let</span><span class="hl-1"> </span><span class="hl-10">app</span><span class="hl-1"> = </span><span class="hl-10">angular</span><span class="hl-1">.</span><span class="hl-0">module</span><span class="hl-1">(</span><span class="hl-2">'app'</span><span class="hl-1">, [</span><span class="hl-2">'ui.router'</span><span class="hl-1">]);</span><br/><br/><span class="hl-10">app</span><span class="hl-1">.</span><span class="hl-0">controller</span><span class="hl-1">(</span><span class="hl-2">'ctrl'</span><span class="hl-1">, </span><span class="hl-11">function</span><span class="hl-1"> (</span><span class="hl-10">$scope</span><span class="hl-1">, </span><span class="hl-10">$state</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-10">$scope</span><span class="hl-1">.</span><span class="hl-0">changeState</span><span class="hl-1"> = </span><span class="hl-11">function</span><span class="hl-1"> () {</span><br/><span class="hl-1"> </span><span class="hl-10">$state</span><span class="hl-1">.</span><span class="hl-0">go</span><span class="hl-1">(</span><span class="hl-2">'contact.detail'</span><span class="hl-1">);</span><br/><span class="hl-1"> };</span><br/><span class="hl-1">});</span>
|
|
1428
|
-
</code><button type="button">Copy</button></pre>
|
|
1429
|
-
</div>
|
|
1430
|
-
<div class="tsd-parameters">
|
|
1431
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
1432
|
-
<ul class="tsd-parameter-list">
|
|
1433
|
-
<li>
|
|
1434
|
-
<span
|
|
1435
|
-
><span class="tsd-kind-parameter">to</span>:
|
|
1436
|
-
<span class="tsd-signature-type">any</span></span
|
|
1437
|
-
>
|
|
1438
|
-
<div class="tsd-comment tsd-typography">
|
|
1439
|
-
<p>
|
|
1440
|
-
Absolute state name, state object, or relative
|
|
1441
|
-
state path (relative to current state).
|
|
1442
|
-
</p>
|
|
1443
|
-
<p>Some examples:</p>
|
|
1444
|
-
<ul>
|
|
1445
|
-
<li>
|
|
1446
|
-
<code>$state.go('contact.detail')</code> - will
|
|
1447
|
-
go to the <code>contact.detail</code> state
|
|
1448
|
-
</li>
|
|
1449
|
-
<li>
|
|
1450
|
-
<code>$state.go('^')</code> - will go to the
|
|
1451
|
-
parent state
|
|
1452
|
-
</li>
|
|
1453
|
-
<li>
|
|
1454
|
-
<code>$state.go('^.sibling')</code> - if current
|
|
1455
|
-
state is <code>home.child</code>, will go to the
|
|
1456
|
-
<code>home.sibling</code> state
|
|
1457
|
-
</li>
|
|
1458
|
-
<li>
|
|
1459
|
-
<code>$state.go('.child.grandchild')</code> - if
|
|
1460
|
-
current state is home, will go to the
|
|
1461
|
-
<code>home.child.grandchild</code> state
|
|
1462
|
-
</li>
|
|
1463
|
-
</ul>
|
|
1464
|
-
</div>
|
|
1465
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
1466
|
-
</li>
|
|
1467
|
-
<li>
|
|
1468
|
-
<span
|
|
1469
|
-
><span class="tsd-kind-parameter">params</span>:
|
|
1470
|
-
<span class="tsd-signature-type">any</span></span
|
|
1471
|
-
>
|
|
1472
|
-
<div class="tsd-comment tsd-typography">
|
|
1473
|
-
<p>
|
|
1474
|
-
A map of the parameters that will be sent to the
|
|
1475
|
-
state, will populate $stateParams.
|
|
1476
|
-
</p>
|
|
1477
|
-
<p>
|
|
1478
|
-
Any parameters that are not specified will be
|
|
1479
|
-
inherited from current parameter values (because
|
|
1480
|
-
of <code>inherit: true</code>). This allows, for
|
|
1481
|
-
example, going to a sibling state that shares
|
|
1482
|
-
parameters defined by a parent state.
|
|
1483
|
-
</p>
|
|
1484
|
-
</div>
|
|
1485
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
1486
|
-
</li>
|
|
1487
|
-
<li>
|
|
1488
|
-
<span
|
|
1489
|
-
><span class="tsd-kind-parameter">options</span>:
|
|
1490
|
-
<span class="tsd-signature-type">any</span></span
|
|
1491
|
-
>
|
|
1492
|
-
<div class="tsd-comment tsd-typography">
|
|
1493
|
-
<p>Transition options</p>
|
|
1494
|
-
</div>
|
|
1495
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
1496
|
-
</li>
|
|
1497
|
-
</ul>
|
|
1498
|
-
</div>
|
|
1499
|
-
<h4 class="tsd-returns-title">
|
|
1500
|
-
Returns <span class="tsd-signature-type">Promise</span
|
|
1501
|
-
><span class="tsd-signature-symbol"><</span
|
|
1502
|
-
><span class="tsd-signature-type">any</span
|
|
1503
|
-
><span class="tsd-signature-symbol">></span>
|
|
1504
|
-
</h4>
|
|
1505
|
-
<p>
|
|
1506
|
-
A promise representing the state of the new transition.
|
|
1507
|
-
</p>
|
|
1508
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
1509
|
-
</div>
|
|
1510
|
-
</li>
|
|
1511
|
-
</ul>
|
|
1512
|
-
</section>
|
|
1513
|
-
<section class="tsd-panel tsd-member">
|
|
1514
|
-
<h3 class="tsd-anchor-link" id="href">
|
|
1515
|
-
<span>href</span
|
|
1516
|
-
><a href="#href" aria-label="Permalink" class="tsd-anchor-icon"
|
|
1517
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1518
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1519
|
-
></a>
|
|
1520
|
-
</h3>
|
|
1521
|
-
<ul class="tsd-signatures">
|
|
1522
|
-
<li class="">
|
|
1523
|
-
<div class="tsd-signature tsd-anchor-link" id="href-1">
|
|
1524
|
-
<span class="tsd-kind-call-signature">href</span
|
|
1525
|
-
><span class="tsd-signature-symbol">(</span
|
|
1526
|
-
><span class="tsd-kind-parameter">stateOrName</span
|
|
1527
|
-
><span class="tsd-signature-symbol">:</span>
|
|
1528
|
-
<span class="tsd-signature-type">any</span
|
|
1529
|
-
><span class="tsd-signature-symbol">,</span>
|
|
1530
|
-
<span class="tsd-kind-parameter">params</span
|
|
1531
|
-
><span class="tsd-signature-symbol">:</span>
|
|
1532
|
-
<span class="tsd-signature-type">any</span
|
|
1533
|
-
><span class="tsd-signature-symbol">,</span>
|
|
1534
|
-
<span class="tsd-kind-parameter">options</span
|
|
1535
|
-
><span class="tsd-signature-symbol">:</span>
|
|
1536
|
-
<span class="tsd-signature-type">any</span
|
|
1537
|
-
><span class="tsd-signature-symbol">)</span
|
|
1538
|
-
><span class="tsd-signature-symbol">:</span>
|
|
1539
|
-
<span class="tsd-signature-type">string</span
|
|
1540
|
-
><a
|
|
1541
|
-
href="#href-1"
|
|
1542
|
-
aria-label="Permalink"
|
|
1543
|
-
class="tsd-anchor-icon"
|
|
1544
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1545
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1546
|
-
></a>
|
|
1547
|
-
</div>
|
|
1548
|
-
<div class="tsd-description">
|
|
1549
|
-
<div class="tsd-comment tsd-typography">
|
|
1550
|
-
<p>Generates a URL for a state and parameters</p>
|
|
1551
|
-
<p>
|
|
1552
|
-
Returns the url for the given state populated with the
|
|
1553
|
-
given params.
|
|
1554
|
-
</p>
|
|
1555
|
-
<h4 id="example-3" class="tsd-anchor-link">
|
|
1556
|
-
Example:<a
|
|
1557
|
-
href="#example-3"
|
|
1558
|
-
aria-label="Permalink"
|
|
1559
|
-
class="tsd-anchor-icon"
|
|
1560
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1561
|
-
<use
|
|
1562
|
-
href="../assets/icons.svg#icon-anchor"
|
|
1563
|
-
></use></svg
|
|
1564
|
-
></a>
|
|
1565
|
-
</h4>
|
|
1566
|
-
<pre><code class="js"><span class="hl-0">expect</span><span class="hl-1">(</span><span class="hl-10">$state</span><span class="hl-1">.</span><span class="hl-0">href</span><span class="hl-1">(</span><span class="hl-2">"about.person"</span><span class="hl-1">, { </span><span class="hl-10">person:</span><span class="hl-1"> </span><span class="hl-2">"bob"</span><span class="hl-1"> })).</span><span class="hl-0">toEqual</span><span class="hl-1">(</span><span class="hl-2">"/about/bob"</span><span class="hl-1">);</span>
|
|
1567
|
-
</code><button type="button">Copy</button></pre>
|
|
1568
|
-
</div>
|
|
1569
|
-
<div class="tsd-parameters">
|
|
1570
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
1571
|
-
<ul class="tsd-parameter-list">
|
|
1572
|
-
<li>
|
|
1573
|
-
<span
|
|
1574
|
-
><span class="tsd-kind-parameter">stateOrName</span
|
|
1575
|
-
>: <span class="tsd-signature-type">any</span></span
|
|
1576
|
-
>
|
|
1577
|
-
<div class="tsd-comment tsd-typography">
|
|
1578
|
-
<p>
|
|
1579
|
-
The state name or state object you'd like to
|
|
1580
|
-
generate a url from.
|
|
1581
|
-
</p>
|
|
1582
|
-
</div>
|
|
1583
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
1584
|
-
</li>
|
|
1585
|
-
<li>
|
|
1586
|
-
<span
|
|
1587
|
-
><span class="tsd-kind-parameter">params</span>:
|
|
1588
|
-
<span class="tsd-signature-type">any</span></span
|
|
1589
|
-
>
|
|
1590
|
-
<div class="tsd-comment tsd-typography">
|
|
1591
|
-
<p>
|
|
1592
|
-
An object of parameter values to fill the state's
|
|
1593
|
-
required parameters.
|
|
1594
|
-
</p>
|
|
1595
|
-
</div>
|
|
1596
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
1597
|
-
</li>
|
|
1598
|
-
<li>
|
|
1599
|
-
<span
|
|
1600
|
-
><span class="tsd-kind-parameter">options</span>:
|
|
1601
|
-
<span class="tsd-signature-type">any</span></span
|
|
1602
|
-
>
|
|
1603
|
-
<div class="tsd-comment tsd-typography">
|
|
1604
|
-
<p>Options object. The options are:</p>
|
|
1605
|
-
</div>
|
|
1606
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
1607
|
-
</li>
|
|
1608
|
-
</ul>
|
|
1609
|
-
</div>
|
|
1610
|
-
<h4 class="tsd-returns-title">
|
|
1611
|
-
Returns <span class="tsd-signature-type">string</span>
|
|
1612
|
-
</h4>
|
|
1613
|
-
<p>compiled state url</p>
|
|
1614
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
1615
|
-
</div>
|
|
1616
|
-
</li>
|
|
1617
|
-
</ul>
|
|
1618
|
-
</section>
|
|
1619
|
-
<section class="tsd-panel tsd-member">
|
|
1620
|
-
<h3 class="tsd-anchor-link" id="includes">
|
|
1621
|
-
<span>includes</span
|
|
1622
|
-
><a
|
|
1623
|
-
href="#includes"
|
|
1624
|
-
aria-label="Permalink"
|
|
1625
|
-
class="tsd-anchor-icon"
|
|
1626
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1627
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1628
|
-
></a>
|
|
1629
|
-
</h3>
|
|
1630
|
-
<ul class="tsd-signatures">
|
|
1631
|
-
<li class="">
|
|
1632
|
-
<div class="tsd-signature tsd-anchor-link" id="includes-1">
|
|
1633
|
-
<span class="tsd-kind-call-signature">includes</span
|
|
1634
|
-
><span class="tsd-signature-symbol">(</span
|
|
1635
|
-
><span class="tsd-kind-parameter">stateOrName</span
|
|
1636
|
-
><span class="tsd-signature-symbol">:</span>
|
|
1637
|
-
<span class="tsd-signature-type">any</span
|
|
1638
|
-
><span class="tsd-signature-symbol">,</span>
|
|
1639
|
-
<span class="tsd-kind-parameter">params</span
|
|
1640
|
-
><span class="tsd-signature-symbol">:</span>
|
|
1641
|
-
<span class="tsd-signature-type">any</span
|
|
1642
|
-
><span class="tsd-signature-symbol">,</span>
|
|
1643
|
-
<span class="tsd-kind-parameter">options</span
|
|
1644
|
-
><span class="tsd-signature-symbol">:</span>
|
|
1645
|
-
<span class="tsd-signature-type">any</span
|
|
1646
|
-
><span class="tsd-signature-symbol">)</span
|
|
1647
|
-
><span class="tsd-signature-symbol">:</span>
|
|
1648
|
-
<span class="tsd-signature-type">boolean</span
|
|
1649
|
-
><a
|
|
1650
|
-
href="#includes-1"
|
|
1651
|
-
aria-label="Permalink"
|
|
1652
|
-
class="tsd-anchor-icon"
|
|
1653
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1654
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1655
|
-
></a>
|
|
1656
|
-
</div>
|
|
1657
|
-
<div class="tsd-description">
|
|
1658
|
-
<div class="tsd-comment tsd-typography">
|
|
1659
|
-
<p>
|
|
1660
|
-
Checks if the current state <em>includes</em> the
|
|
1661
|
-
provided state
|
|
1662
|
-
</p>
|
|
1663
|
-
<p>
|
|
1664
|
-
A method to determine if the current active state is
|
|
1665
|
-
equal to or is the child of the state stateName. If any
|
|
1666
|
-
params are passed then they will be tested for a match
|
|
1667
|
-
as well. Not all the parameters need to be passed, just
|
|
1668
|
-
the ones you'd like to test for equality.
|
|
1669
|
-
</p>
|
|
1670
|
-
<h4
|
|
1671
|
-
id="example-when-statecurrentname--contactsdetailsitem"
|
|
1672
|
-
class="tsd-anchor-link"
|
|
1673
|
-
>
|
|
1674
|
-
Example when
|
|
1675
|
-
<code
|
|
1676
|
-
>$state.$current.name ===
|
|
1677
|
-
'contacts.details.item'</code
|
|
1678
|
-
><a
|
|
1679
|
-
href="#example-when-statecurrentname--contactsdetailsitem"
|
|
1680
|
-
aria-label="Permalink"
|
|
1681
|
-
class="tsd-anchor-icon"
|
|
1682
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1683
|
-
<use
|
|
1684
|
-
href="../assets/icons.svg#icon-anchor"
|
|
1685
|
-
></use></svg
|
|
1686
|
-
></a>
|
|
1687
|
-
</h4>
|
|
1688
|
-
<pre><code class="js"><span class="hl-9">// Using partial names</span><br/><span class="hl-10">$state</span><span class="hl-1">.</span><span class="hl-0">includes</span><span class="hl-1">(</span><span class="hl-2">"contacts"</span><span class="hl-1">); </span><span class="hl-9">// returns true</span><br/><span class="hl-10">$state</span><span class="hl-1">.</span><span class="hl-0">includes</span><span class="hl-1">(</span><span class="hl-2">"contacts.details"</span><span class="hl-1">); </span><span class="hl-9">// returns true</span><br/><span class="hl-10">$state</span><span class="hl-1">.</span><span class="hl-0">includes</span><span class="hl-1">(</span><span class="hl-2">"contacts.details.item"</span><span class="hl-1">); </span><span class="hl-9">// returns true</span><br/><span class="hl-10">$state</span><span class="hl-1">.</span><span class="hl-0">includes</span><span class="hl-1">(</span><span class="hl-2">"contacts.list"</span><span class="hl-1">); </span><span class="hl-9">// returns false</span><br/><span class="hl-10">$state</span><span class="hl-1">.</span><span class="hl-0">includes</span><span class="hl-1">(</span><span class="hl-2">"about"</span><span class="hl-1">); </span><span class="hl-9">// returns false</span>
|
|
1689
|
-
</code><button type="button">Copy</button></pre>
|
|
1690
|
-
|
|
1691
|
-
<h4
|
|
1692
|
-
id="glob-examples-when--statecurrentname--contactsdetailsitemurl"
|
|
1693
|
-
class="tsd-anchor-link"
|
|
1694
|
-
>
|
|
1695
|
-
Glob Examples when
|
|
1696
|
-
<code
|
|
1697
|
-
>* $state.$current.name ===
|
|
1698
|
-
'contacts.details.item.url'</code
|
|
1699
|
-
>:<a
|
|
1700
|
-
href="#glob-examples-when--statecurrentname--contactsdetailsitemurl"
|
|
1701
|
-
aria-label="Permalink"
|
|
1702
|
-
class="tsd-anchor-icon"
|
|
1703
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1704
|
-
<use
|
|
1705
|
-
href="../assets/icons.svg#icon-anchor"
|
|
1706
|
-
></use></svg
|
|
1707
|
-
></a>
|
|
1708
|
-
</h4>
|
|
1709
|
-
<pre><code class="js"><span class="hl-10">$state</span><span class="hl-1">.</span><span class="hl-0">includes</span><span class="hl-1">(</span><span class="hl-2">"*.details.*.*"</span><span class="hl-1">); </span><span class="hl-9">// returns true</span><br/><span class="hl-10">$state</span><span class="hl-1">.</span><span class="hl-0">includes</span><span class="hl-1">(</span><span class="hl-2">"*.details.**"</span><span class="hl-1">); </span><span class="hl-9">// returns true</span><br/><span class="hl-10">$state</span><span class="hl-1">.</span><span class="hl-0">includes</span><span class="hl-1">(</span><span class="hl-2">"**.item.**"</span><span class="hl-1">); </span><span class="hl-9">// returns true</span><br/><span class="hl-10">$state</span><span class="hl-1">.</span><span class="hl-0">includes</span><span class="hl-1">(</span><span class="hl-2">"*.details.item.url"</span><span class="hl-1">); </span><span class="hl-9">// returns true</span><br/><span class="hl-10">$state</span><span class="hl-1">.</span><span class="hl-0">includes</span><span class="hl-1">(</span><span class="hl-2">"*.details.*.url"</span><span class="hl-1">); </span><span class="hl-9">// returns true</span><br/><span class="hl-10">$state</span><span class="hl-1">.</span><span class="hl-0">includes</span><span class="hl-1">(</span><span class="hl-2">"*.details.*"</span><span class="hl-1">); </span><span class="hl-9">// returns false</span><br/><span class="hl-10">$state</span><span class="hl-1">.</span><span class="hl-0">includes</span><span class="hl-1">(</span><span class="hl-2">"item.**"</span><span class="hl-1">); </span><span class="hl-9">// returns false</span>
|
|
1710
|
-
</code><button type="button">Copy</button></pre>
|
|
1711
|
-
</div>
|
|
1712
|
-
<div class="tsd-parameters">
|
|
1713
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
1714
|
-
<ul class="tsd-parameter-list">
|
|
1715
|
-
<li>
|
|
1716
|
-
<span
|
|
1717
|
-
><span class="tsd-kind-parameter">stateOrName</span
|
|
1718
|
-
>: <span class="tsd-signature-type">any</span></span
|
|
1719
|
-
>
|
|
1720
|
-
<div class="tsd-comment tsd-typography">
|
|
1721
|
-
<p>
|
|
1722
|
-
A partial name, relative name, glob pattern, or
|
|
1723
|
-
state object to be searched for within the current
|
|
1724
|
-
state name.
|
|
1725
|
-
</p>
|
|
1726
|
-
</div>
|
|
1727
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
1728
|
-
</li>
|
|
1729
|
-
<li>
|
|
1730
|
-
<span
|
|
1731
|
-
><span class="tsd-kind-parameter">params</span>:
|
|
1732
|
-
<span class="tsd-signature-type">any</span></span
|
|
1733
|
-
>
|
|
1734
|
-
<div class="tsd-comment tsd-typography">
|
|
1735
|
-
<p>
|
|
1736
|
-
A param object, e.g.
|
|
1737
|
-
<code>{sectionId: section.id}</code>, that you'd
|
|
1738
|
-
like to test against the current active state.
|
|
1739
|
-
</p>
|
|
1740
|
-
</div>
|
|
1741
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
1742
|
-
</li>
|
|
1743
|
-
<li>
|
|
1744
|
-
<span
|
|
1745
|
-
><span class="tsd-kind-parameter">options</span>:
|
|
1746
|
-
<span class="tsd-signature-type">any</span></span
|
|
1747
|
-
>
|
|
1748
|
-
<div class="tsd-comment tsd-typography">
|
|
1749
|
-
<p>An options object. The options are:</p>
|
|
1750
|
-
<ul>
|
|
1751
|
-
<li>
|
|
1752
|
-
<code>relative</code>: If
|
|
1753
|
-
<code>stateOrName</code> is a relative state
|
|
1754
|
-
name and <code>options.relative</code> is set,
|
|
1755
|
-
.is will test relative to
|
|
1756
|
-
<code>options.relative</code> state (or name).
|
|
1757
|
-
</li>
|
|
1758
|
-
</ul>
|
|
1759
|
-
</div>
|
|
1760
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
1761
|
-
</li>
|
|
1762
|
-
</ul>
|
|
1763
|
-
</div>
|
|
1764
|
-
<h4 class="tsd-returns-title">
|
|
1765
|
-
Returns <span class="tsd-signature-type">boolean</span>
|
|
1766
|
-
</h4>
|
|
1767
|
-
<p>Returns true if it does include the state</p>
|
|
1768
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
1769
|
-
</div>
|
|
1770
|
-
</li>
|
|
1771
|
-
</ul>
|
|
1772
|
-
</section>
|
|
1773
|
-
<section class="tsd-panel tsd-member">
|
|
1774
|
-
<h3 class="tsd-anchor-link" id="is">
|
|
1775
|
-
<span>is</span
|
|
1776
|
-
><a href="#is" aria-label="Permalink" class="tsd-anchor-icon"
|
|
1777
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1778
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1779
|
-
></a>
|
|
1780
|
-
</h3>
|
|
1781
|
-
<ul class="tsd-signatures">
|
|
1782
|
-
<li class="">
|
|
1783
|
-
<div class="tsd-signature tsd-anchor-link" id="is-1">
|
|
1784
|
-
<span class="tsd-kind-call-signature">is</span
|
|
1785
|
-
><span class="tsd-signature-symbol">(</span
|
|
1786
|
-
><span class="tsd-kind-parameter">stateOrName</span
|
|
1787
|
-
><span class="tsd-signature-symbol">:</span>
|
|
1788
|
-
<span class="tsd-signature-type">any</span
|
|
1789
|
-
><span class="tsd-signature-symbol">,</span>
|
|
1790
|
-
<span class="tsd-kind-parameter">params</span
|
|
1791
|
-
><span class="tsd-signature-symbol">:</span>
|
|
1792
|
-
<span class="tsd-signature-type">any</span
|
|
1793
|
-
><span class="tsd-signature-symbol">,</span>
|
|
1794
|
-
<span class="tsd-kind-parameter">options</span
|
|
1795
|
-
><span class="tsd-signature-symbol">:</span>
|
|
1796
|
-
<span class="tsd-signature-type">any</span
|
|
1797
|
-
><span class="tsd-signature-symbol">)</span
|
|
1798
|
-
><span class="tsd-signature-symbol">:</span>
|
|
1799
|
-
<span class="tsd-signature-type">boolean</span
|
|
1800
|
-
><a
|
|
1801
|
-
href="#is-1"
|
|
1802
|
-
aria-label="Permalink"
|
|
1803
|
-
class="tsd-anchor-icon"
|
|
1804
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1805
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1806
|
-
></a>
|
|
1807
|
-
</div>
|
|
1808
|
-
<div class="tsd-description">
|
|
1809
|
-
<div class="tsd-comment tsd-typography">
|
|
1810
|
-
<p>
|
|
1811
|
-
Checks if the current state <em>is</em> the provided
|
|
1812
|
-
state
|
|
1813
|
-
</p>
|
|
1814
|
-
<p>
|
|
1815
|
-
Similar to [[includes]] but only checks for the full
|
|
1816
|
-
state name. If params is supplied then it will be tested
|
|
1817
|
-
for strict equality against the current active params
|
|
1818
|
-
object, so all params must match with none missing and
|
|
1819
|
-
no extras.
|
|
1820
|
-
</p>
|
|
1821
|
-
<h4 id="example-4" class="tsd-anchor-link">
|
|
1822
|
-
Example:<a
|
|
1823
|
-
href="#example-4"
|
|
1824
|
-
aria-label="Permalink"
|
|
1825
|
-
class="tsd-anchor-icon"
|
|
1826
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1827
|
-
<use
|
|
1828
|
-
href="../assets/icons.svg#icon-anchor"
|
|
1829
|
-
></use></svg
|
|
1830
|
-
></a>
|
|
1831
|
-
</h4>
|
|
1832
|
-
<pre><code class="js"><span class="hl-10">$state</span><span class="hl-1">.</span><span class="hl-10">$current</span><span class="hl-1">.</span><span class="hl-10">name</span><span class="hl-1"> = </span><span class="hl-2">'contacts.details.item'</span><span class="hl-1">;</span><br/><br/><span class="hl-9">// absolute name</span><br/><span class="hl-10">$state</span><span class="hl-1">.</span><span class="hl-0">is</span><span class="hl-1">(</span><span class="hl-2">'contact.details.item'</span><span class="hl-1">); </span><span class="hl-9">// returns true</span><br/><span class="hl-10">$state</span><span class="hl-1">.</span><span class="hl-0">is</span><span class="hl-1">(</span><span class="hl-10">contactDetailItemStateObject</span><span class="hl-1">); </span><span class="hl-9">// returns true</span>
|
|
1833
|
-
</code><button type="button">Copy</button></pre>
|
|
1834
|
-
|
|
1835
|
-
<p>
|
|
1836
|
-
// relative name (. and ^), typically from a template //
|
|
1837
|
-
E.g. from the 'contacts.details' template
|
|
1838
|
-
</p>
|
|
1839
|
-
<pre><code class="html"><span class="hl-3"><</span><span class="hl-4">div</span><span class="hl-1"> </span><span class="hl-6">ng-class</span><span class="hl-1">=</span><span class="hl-7">"{highlighted: $state.is('.item')}"</span><span class="hl-3">></span><span class="hl-1">Item</span><span class="hl-3"></</span><span class="hl-4">div</span><span class="hl-3">></span>
|
|
1840
|
-
</code><button type="button">Copy</button></pre>
|
|
1841
|
-
</div>
|
|
1842
|
-
<div class="tsd-parameters">
|
|
1843
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
1844
|
-
<ul class="tsd-parameter-list">
|
|
1845
|
-
<li>
|
|
1846
|
-
<span
|
|
1847
|
-
><span class="tsd-kind-parameter">stateOrName</span
|
|
1848
|
-
>: <span class="tsd-signature-type">any</span></span
|
|
1849
|
-
>
|
|
1850
|
-
<div class="tsd-comment tsd-typography">
|
|
1851
|
-
<p>
|
|
1852
|
-
The state name (absolute or relative) or state
|
|
1853
|
-
object you'd like to check.
|
|
1854
|
-
</p>
|
|
1855
|
-
</div>
|
|
1856
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
1857
|
-
</li>
|
|
1858
|
-
<li>
|
|
1859
|
-
<span
|
|
1860
|
-
><span class="tsd-kind-parameter">params</span>:
|
|
1861
|
-
<span class="tsd-signature-type">any</span></span
|
|
1862
|
-
>
|
|
1863
|
-
<div class="tsd-comment tsd-typography">
|
|
1864
|
-
<p>
|
|
1865
|
-
A param object, e.g.
|
|
1866
|
-
<code>{sectionId: section.id}</code>, that you'd
|
|
1867
|
-
like to test against the current active state.
|
|
1868
|
-
</p>
|
|
1869
|
-
</div>
|
|
1870
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
1871
|
-
</li>
|
|
1872
|
-
<li>
|
|
1873
|
-
<span
|
|
1874
|
-
><span class="tsd-kind-parameter">options</span>:
|
|
1875
|
-
<span class="tsd-signature-type">any</span></span
|
|
1876
|
-
>
|
|
1877
|
-
<div class="tsd-comment tsd-typography">
|
|
1878
|
-
<p>An options object. The options are:</p>
|
|
1879
|
-
<ul>
|
|
1880
|
-
<li>
|
|
1881
|
-
<code>relative</code>: If
|
|
1882
|
-
<code>stateOrName</code> is a relative state
|
|
1883
|
-
name and <code>options.relative</code> is set,
|
|
1884
|
-
.is will test relative to
|
|
1885
|
-
<code>options.relative</code> state (or name).
|
|
1886
|
-
</li>
|
|
1887
|
-
</ul>
|
|
1888
|
-
</div>
|
|
1889
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
1890
|
-
</li>
|
|
1891
|
-
</ul>
|
|
1892
|
-
</div>
|
|
1893
|
-
<h4 class="tsd-returns-title">
|
|
1894
|
-
Returns <span class="tsd-signature-type">boolean</span>
|
|
1895
|
-
</h4>
|
|
1896
|
-
<p>Returns true if it is the state.</p>
|
|
1897
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
1898
|
-
</div>
|
|
1899
|
-
</li>
|
|
1900
|
-
</ul>
|
|
1901
|
-
</section>
|
|
1902
|
-
<section class="tsd-panel tsd-member">
|
|
1903
|
-
<h3 class="tsd-anchor-link" id="lazyload">
|
|
1904
|
-
<span>lazy<wbr />Load</span
|
|
1905
|
-
><a
|
|
1906
|
-
href="#lazyload"
|
|
1907
|
-
aria-label="Permalink"
|
|
1908
|
-
class="tsd-anchor-icon"
|
|
1909
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1910
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1911
|
-
></a>
|
|
1912
|
-
</h3>
|
|
1913
|
-
<ul class="tsd-signatures">
|
|
1914
|
-
<li class="">
|
|
1915
|
-
<div class="tsd-signature tsd-anchor-link" id="lazyload-1">
|
|
1916
|
-
<span class="tsd-kind-call-signature">lazyLoad</span
|
|
1917
|
-
><span class="tsd-signature-symbol">(</span
|
|
1918
|
-
><span class="tsd-kind-parameter">stateOrName</span
|
|
1919
|
-
><span class="tsd-signature-symbol">:</span>
|
|
1920
|
-
<span class="tsd-signature-type">any</span
|
|
1921
|
-
><span class="tsd-signature-symbol">,</span>
|
|
1922
|
-
<span class="tsd-kind-parameter">transition</span
|
|
1923
|
-
><span class="tsd-signature-symbol">:</span>
|
|
1924
|
-
<span class="tsd-signature-type">any</span
|
|
1925
|
-
><span class="tsd-signature-symbol">)</span
|
|
1926
|
-
><span class="tsd-signature-symbol">:</span>
|
|
1927
|
-
<span class="tsd-signature-type">any</span
|
|
1928
|
-
><a
|
|
1929
|
-
href="#lazyload-1"
|
|
1930
|
-
aria-label="Permalink"
|
|
1931
|
-
class="tsd-anchor-icon"
|
|
1932
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1933
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1934
|
-
></a>
|
|
1935
|
-
</div>
|
|
1936
|
-
<div class="tsd-description">
|
|
1937
|
-
<div class="tsd-comment tsd-typography">
|
|
1938
|
-
<p>Lazy loads a state</p>
|
|
1939
|
-
<p>
|
|
1940
|
-
Explicitly runs a state's [[StateDeclaration.lazyLoad]]
|
|
1941
|
-
function.
|
|
1942
|
-
</p>
|
|
1943
|
-
</div>
|
|
1944
|
-
<div class="tsd-parameters">
|
|
1945
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
1946
|
-
<ul class="tsd-parameter-list">
|
|
1947
|
-
<li>
|
|
1948
|
-
<span
|
|
1949
|
-
><span class="tsd-kind-parameter">stateOrName</span
|
|
1950
|
-
>: <span class="tsd-signature-type">any</span></span
|
|
1951
|
-
>
|
|
1952
|
-
<div class="tsd-comment tsd-typography">
|
|
1953
|
-
<p>the state that should be lazy loaded</p>
|
|
1954
|
-
</div>
|
|
1955
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
1956
|
-
</li>
|
|
1957
|
-
<li>
|
|
1958
|
-
<span
|
|
1959
|
-
><span class="tsd-kind-parameter">transition</span>:
|
|
1960
|
-
<span class="tsd-signature-type">any</span></span
|
|
1961
|
-
>
|
|
1962
|
-
<div class="tsd-comment tsd-typography">
|
|
1963
|
-
<p>
|
|
1964
|
-
the optional Transition context to use (if the
|
|
1965
|
-
lazyLoad function requires an injector, etc) Note:
|
|
1966
|
-
If no transition is provided, a noop transition is
|
|
1967
|
-
created using the from the current state to the
|
|
1968
|
-
current state. This noop transition is not
|
|
1969
|
-
actually run.
|
|
1970
|
-
</p>
|
|
1971
|
-
</div>
|
|
1972
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
1973
|
-
</li>
|
|
1974
|
-
</ul>
|
|
1975
|
-
</div>
|
|
1976
|
-
<h4 class="tsd-returns-title">
|
|
1977
|
-
Returns <span class="tsd-signature-type">any</span>
|
|
1978
|
-
</h4>
|
|
1979
|
-
<p>a promise to lazy load</p>
|
|
1980
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
1981
|
-
</div>
|
|
1982
|
-
</li>
|
|
1983
|
-
</ul>
|
|
1984
|
-
</section>
|
|
1985
|
-
<section class="tsd-panel tsd-member">
|
|
1986
|
-
<h3 class="tsd-anchor-link" id="oninvalid">
|
|
1987
|
-
<span>on<wbr />Invalid</span
|
|
1988
|
-
><a
|
|
1989
|
-
href="#oninvalid"
|
|
1990
|
-
aria-label="Permalink"
|
|
1991
|
-
class="tsd-anchor-icon"
|
|
1992
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1993
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1994
|
-
></a>
|
|
1995
|
-
</h3>
|
|
1996
|
-
<ul class="tsd-signatures">
|
|
1997
|
-
<li class="">
|
|
1998
|
-
<div class="tsd-signature tsd-anchor-link" id="oninvalid-1">
|
|
1999
|
-
<span class="tsd-kind-call-signature">onInvalid</span
|
|
2000
|
-
><span class="tsd-signature-symbol">(</span
|
|
2001
|
-
><span class="tsd-kind-parameter">callback</span
|
|
2002
|
-
><span class="tsd-signature-symbol">:</span>
|
|
2003
|
-
<span class="tsd-signature-type">Function</span
|
|
2004
|
-
><span class="tsd-signature-symbol">)</span
|
|
2005
|
-
><span class="tsd-signature-symbol">:</span>
|
|
2006
|
-
<span class="tsd-signature-type">any</span
|
|
2007
|
-
><a
|
|
2008
|
-
href="#oninvalid-1"
|
|
2009
|
-
aria-label="Permalink"
|
|
2010
|
-
class="tsd-anchor-icon"
|
|
2011
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
2012
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
2013
|
-
></a>
|
|
2014
|
-
</div>
|
|
2015
|
-
<div class="tsd-description">
|
|
2016
|
-
<div class="tsd-comment tsd-typography">
|
|
2017
|
-
<p>Registers an Invalid State handler</p>
|
|
2018
|
-
<p>
|
|
2019
|
-
Registers a [[OnInvalidCallback]] function to be invoked
|
|
2020
|
-
when [[StateService.transitionTo]] has been called with
|
|
2021
|
-
an invalid state reference parameter
|
|
2022
|
-
</p>
|
|
2023
|
-
<p>Example:</p>
|
|
2024
|
-
<pre><code class="js"><span class="hl-10">stateService</span><span class="hl-1">.</span><span class="hl-0">onInvalid</span><span class="hl-1">(</span><span class="hl-11">function</span><span class="hl-1">(</span><span class="hl-10">to</span><span class="hl-1">, </span><span class="hl-10">from</span><span class="hl-1">, </span><span class="hl-10">injector</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-8">if</span><span class="hl-1"> (</span><span class="hl-10">to</span><span class="hl-1">.</span><span class="hl-0">name</span><span class="hl-1">() === </span><span class="hl-2">'foo'</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-11">let</span><span class="hl-1"> </span><span class="hl-10">lazyLoader</span><span class="hl-1"> = </span><span class="hl-10">injector</span><span class="hl-1">.</span><span class="hl-0">get</span><span class="hl-1">(</span><span class="hl-2">'LazyLoadService'</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-8">return</span><span class="hl-1"> </span><span class="hl-10">lazyLoader</span><span class="hl-1">.</span><span class="hl-0">load</span><span class="hl-1">(</span><span class="hl-2">'foo'</span><span class="hl-1">)</span><br/><span class="hl-1"> .</span><span class="hl-0">then</span><span class="hl-1">(() </span><span class="hl-11">=></span><span class="hl-1"> </span><span class="hl-10">stateService</span><span class="hl-1">.</span><span class="hl-0">target</span><span class="hl-1">(</span><span class="hl-2">'foo'</span><span class="hl-1">));</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">});</span>
|
|
2025
|
-
</code><button type="button">Copy</button></pre>
|
|
2026
|
-
</div>
|
|
2027
|
-
<div class="tsd-parameters">
|
|
2028
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
2029
|
-
<ul class="tsd-parameter-list">
|
|
2030
|
-
<li>
|
|
2031
|
-
<span
|
|
2032
|
-
><span class="tsd-kind-parameter">callback</span>:
|
|
2033
|
-
<span class="tsd-signature-type"
|
|
2034
|
-
>Function</span
|
|
2035
|
-
></span
|
|
2036
|
-
>
|
|
2037
|
-
<div class="tsd-comment tsd-typography">
|
|
2038
|
-
<p>
|
|
2039
|
-
invoked when the toState is invalid This function
|
|
2040
|
-
receives the (invalid) toState, the fromState, and
|
|
2041
|
-
an injector. The function may optionally return a
|
|
2042
|
-
[[TargetState]] or a Promise for a TargetState. If
|
|
2043
|
-
one is returned, it is treated as a redirect.
|
|
2044
|
-
</p>
|
|
2045
|
-
</div>
|
|
2046
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
2047
|
-
</li>
|
|
2048
|
-
</ul>
|
|
2049
|
-
</div>
|
|
2050
|
-
<h4 class="tsd-returns-title">
|
|
2051
|
-
Returns <span class="tsd-signature-type">any</span>
|
|
2052
|
-
</h4>
|
|
2053
|
-
<p>a function which deregisters the callback</p>
|
|
2054
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
2055
|
-
</div>
|
|
2056
|
-
</li>
|
|
2057
|
-
</ul>
|
|
2058
|
-
</section>
|
|
2059
|
-
<section class="tsd-panel tsd-member">
|
|
2060
|
-
<h3 class="tsd-anchor-link" id="reload">
|
|
2061
|
-
<span>reload</span
|
|
2062
|
-
><a
|
|
2063
|
-
href="#reload"
|
|
2064
|
-
aria-label="Permalink"
|
|
2065
|
-
class="tsd-anchor-icon"
|
|
2066
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
2067
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
2068
|
-
></a>
|
|
2069
|
-
</h3>
|
|
2070
|
-
<ul class="tsd-signatures">
|
|
2071
|
-
<li class="">
|
|
2072
|
-
<div class="tsd-signature tsd-anchor-link" id="reload-1">
|
|
2073
|
-
<span class="tsd-kind-call-signature">reload</span
|
|
2074
|
-
><span class="tsd-signature-symbol">(</span
|
|
2075
|
-
><span class="tsd-kind-parameter">reloadState</span
|
|
2076
|
-
><span class="tsd-signature-symbol">:</span>
|
|
2077
|
-
<span class="tsd-signature-type">any</span
|
|
2078
|
-
><span class="tsd-signature-symbol">)</span
|
|
2079
|
-
><span class="tsd-signature-symbol">:</span>
|
|
2080
|
-
<span class="tsd-signature-type">any</span
|
|
2081
|
-
><a
|
|
2082
|
-
href="#reload-1"
|
|
2083
|
-
aria-label="Permalink"
|
|
2084
|
-
class="tsd-anchor-icon"
|
|
2085
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
2086
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
2087
|
-
></a>
|
|
2088
|
-
</div>
|
|
2089
|
-
<div class="tsd-description">
|
|
2090
|
-
<div class="tsd-comment tsd-typography">
|
|
2091
|
-
<p>Reloads the current state</p>
|
|
2092
|
-
<p>
|
|
2093
|
-
A method that force reloads the current state, or a
|
|
2094
|
-
partial state hierarchy. All resolves are re-resolved,
|
|
2095
|
-
and components reinstantiated.
|
|
2096
|
-
</p>
|
|
2097
|
-
<h4 id="example-5" class="tsd-anchor-link">
|
|
2098
|
-
Example:<a
|
|
2099
|
-
href="#example-5"
|
|
2100
|
-
aria-label="Permalink"
|
|
2101
|
-
class="tsd-anchor-icon"
|
|
2102
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
2103
|
-
<use
|
|
2104
|
-
href="../assets/icons.svg#icon-anchor"
|
|
2105
|
-
></use></svg
|
|
2106
|
-
></a>
|
|
2107
|
-
</h4>
|
|
2108
|
-
<pre><code class="js"><span class="hl-11">let</span><span class="hl-1"> </span><span class="hl-10">app</span><span class="hl-1"> angular.module(</span><span class="hl-2">'app'</span><span class="hl-1">, [</span><span class="hl-2">'ui.router'</span><span class="hl-1">]);</span><br/><br/><span class="hl-10">app</span><span class="hl-1">.</span><span class="hl-0">controller</span><span class="hl-1">(</span><span class="hl-2">'ctrl'</span><span class="hl-1">, </span><span class="hl-11">function</span><span class="hl-1"> (</span><span class="hl-10">$scope</span><span class="hl-1">, </span><span class="hl-10">$state</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-10">$scope</span><span class="hl-1">.</span><span class="hl-0">reload</span><span class="hl-1"> = </span><span class="hl-11">function</span><span class="hl-1">(){</span><br/><span class="hl-1"> </span><span class="hl-10">$state</span><span class="hl-1">.</span><span class="hl-0">reload</span><span class="hl-1">();</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">});</span>
|
|
2109
|
-
</code><button type="button">Copy</button></pre>
|
|
2110
|
-
|
|
2111
|
-
<p>Note: <code>reload()</code> is just an alias for:</p>
|
|
2112
|
-
<pre><code class="js"><span class="hl-10">$state</span><span class="hl-1">.</span><span class="hl-0">transitionTo</span><span class="hl-1">(</span><span class="hl-10">$state</span><span class="hl-1">.</span><span class="hl-10">current</span><span class="hl-1">, </span><span class="hl-10">$state</span><span class="hl-1">.</span><span class="hl-10">params</span><span class="hl-1">, {</span><br/><span class="hl-1"> </span><span class="hl-10">reload:</span><span class="hl-1"> </span><span class="hl-11">true</span><span class="hl-1">, </span><span class="hl-10">inherit:</span><span class="hl-1"> </span><span class="hl-11">false</span><br/><span class="hl-1">});</span>
|
|
2113
|
-
</code><button type="button">Copy</button></pre>
|
|
2114
|
-
</div>
|
|
2115
|
-
<div class="tsd-parameters">
|
|
2116
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
2117
|
-
<ul class="tsd-parameter-list">
|
|
2118
|
-
<li>
|
|
2119
|
-
<span
|
|
2120
|
-
><span class="tsd-kind-parameter">reloadState</span
|
|
2121
|
-
>: <span class="tsd-signature-type">any</span></span
|
|
2122
|
-
>
|
|
2123
|
-
<div class="tsd-comment tsd-typography">
|
|
2124
|
-
<p>
|
|
2125
|
-
A state name or a state object. If present, this
|
|
2126
|
-
state and all its children will be reloaded, but
|
|
2127
|
-
ancestors will not reload.
|
|
2128
|
-
</p>
|
|
2129
|
-
<h4 id="example-6" class="tsd-anchor-link">
|
|
2130
|
-
Example:<a
|
|
2131
|
-
href="#example-6"
|
|
2132
|
-
aria-label="Permalink"
|
|
2133
|
-
class="tsd-anchor-icon"
|
|
2134
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
2135
|
-
<use
|
|
2136
|
-
href="../assets/icons.svg#icon-anchor"
|
|
2137
|
-
></use></svg
|
|
2138
|
-
></a>
|
|
2139
|
-
</h4>
|
|
2140
|
-
<pre><code class="js"><span class="hl-9">//assuming app application consists of 3 states: 'contacts', 'contacts.detail', 'contacts.detail.item'</span><br/><span class="hl-9">//and current state is 'contacts.detail.item'</span><br/><span class="hl-11">let</span><span class="hl-1"> </span><span class="hl-10">app</span><span class="hl-1"> angular.module(</span><span class="hl-2">'app'</span><span class="hl-1">, [</span><span class="hl-2">'ui.router'</span><span class="hl-1">]);</span><br/><br/><span class="hl-10">app</span><span class="hl-1">.</span><span class="hl-0">controller</span><span class="hl-1">(</span><span class="hl-2">'ctrl'</span><span class="hl-1">, </span><span class="hl-11">function</span><span class="hl-1"> (</span><span class="hl-10">$scope</span><span class="hl-1">, </span><span class="hl-10">$state</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-10">$scope</span><span class="hl-1">.</span><span class="hl-0">reload</span><span class="hl-1"> = </span><span class="hl-11">function</span><span class="hl-1">(){</span><br/><span class="hl-1"> </span><span class="hl-9">//will reload 'contact.detail' and nested 'contact.detail.item' states</span><br/><span class="hl-1"> </span><span class="hl-10">$state</span><span class="hl-1">.</span><span class="hl-0">reload</span><span class="hl-1">(</span><span class="hl-2">'contact.detail'</span><span class="hl-1">);</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">});</span>
|
|
2141
|
-
</code><button type="button">Copy</button></pre>
|
|
2142
|
-
</div>
|
|
2143
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
2144
|
-
</li>
|
|
2145
|
-
</ul>
|
|
2146
|
-
</div>
|
|
2147
|
-
<h4 class="tsd-returns-title">
|
|
2148
|
-
Returns <span class="tsd-signature-type">any</span>
|
|
2149
|
-
</h4>
|
|
2150
|
-
<p>
|
|
2151
|
-
A promise representing the state of the new transition.
|
|
2152
|
-
See [[StateService.go]]
|
|
2153
|
-
</p>
|
|
2154
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
2155
|
-
</div>
|
|
2156
|
-
</li>
|
|
2157
|
-
</ul>
|
|
2158
|
-
</section>
|
|
2159
|
-
<section class="tsd-panel tsd-member">
|
|
2160
|
-
<h3 class="tsd-anchor-link" id="state">
|
|
2161
|
-
<span>state</span
|
|
2162
|
-
><a href="#state" aria-label="Permalink" class="tsd-anchor-icon"
|
|
2163
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
2164
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
2165
|
-
></a>
|
|
2166
|
-
</h3>
|
|
2167
|
-
<ul class="tsd-signatures">
|
|
2168
|
-
<li class="">
|
|
2169
|
-
<div class="tsd-signature tsd-anchor-link" id="state-1">
|
|
2170
|
-
<span class="tsd-kind-call-signature">state</span
|
|
2171
|
-
><span class="tsd-signature-symbol">(</span
|
|
2172
|
-
><span class="tsd-kind-parameter">definition</span
|
|
2173
|
-
><span class="tsd-signature-symbol">:</span>
|
|
2174
|
-
<a
|
|
2175
|
-
href="../interfaces/router_state_interface.StateDeclaration.html"
|
|
2176
|
-
class="tsd-signature-type tsd-kind-interface"
|
|
2177
|
-
>StateDeclaration</a
|
|
2178
|
-
><span class="tsd-signature-symbol">)</span
|
|
2179
|
-
><span class="tsd-signature-symbol">:</span>
|
|
2180
|
-
<a href="" class="tsd-signature-type tsd-kind-class"
|
|
2181
|
-
>StateProvider</a
|
|
2182
|
-
><a
|
|
2183
|
-
href="#state-1"
|
|
2184
|
-
aria-label="Permalink"
|
|
2185
|
-
class="tsd-anchor-icon"
|
|
2186
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
2187
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
2188
|
-
></a>
|
|
2189
|
-
</div>
|
|
2190
|
-
<div class="tsd-description">
|
|
2191
|
-
<div class="tsd-parameters">
|
|
2192
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
2193
|
-
<ul class="tsd-parameter-list">
|
|
2194
|
-
<li>
|
|
2195
|
-
<span
|
|
2196
|
-
><span class="tsd-kind-parameter">definition</span>:
|
|
2197
|
-
<a
|
|
2198
|
-
href="../interfaces/router_state_interface.StateDeclaration.html"
|
|
2199
|
-
class="tsd-signature-type tsd-kind-interface"
|
|
2200
|
-
>StateDeclaration</a
|
|
2201
|
-
></span
|
|
2202
|
-
>
|
|
2203
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
2204
|
-
</li>
|
|
2205
|
-
</ul>
|
|
2206
|
-
</div>
|
|
2207
|
-
<h4 class="tsd-returns-title">
|
|
2208
|
-
Returns
|
|
2209
|
-
<a href="" class="tsd-signature-type tsd-kind-class"
|
|
2210
|
-
>StateProvider</a
|
|
2211
|
-
>
|
|
2212
|
-
</h4>
|
|
2213
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
2214
|
-
</div>
|
|
2215
|
-
</li>
|
|
2216
|
-
</ul>
|
|
2217
|
-
</section>
|
|
2218
|
-
<section class="tsd-panel tsd-member">
|
|
2219
|
-
<h3 class="tsd-anchor-link" id="target">
|
|
2220
|
-
<span>target</span
|
|
2221
|
-
><a
|
|
2222
|
-
href="#target"
|
|
2223
|
-
aria-label="Permalink"
|
|
2224
|
-
class="tsd-anchor-icon"
|
|
2225
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
2226
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
2227
|
-
></a>
|
|
2228
|
-
</h3>
|
|
2229
|
-
<ul class="tsd-signatures">
|
|
2230
|
-
<li class="">
|
|
2231
|
-
<div class="tsd-signature tsd-anchor-link" id="target-1">
|
|
2232
|
-
<span class="tsd-kind-call-signature">target</span
|
|
2233
|
-
><span class="tsd-signature-symbol">(</span
|
|
2234
|
-
><span class="tsd-kind-parameter">identifier</span
|
|
2235
|
-
><span class="tsd-signature-symbol">:</span>
|
|
2236
|
-
<span class="tsd-signature-type">any</span
|
|
2237
|
-
><span class="tsd-signature-symbol">,</span>
|
|
2238
|
-
<span class="tsd-kind-parameter">params</span
|
|
2239
|
-
><span class="tsd-signature-symbol">:</span>
|
|
2240
|
-
<span class="tsd-signature-type">any</span
|
|
2241
|
-
><span class="tsd-signature-symbol">,</span>
|
|
2242
|
-
<span class="tsd-kind-parameter">options</span
|
|
2243
|
-
><span class="tsd-signature-symbol">?:</span>
|
|
2244
|
-
<span class="tsd-signature-symbol">{}</span
|
|
2245
|
-
><span class="tsd-signature-symbol">)</span
|
|
2246
|
-
><span class="tsd-signature-symbol">:</span>
|
|
2247
|
-
<a
|
|
2248
|
-
href="router_state_target-state.TargetState.html"
|
|
2249
|
-
class="tsd-signature-type tsd-kind-class"
|
|
2250
|
-
>TargetState</a
|
|
2251
|
-
><a
|
|
2252
|
-
href="#target-1"
|
|
2253
|
-
aria-label="Permalink"
|
|
2254
|
-
class="tsd-anchor-icon"
|
|
2255
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
2256
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
2257
|
-
></a>
|
|
2258
|
-
</div>
|
|
2259
|
-
<div class="tsd-description">
|
|
2260
|
-
<div class="tsd-comment tsd-typography">
|
|
2261
|
-
<p>Creates a [[TargetState]]</p>
|
|
2262
|
-
<p>This is a factory method for creating a TargetState</p>
|
|
2263
|
-
<p>
|
|
2264
|
-
This may be returned from a Transition Hook to redirect
|
|
2265
|
-
a transition, for example.
|
|
2266
|
-
</p>
|
|
2267
|
-
</div>
|
|
2268
|
-
<div class="tsd-parameters">
|
|
2269
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
2270
|
-
<ul class="tsd-parameter-list">
|
|
2271
|
-
<li>
|
|
2272
|
-
<span
|
|
2273
|
-
><span class="tsd-kind-parameter">identifier</span>:
|
|
2274
|
-
<span class="tsd-signature-type">any</span></span
|
|
2275
|
-
>
|
|
2276
|
-
</li>
|
|
2277
|
-
<li>
|
|
2278
|
-
<span
|
|
2279
|
-
><span class="tsd-kind-parameter">params</span>:
|
|
2280
|
-
<span class="tsd-signature-type">any</span></span
|
|
2281
|
-
>
|
|
2282
|
-
</li>
|
|
2283
|
-
<li>
|
|
2284
|
-
<span
|
|
2285
|
-
><span class="tsd-kind-parameter">options</span>:
|
|
2286
|
-
<span class="tsd-signature-symbol">{}</span
|
|
2287
|
-
><span class="tsd-signature-symbol">
|
|
2288
|
-
= {}</span
|
|
2289
|
-
></span
|
|
2290
|
-
>
|
|
2291
|
-
</li>
|
|
2292
|
-
</ul>
|
|
2293
|
-
</div>
|
|
2294
|
-
<h4 class="tsd-returns-title">
|
|
2295
|
-
Returns
|
|
2296
|
-
<a
|
|
2297
|
-
href="router_state_target-state.TargetState.html"
|
|
2298
|
-
class="tsd-signature-type tsd-kind-class"
|
|
2299
|
-
>TargetState</a
|
|
2300
|
-
>
|
|
2301
|
-
</h4>
|
|
2302
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
2303
|
-
</div>
|
|
2304
|
-
</li>
|
|
2305
|
-
</ul>
|
|
2306
|
-
</section>
|
|
2307
|
-
<section class="tsd-panel tsd-member">
|
|
2308
|
-
<h3 class="tsd-anchor-link" id="transitionto">
|
|
2309
|
-
<span>transition<wbr />To</span
|
|
2310
|
-
><a
|
|
2311
|
-
href="#transitionto"
|
|
2312
|
-
aria-label="Permalink"
|
|
2313
|
-
class="tsd-anchor-icon"
|
|
2314
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
2315
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
2316
|
-
></a>
|
|
2317
|
-
</h3>
|
|
2318
|
-
<ul class="tsd-signatures">
|
|
2319
|
-
<li class="">
|
|
2320
|
-
<div
|
|
2321
|
-
class="tsd-signature tsd-anchor-link"
|
|
2322
|
-
id="transitionto-1"
|
|
2323
|
-
>
|
|
2324
|
-
<span class="tsd-kind-call-signature">transitionTo</span
|
|
2325
|
-
><span class="tsd-signature-symbol">(</span
|
|
2326
|
-
><span class="tsd-kind-parameter">to</span
|
|
2327
|
-
><span class="tsd-signature-symbol">:</span>
|
|
2328
|
-
<span class="tsd-signature-type">any</span
|
|
2329
|
-
><span class="tsd-signature-symbol">,</span>
|
|
2330
|
-
<span class="tsd-kind-parameter">toParams</span
|
|
2331
|
-
><span class="tsd-signature-symbol">?:</span>
|
|
2332
|
-
<span class="tsd-signature-symbol">{}</span
|
|
2333
|
-
><span class="tsd-signature-symbol">,</span>
|
|
2334
|
-
<span class="tsd-kind-parameter">options</span
|
|
2335
|
-
><span class="tsd-signature-symbol">?:</span>
|
|
2336
|
-
<span class="tsd-signature-symbol">{}</span
|
|
2337
|
-
><span class="tsd-signature-symbol">)</span
|
|
2338
|
-
><span class="tsd-signature-symbol">:</span>
|
|
2339
|
-
<span class="tsd-signature-type">any</span
|
|
2340
|
-
><a
|
|
2341
|
-
href="#transitionto-1"
|
|
2342
|
-
aria-label="Permalink"
|
|
2343
|
-
class="tsd-anchor-icon"
|
|
2344
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
2345
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
2346
|
-
></a>
|
|
2347
|
-
</div>
|
|
2348
|
-
<div class="tsd-description">
|
|
2349
|
-
<div class="tsd-comment tsd-typography">
|
|
2350
|
-
<p>Low-level method for transitioning to a new state.</p>
|
|
2351
|
-
<p>
|
|
2352
|
-
The [[go]] method (which uses
|
|
2353
|
-
<code>transitionTo</code> internally) is recommended in
|
|
2354
|
-
most situations.
|
|
2355
|
-
</p>
|
|
2356
|
-
<h4 id="example-7" class="tsd-anchor-link">
|
|
2357
|
-
Example:<a
|
|
2358
|
-
href="#example-7"
|
|
2359
|
-
aria-label="Permalink"
|
|
2360
|
-
class="tsd-anchor-icon"
|
|
2361
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
2362
|
-
<use
|
|
2363
|
-
href="../assets/icons.svg#icon-anchor"
|
|
2364
|
-
></use></svg
|
|
2365
|
-
></a>
|
|
2366
|
-
</h4>
|
|
2367
|
-
<pre><code class="js"><span class="hl-11">let</span><span class="hl-1"> </span><span class="hl-10">app</span><span class="hl-1"> = </span><span class="hl-10">angular</span><span class="hl-1">.</span><span class="hl-0">module</span><span class="hl-1">(</span><span class="hl-2">'app'</span><span class="hl-1">, [</span><span class="hl-2">'ui.router'</span><span class="hl-1">]);</span><br/><br/><span class="hl-10">app</span><span class="hl-1">.</span><span class="hl-0">controller</span><span class="hl-1">(</span><span class="hl-2">'ctrl'</span><span class="hl-1">, </span><span class="hl-11">function</span><span class="hl-1"> (</span><span class="hl-10">$scope</span><span class="hl-1">, </span><span class="hl-10">$state</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-10">$scope</span><span class="hl-1">.</span><span class="hl-0">changeState</span><span class="hl-1"> = </span><span class="hl-11">function</span><span class="hl-1"> () {</span><br/><span class="hl-1"> </span><span class="hl-10">$state</span><span class="hl-1">.</span><span class="hl-0">transitionTo</span><span class="hl-1">(</span><span class="hl-2">'contact.detail'</span><span class="hl-1">);</span><br/><span class="hl-1"> };</span><br/><span class="hl-1">});</span>
|
|
2368
|
-
</code><button type="button">Copy</button></pre>
|
|
2369
|
-
</div>
|
|
2370
|
-
<div class="tsd-parameters">
|
|
2371
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
2372
|
-
<ul class="tsd-parameter-list">
|
|
2373
|
-
<li>
|
|
2374
|
-
<span
|
|
2375
|
-
><span class="tsd-kind-parameter">to</span>:
|
|
2376
|
-
<span class="tsd-signature-type">any</span></span
|
|
2377
|
-
>
|
|
2378
|
-
<div class="tsd-comment tsd-typography">
|
|
2379
|
-
<p>State name or state object.</p>
|
|
2380
|
-
</div>
|
|
2381
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
2382
|
-
</li>
|
|
2383
|
-
<li>
|
|
2384
|
-
<span
|
|
2385
|
-
><span class="tsd-kind-parameter">toParams</span>:
|
|
2386
|
-
<span class="tsd-signature-symbol">{}</span
|
|
2387
|
-
><span class="tsd-signature-symbol">
|
|
2388
|
-
= {}</span
|
|
2389
|
-
></span
|
|
2390
|
-
>
|
|
2391
|
-
<div class="tsd-comment tsd-typography">
|
|
2392
|
-
<p>
|
|
2393
|
-
A map of the parameters that will be sent to the
|
|
2394
|
-
state, will populate $stateParams.
|
|
2395
|
-
</p>
|
|
2396
|
-
</div>
|
|
2397
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
2398
|
-
</li>
|
|
2399
|
-
<li>
|
|
2400
|
-
<span
|
|
2401
|
-
><span class="tsd-kind-parameter">options</span>:
|
|
2402
|
-
<span class="tsd-signature-symbol">{}</span
|
|
2403
|
-
><span class="tsd-signature-symbol">
|
|
2404
|
-
= {}</span
|
|
2405
|
-
></span
|
|
2406
|
-
>
|
|
2407
|
-
<div class="tsd-comment tsd-typography">
|
|
2408
|
-
<p>Transition options</p>
|
|
2409
|
-
</div>
|
|
2410
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
2411
|
-
</li>
|
|
2412
|
-
</ul>
|
|
2413
|
-
</div>
|
|
2414
|
-
<h4 class="tsd-returns-title">
|
|
2415
|
-
Returns <span class="tsd-signature-type">any</span>
|
|
2416
|
-
</h4>
|
|
2417
|
-
<p>
|
|
2418
|
-
A promise representing the state of the new transition.
|
|
2419
|
-
See [[go]]
|
|
2420
|
-
</p>
|
|
2421
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
2422
|
-
</div>
|
|
2423
|
-
</li>
|
|
2424
|
-
</ul>
|
|
2425
|
-
</section>
|
|
2426
|
-
</section>
|
|
2427
|
-
</details>
|
|
2428
|
-
</div>
|
|
2429
|
-
<div class="col-sidebar">
|
|
2430
|
-
<div class="page-menu">
|
|
2431
|
-
<div class="tsd-navigation settings">
|
|
2432
|
-
<details class="tsd-accordion">
|
|
2433
|
-
<summary class="tsd-accordion-summary">
|
|
2434
|
-
<svg
|
|
2435
|
-
width="20"
|
|
2436
|
-
height="20"
|
|
2437
|
-
viewBox="0 0 24 24"
|
|
2438
|
-
fill="none"
|
|
2439
|
-
aria-hidden="true"
|
|
2440
|
-
>
|
|
2441
|
-
<use href="../assets/icons.svg#icon-chevronDown"></use>
|
|
2442
|
-
</svg>
|
|
2443
|
-
<h3>Settings</h3>
|
|
2444
|
-
</summary>
|
|
2445
|
-
<div class="tsd-accordion-details">
|
|
2446
|
-
<div class="tsd-filter-visibility">
|
|
2447
|
-
<span class="settings-label">Member Visibility</span>
|
|
2448
|
-
<ul id="tsd-filter-options">
|
|
2449
|
-
<li class="tsd-filter-item">
|
|
2450
|
-
<label class="tsd-filter-input"
|
|
2451
|
-
><input
|
|
2452
|
-
type="checkbox"
|
|
2453
|
-
id="tsd-filter-protected"
|
|
2454
|
-
name="protected"
|
|
2455
|
-
/><svg
|
|
2456
|
-
width="32"
|
|
2457
|
-
height="32"
|
|
2458
|
-
viewBox="0 0 32 32"
|
|
2459
|
-
aria-hidden="true"
|
|
2460
|
-
>
|
|
2461
|
-
<rect
|
|
2462
|
-
class="tsd-checkbox-background"
|
|
2463
|
-
width="30"
|
|
2464
|
-
height="30"
|
|
2465
|
-
x="1"
|
|
2466
|
-
y="1"
|
|
2467
|
-
rx="6"
|
|
2468
|
-
fill="none"
|
|
2469
|
-
></rect>
|
|
2470
|
-
<path
|
|
2471
|
-
class="tsd-checkbox-checkmark"
|
|
2472
|
-
d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25"
|
|
2473
|
-
stroke="none"
|
|
2474
|
-
stroke-width="3.5"
|
|
2475
|
-
stroke-linejoin="round"
|
|
2476
|
-
fill="none"
|
|
2477
|
-
></path></svg
|
|
2478
|
-
><span>Protected</span></label
|
|
2479
|
-
>
|
|
2480
|
-
</li>
|
|
2481
|
-
<li class="tsd-filter-item">
|
|
2482
|
-
<label class="tsd-filter-input"
|
|
2483
|
-
><input
|
|
2484
|
-
type="checkbox"
|
|
2485
|
-
id="tsd-filter-inherited"
|
|
2486
|
-
name="inherited"
|
|
2487
|
-
checked
|
|
2488
|
-
/><svg
|
|
2489
|
-
width="32"
|
|
2490
|
-
height="32"
|
|
2491
|
-
viewBox="0 0 32 32"
|
|
2492
|
-
aria-hidden="true"
|
|
2493
|
-
>
|
|
2494
|
-
<rect
|
|
2495
|
-
class="tsd-checkbox-background"
|
|
2496
|
-
width="30"
|
|
2497
|
-
height="30"
|
|
2498
|
-
x="1"
|
|
2499
|
-
y="1"
|
|
2500
|
-
rx="6"
|
|
2501
|
-
fill="none"
|
|
2502
|
-
></rect>
|
|
2503
|
-
<path
|
|
2504
|
-
class="tsd-checkbox-checkmark"
|
|
2505
|
-
d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25"
|
|
2506
|
-
stroke="none"
|
|
2507
|
-
stroke-width="3.5"
|
|
2508
|
-
stroke-linejoin="round"
|
|
2509
|
-
fill="none"
|
|
2510
|
-
></path></svg
|
|
2511
|
-
><span>Inherited</span></label
|
|
2512
|
-
>
|
|
2513
|
-
</li>
|
|
2514
|
-
<li class="tsd-filter-item">
|
|
2515
|
-
<label class="tsd-filter-input"
|
|
2516
|
-
><input
|
|
2517
|
-
type="checkbox"
|
|
2518
|
-
id="tsd-filter-external"
|
|
2519
|
-
name="external"
|
|
2520
|
-
/><svg
|
|
2521
|
-
width="32"
|
|
2522
|
-
height="32"
|
|
2523
|
-
viewBox="0 0 32 32"
|
|
2524
|
-
aria-hidden="true"
|
|
2525
|
-
>
|
|
2526
|
-
<rect
|
|
2527
|
-
class="tsd-checkbox-background"
|
|
2528
|
-
width="30"
|
|
2529
|
-
height="30"
|
|
2530
|
-
x="1"
|
|
2531
|
-
y="1"
|
|
2532
|
-
rx="6"
|
|
2533
|
-
fill="none"
|
|
2534
|
-
></rect>
|
|
2535
|
-
<path
|
|
2536
|
-
class="tsd-checkbox-checkmark"
|
|
2537
|
-
d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25"
|
|
2538
|
-
stroke="none"
|
|
2539
|
-
stroke-width="3.5"
|
|
2540
|
-
stroke-linejoin="round"
|
|
2541
|
-
fill="none"
|
|
2542
|
-
></path></svg
|
|
2543
|
-
><span>External</span></label
|
|
2544
|
-
>
|
|
2545
|
-
</li>
|
|
2546
|
-
</ul>
|
|
2547
|
-
</div>
|
|
2548
|
-
<div class="tsd-theme-toggle">
|
|
2549
|
-
<label class="settings-label" for="tsd-theme">Theme</label
|
|
2550
|
-
><select id="tsd-theme">
|
|
2551
|
-
<option value="os">OS</option>
|
|
2552
|
-
<option value="light">Light</option>
|
|
2553
|
-
<option value="dark">Dark</option>
|
|
2554
|
-
</select>
|
|
2555
|
-
</div>
|
|
2556
|
-
</div>
|
|
2557
|
-
</details>
|
|
2558
|
-
</div>
|
|
2559
|
-
<details open class="tsd-accordion tsd-page-navigation">
|
|
2560
|
-
<summary class="tsd-accordion-summary">
|
|
2561
|
-
<svg
|
|
2562
|
-
width="20"
|
|
2563
|
-
height="20"
|
|
2564
|
-
viewBox="0 0 24 24"
|
|
2565
|
-
fill="none"
|
|
2566
|
-
aria-hidden="true"
|
|
2567
|
-
>
|
|
2568
|
-
<use href="../assets/icons.svg#icon-chevronDown"></use>
|
|
2569
|
-
</svg>
|
|
2570
|
-
<h3>On This Page</h3>
|
|
2571
|
-
</summary>
|
|
2572
|
-
<div class="tsd-accordion-details">
|
|
2573
|
-
<details open class="tsd-accordion tsd-page-navigation-section">
|
|
2574
|
-
<summary
|
|
2575
|
-
class="tsd-accordion-summary"
|
|
2576
|
-
data-key="section-Constructors"
|
|
2577
|
-
>
|
|
2578
|
-
<svg
|
|
2579
|
-
width="20"
|
|
2580
|
-
height="20"
|
|
2581
|
-
viewBox="0 0 24 24"
|
|
2582
|
-
fill="none"
|
|
2583
|
-
aria-hidden="true"
|
|
2584
|
-
>
|
|
2585
|
-
<use href="../assets/icons.svg#icon-chevronDown"></use></svg
|
|
2586
|
-
>Constructors
|
|
2587
|
-
</summary>
|
|
2588
|
-
<div>
|
|
2589
|
-
<a href="#constructor"
|
|
2590
|
-
><svg
|
|
2591
|
-
class="tsd-kind-icon"
|
|
2592
|
-
viewBox="0 0 24 24"
|
|
2593
|
-
aria-label="Constructor"
|
|
2594
|
-
>
|
|
2595
|
-
<use href="../assets/icons.svg#icon-512"></use></svg
|
|
2596
|
-
><span>constructor</span></a
|
|
2597
|
-
>
|
|
2598
|
-
</div>
|
|
2599
|
-
</details>
|
|
2600
|
-
<details open class="tsd-accordion tsd-page-navigation-section">
|
|
2601
|
-
<summary
|
|
2602
|
-
class="tsd-accordion-summary"
|
|
2603
|
-
data-key="section-Properties"
|
|
2604
|
-
>
|
|
2605
|
-
<svg
|
|
2606
|
-
width="20"
|
|
2607
|
-
height="20"
|
|
2608
|
-
viewBox="0 0 24 24"
|
|
2609
|
-
fill="none"
|
|
2610
|
-
aria-hidden="true"
|
|
2611
|
-
>
|
|
2612
|
-
<use href="../assets/icons.svg#icon-chevronDown"></use></svg
|
|
2613
|
-
>Properties
|
|
2614
|
-
</summary>
|
|
2615
|
-
<div>
|
|
2616
|
-
<a href="#_defaulterrorhandler"
|
|
2617
|
-
><svg
|
|
2618
|
-
class="tsd-kind-icon"
|
|
2619
|
-
viewBox="0 0 24 24"
|
|
2620
|
-
aria-label="Property"
|
|
2621
|
-
>
|
|
2622
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
2623
|
-
><span>_<wbr />default<wbr />Error<wbr />Handler</span></a
|
|
2624
|
-
><a href="#globals"
|
|
2625
|
-
><svg
|
|
2626
|
-
class="tsd-kind-icon"
|
|
2627
|
-
viewBox="0 0 24 24"
|
|
2628
|
-
aria-label="Property"
|
|
2629
|
-
>
|
|
2630
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
2631
|
-
><span>globals</span></a
|
|
2632
|
-
><a href="#invalidcallbacks"
|
|
2633
|
-
><svg
|
|
2634
|
-
class="tsd-kind-icon"
|
|
2635
|
-
viewBox="0 0 24 24"
|
|
2636
|
-
aria-label="Property"
|
|
2637
|
-
>
|
|
2638
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
2639
|
-
><span>invalid<wbr />Callbacks</span></a
|
|
2640
|
-
><a href="#stateregistry"
|
|
2641
|
-
><svg
|
|
2642
|
-
class="tsd-kind-icon"
|
|
2643
|
-
viewBox="0 0 24 24"
|
|
2644
|
-
aria-label="Property"
|
|
2645
|
-
>
|
|
2646
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
2647
|
-
><span>state<wbr />Registry</span></a
|
|
2648
|
-
><a href="#transitionservice"
|
|
2649
|
-
><svg
|
|
2650
|
-
class="tsd-kind-icon"
|
|
2651
|
-
viewBox="0 0 24 24"
|
|
2652
|
-
aria-label="Property"
|
|
2653
|
-
>
|
|
2654
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
2655
|
-
><span>transition<wbr />Service</span></a
|
|
2656
|
-
><a href="#urlservice"
|
|
2657
|
-
><svg
|
|
2658
|
-
class="tsd-kind-icon"
|
|
2659
|
-
viewBox="0 0 24 24"
|
|
2660
|
-
aria-label="Property"
|
|
2661
|
-
>
|
|
2662
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
2663
|
-
><span>url<wbr />Service</span></a
|
|
2664
|
-
><a href="#inject"
|
|
2665
|
-
><svg
|
|
2666
|
-
class="tsd-kind-icon"
|
|
2667
|
-
viewBox="0 0 24 24"
|
|
2668
|
-
aria-label="Property"
|
|
2669
|
-
>
|
|
2670
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
2671
|
-
><span>$inject</span></a
|
|
2672
|
-
>
|
|
2673
|
-
</div>
|
|
2674
|
-
</details>
|
|
2675
|
-
<details open class="tsd-accordion tsd-page-navigation-section">
|
|
2676
|
-
<summary
|
|
2677
|
-
class="tsd-accordion-summary"
|
|
2678
|
-
data-key="section-Accessors"
|
|
2679
|
-
>
|
|
2680
|
-
<svg
|
|
2681
|
-
width="20"
|
|
2682
|
-
height="20"
|
|
2683
|
-
viewBox="0 0 24 24"
|
|
2684
|
-
fill="none"
|
|
2685
|
-
aria-hidden="true"
|
|
2686
|
-
>
|
|
2687
|
-
<use href="../assets/icons.svg#icon-chevronDown"></use></svg
|
|
2688
|
-
>Accessors
|
|
2689
|
-
</summary>
|
|
2690
|
-
<div>
|
|
2691
|
-
<a href="#current"
|
|
2692
|
-
><svg
|
|
2693
|
-
class="tsd-kind-icon"
|
|
2694
|
-
viewBox="0 0 24 24"
|
|
2695
|
-
aria-label="Accessor"
|
|
2696
|
-
>
|
|
2697
|
-
<use href="../assets/icons.svg#icon-262144"></use></svg
|
|
2698
|
-
><span>$current</span></a
|
|
2699
|
-
><a href="#current-1"
|
|
2700
|
-
><svg
|
|
2701
|
-
class="tsd-kind-icon"
|
|
2702
|
-
viewBox="0 0 24 24"
|
|
2703
|
-
aria-label="Accessor"
|
|
2704
|
-
>
|
|
2705
|
-
<use href="../assets/icons.svg#icon-262144"></use></svg
|
|
2706
|
-
><span>current</span></a
|
|
2707
|
-
><a href="#params"
|
|
2708
|
-
><svg
|
|
2709
|
-
class="tsd-kind-icon"
|
|
2710
|
-
viewBox="0 0 24 24"
|
|
2711
|
-
aria-label="Accessor"
|
|
2712
|
-
>
|
|
2713
|
-
<use href="../assets/icons.svg#icon-262144"></use></svg
|
|
2714
|
-
><span>params</span></a
|
|
2715
|
-
>
|
|
2716
|
-
</div>
|
|
2717
|
-
</details>
|
|
2718
|
-
<details open class="tsd-accordion tsd-page-navigation-section">
|
|
2719
|
-
<summary
|
|
2720
|
-
class="tsd-accordion-summary"
|
|
2721
|
-
data-key="section-Methods"
|
|
2722
|
-
>
|
|
2723
|
-
<svg
|
|
2724
|
-
width="20"
|
|
2725
|
-
height="20"
|
|
2726
|
-
viewBox="0 0 24 24"
|
|
2727
|
-
fill="none"
|
|
2728
|
-
aria-hidden="true"
|
|
2729
|
-
>
|
|
2730
|
-
<use href="../assets/icons.svg#icon-chevronDown"></use></svg
|
|
2731
|
-
>Methods
|
|
2732
|
-
</summary>
|
|
2733
|
-
<div>
|
|
2734
|
-
<a href="#_handleinvalidtargetstate"
|
|
2735
|
-
><svg
|
|
2736
|
-
class="tsd-kind-icon"
|
|
2737
|
-
viewBox="0 0 24 24"
|
|
2738
|
-
aria-label="Method"
|
|
2739
|
-
>
|
|
2740
|
-
<use href="../assets/icons.svg#icon-2048"></use></svg
|
|
2741
|
-
><span
|
|
2742
|
-
>_<wbr />handle<wbr />Invalid<wbr />Target<wbr />State</span
|
|
2743
|
-
></a
|
|
2744
|
-
><a href="#get"
|
|
2745
|
-
><svg
|
|
2746
|
-
class="tsd-kind-icon"
|
|
2747
|
-
viewBox="0 0 24 24"
|
|
2748
|
-
aria-label="Method"
|
|
2749
|
-
>
|
|
2750
|
-
<use href="../assets/icons.svg#icon-2048"></use></svg
|
|
2751
|
-
><span>$get</span></a
|
|
2752
|
-
><a href="#decorator"
|
|
2753
|
-
><svg
|
|
2754
|
-
class="tsd-kind-icon"
|
|
2755
|
-
viewBox="0 0 24 24"
|
|
2756
|
-
aria-label="Method"
|
|
2757
|
-
>
|
|
2758
|
-
<use href="../assets/icons.svg#icon-2048"></use></svg
|
|
2759
|
-
><span>decorator</span></a
|
|
2760
|
-
>
|
|
2761
|
-
<ul>
|
|
2762
|
-
<li>
|
|
2763
|
-
<ul>
|
|
2764
|
-
<li>
|
|
2765
|
-
<ul>
|
|
2766
|
-
<li>
|
|
2767
|
-
<ul>
|
|
2768
|
-
<li>
|
|
2769
|
-
<a href="#example"><span>Example:</span></a>
|
|
2770
|
-
</li>
|
|
2771
|
-
</ul>
|
|
2772
|
-
</li>
|
|
2773
|
-
</ul>
|
|
2774
|
-
</li>
|
|
2775
|
-
</ul>
|
|
2776
|
-
</li>
|
|
2777
|
-
</ul>
|
|
2778
|
-
<a href="#defaulterrorhandler"
|
|
2779
|
-
><svg
|
|
2780
|
-
class="tsd-kind-icon"
|
|
2781
|
-
viewBox="0 0 24 24"
|
|
2782
|
-
aria-label="Method"
|
|
2783
|
-
>
|
|
2784
|
-
<use href="../assets/icons.svg#icon-2048"></use></svg
|
|
2785
|
-
><span>default<wbr />Error<wbr />Handler</span></a
|
|
2786
|
-
>
|
|
2787
|
-
<ul>
|
|
2788
|
-
<li>
|
|
2789
|
-
<ul>
|
|
2790
|
-
<li>
|
|
2791
|
-
<ul>
|
|
2792
|
-
<li>
|
|
2793
|
-
<ul>
|
|
2794
|
-
<li>
|
|
2795
|
-
<a href="#example-1"><span>Example:</span></a>
|
|
2796
|
-
</li>
|
|
2797
|
-
</ul>
|
|
2798
|
-
</li>
|
|
2799
|
-
</ul>
|
|
2800
|
-
</li>
|
|
2801
|
-
</ul>
|
|
2802
|
-
</li>
|
|
2803
|
-
</ul>
|
|
2804
|
-
<a href="#get-2"
|
|
2805
|
-
><svg
|
|
2806
|
-
class="tsd-kind-icon"
|
|
2807
|
-
viewBox="0 0 24 24"
|
|
2808
|
-
aria-label="Method"
|
|
2809
|
-
>
|
|
2810
|
-
<use href="../assets/icons.svg#icon-2048"></use></svg
|
|
2811
|
-
><span>get</span></a
|
|
2812
|
-
><a href="#getcurrentpath"
|
|
2813
|
-
><svg
|
|
2814
|
-
class="tsd-kind-icon"
|
|
2815
|
-
viewBox="0 0 24 24"
|
|
2816
|
-
aria-label="Method"
|
|
2817
|
-
>
|
|
2818
|
-
<use href="../assets/icons.svg#icon-2048"></use></svg
|
|
2819
|
-
><span>get<wbr />Current<wbr />Path</span></a
|
|
2820
|
-
><a href="#go"
|
|
2821
|
-
><svg
|
|
2822
|
-
class="tsd-kind-icon"
|
|
2823
|
-
viewBox="0 0 24 24"
|
|
2824
|
-
aria-label="Method"
|
|
2825
|
-
>
|
|
2826
|
-
<use href="../assets/icons.svg#icon-2048"></use></svg
|
|
2827
|
-
><span>go</span></a
|
|
2828
|
-
>
|
|
2829
|
-
<ul>
|
|
2830
|
-
<li>
|
|
2831
|
-
<ul>
|
|
2832
|
-
<li>
|
|
2833
|
-
<ul>
|
|
2834
|
-
<li>
|
|
2835
|
-
<ul>
|
|
2836
|
-
<li>
|
|
2837
|
-
<a href="#example-2"><span>Example:</span></a>
|
|
2838
|
-
</li>
|
|
2839
|
-
</ul>
|
|
2840
|
-
</li>
|
|
2841
|
-
</ul>
|
|
2842
|
-
</li>
|
|
2843
|
-
</ul>
|
|
2844
|
-
</li>
|
|
2845
|
-
</ul>
|
|
2846
|
-
<a href="#href"
|
|
2847
|
-
><svg
|
|
2848
|
-
class="tsd-kind-icon"
|
|
2849
|
-
viewBox="0 0 24 24"
|
|
2850
|
-
aria-label="Method"
|
|
2851
|
-
>
|
|
2852
|
-
<use href="../assets/icons.svg#icon-2048"></use></svg
|
|
2853
|
-
><span>href</span></a
|
|
2854
|
-
>
|
|
2855
|
-
<ul>
|
|
2856
|
-
<li>
|
|
2857
|
-
<ul>
|
|
2858
|
-
<li>
|
|
2859
|
-
<ul>
|
|
2860
|
-
<li>
|
|
2861
|
-
<ul>
|
|
2862
|
-
<li>
|
|
2863
|
-
<a href="#example-3"><span>Example:</span></a>
|
|
2864
|
-
</li>
|
|
2865
|
-
</ul>
|
|
2866
|
-
</li>
|
|
2867
|
-
</ul>
|
|
2868
|
-
</li>
|
|
2869
|
-
</ul>
|
|
2870
|
-
</li>
|
|
2871
|
-
</ul>
|
|
2872
|
-
<a href="#includes"
|
|
2873
|
-
><svg
|
|
2874
|
-
class="tsd-kind-icon"
|
|
2875
|
-
viewBox="0 0 24 24"
|
|
2876
|
-
aria-label="Method"
|
|
2877
|
-
>
|
|
2878
|
-
<use href="../assets/icons.svg#icon-2048"></use></svg
|
|
2879
|
-
><span>includes</span></a
|
|
2880
|
-
>
|
|
2881
|
-
<ul>
|
|
2882
|
-
<li>
|
|
2883
|
-
<ul>
|
|
2884
|
-
<li>
|
|
2885
|
-
<ul>
|
|
2886
|
-
<li>
|
|
2887
|
-
<ul>
|
|
2888
|
-
<li>
|
|
2889
|
-
<a
|
|
2890
|
-
href="#example-when-statecurrentname--contactsdetailsitem"
|
|
2891
|
-
><span
|
|
2892
|
-
>Example when $state.$current.name ===
|
|
2893
|
-
'contacts.details.item'</span
|
|
2894
|
-
></a
|
|
2895
|
-
>
|
|
2896
|
-
</li>
|
|
2897
|
-
<li>
|
|
2898
|
-
<a
|
|
2899
|
-
href="#glob-examples-when--statecurrentname--contactsdetailsitemurl"
|
|
2900
|
-
><span
|
|
2901
|
-
>Glob <wbr />Examples when *
|
|
2902
|
-
$state.$current.name ===
|
|
2903
|
-
'contacts.details.item.url':</span
|
|
2904
|
-
></a
|
|
2905
|
-
>
|
|
2906
|
-
</li>
|
|
2907
|
-
</ul>
|
|
2908
|
-
</li>
|
|
2909
|
-
</ul>
|
|
2910
|
-
</li>
|
|
2911
|
-
</ul>
|
|
2912
|
-
</li>
|
|
2913
|
-
</ul>
|
|
2914
|
-
<a href="#is"
|
|
2915
|
-
><svg
|
|
2916
|
-
class="tsd-kind-icon"
|
|
2917
|
-
viewBox="0 0 24 24"
|
|
2918
|
-
aria-label="Method"
|
|
2919
|
-
>
|
|
2920
|
-
<use href="../assets/icons.svg#icon-2048"></use></svg
|
|
2921
|
-
><span>is</span></a
|
|
2922
|
-
>
|
|
2923
|
-
<ul>
|
|
2924
|
-
<li>
|
|
2925
|
-
<ul>
|
|
2926
|
-
<li>
|
|
2927
|
-
<ul>
|
|
2928
|
-
<li>
|
|
2929
|
-
<ul>
|
|
2930
|
-
<li>
|
|
2931
|
-
<a href="#example-4"><span>Example:</span></a>
|
|
2932
|
-
</li>
|
|
2933
|
-
</ul>
|
|
2934
|
-
</li>
|
|
2935
|
-
</ul>
|
|
2936
|
-
</li>
|
|
2937
|
-
</ul>
|
|
2938
|
-
</li>
|
|
2939
|
-
</ul>
|
|
2940
|
-
<a href="#lazyload"
|
|
2941
|
-
><svg
|
|
2942
|
-
class="tsd-kind-icon"
|
|
2943
|
-
viewBox="0 0 24 24"
|
|
2944
|
-
aria-label="Method"
|
|
2945
|
-
>
|
|
2946
|
-
<use href="../assets/icons.svg#icon-2048"></use></svg
|
|
2947
|
-
><span>lazy<wbr />Load</span></a
|
|
2948
|
-
><a href="#oninvalid"
|
|
2949
|
-
><svg
|
|
2950
|
-
class="tsd-kind-icon"
|
|
2951
|
-
viewBox="0 0 24 24"
|
|
2952
|
-
aria-label="Method"
|
|
2953
|
-
>
|
|
2954
|
-
<use href="../assets/icons.svg#icon-2048"></use></svg
|
|
2955
|
-
><span>on<wbr />Invalid</span></a
|
|
2956
|
-
><a href="#reload"
|
|
2957
|
-
><svg
|
|
2958
|
-
class="tsd-kind-icon"
|
|
2959
|
-
viewBox="0 0 24 24"
|
|
2960
|
-
aria-label="Method"
|
|
2961
|
-
>
|
|
2962
|
-
<use href="../assets/icons.svg#icon-2048"></use></svg
|
|
2963
|
-
><span>reload</span></a
|
|
2964
|
-
>
|
|
2965
|
-
<ul>
|
|
2966
|
-
<li>
|
|
2967
|
-
<ul>
|
|
2968
|
-
<li>
|
|
2969
|
-
<ul>
|
|
2970
|
-
<li>
|
|
2971
|
-
<ul>
|
|
2972
|
-
<li>
|
|
2973
|
-
<a href="#example-5"><span>Example:</span></a>
|
|
2974
|
-
</li>
|
|
2975
|
-
<li>
|
|
2976
|
-
<a href="#example-6"><span>Example:</span></a>
|
|
2977
|
-
</li>
|
|
2978
|
-
</ul>
|
|
2979
|
-
</li>
|
|
2980
|
-
</ul>
|
|
2981
|
-
</li>
|
|
2982
|
-
</ul>
|
|
2983
|
-
</li>
|
|
2984
|
-
</ul>
|
|
2985
|
-
<a href="#state"
|
|
2986
|
-
><svg
|
|
2987
|
-
class="tsd-kind-icon"
|
|
2988
|
-
viewBox="0 0 24 24"
|
|
2989
|
-
aria-label="Method"
|
|
2990
|
-
>
|
|
2991
|
-
<use href="../assets/icons.svg#icon-2048"></use></svg
|
|
2992
|
-
><span>state</span></a
|
|
2993
|
-
><a href="#target"
|
|
2994
|
-
><svg
|
|
2995
|
-
class="tsd-kind-icon"
|
|
2996
|
-
viewBox="0 0 24 24"
|
|
2997
|
-
aria-label="Method"
|
|
2998
|
-
>
|
|
2999
|
-
<use href="../assets/icons.svg#icon-2048"></use></svg
|
|
3000
|
-
><span>target</span></a
|
|
3001
|
-
><a href="#transitionto"
|
|
3002
|
-
><svg
|
|
3003
|
-
class="tsd-kind-icon"
|
|
3004
|
-
viewBox="0 0 24 24"
|
|
3005
|
-
aria-label="Method"
|
|
3006
|
-
>
|
|
3007
|
-
<use href="../assets/icons.svg#icon-2048"></use></svg
|
|
3008
|
-
><span>transition<wbr />To</span></a
|
|
3009
|
-
>
|
|
3010
|
-
<ul>
|
|
3011
|
-
<li>
|
|
3012
|
-
<a href="#example-7"><span>Example:</span></a>
|
|
3013
|
-
</li>
|
|
3014
|
-
</ul>
|
|
3015
|
-
</div>
|
|
3016
|
-
</details>
|
|
3017
|
-
</div>
|
|
3018
|
-
</details>
|
|
3019
|
-
</div>
|
|
3020
|
-
<div class="site-menu">
|
|
3021
|
-
<nav class="tsd-navigation">
|
|
3022
|
-
<a href="../modules.html">AngularTS</a>
|
|
3023
|
-
<ul class="tsd-small-nested-navigation" id="tsd-nav-container">
|
|
3024
|
-
<li>Loading...</li>
|
|
3025
|
-
</ul>
|
|
3026
|
-
</nav>
|
|
3027
|
-
</div>
|
|
3028
|
-
</div>
|
|
3029
|
-
</div>
|
|
3030
|
-
<footer>
|
|
3031
|
-
<p class="tsd-generator">
|
|
3032
|
-
Generated using
|
|
3033
|
-
<a href="https://typedoc.org/" target="_blank">TypeDoc</a>
|
|
3034
|
-
</p>
|
|
3035
|
-
</footer>
|
|
3036
|
-
<div class="overlay"></div>
|
|
3037
|
-
</body>
|
|
3038
|
-
</html>
|