@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,2461 +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>StateDeclaration | 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_interface.html"
|
|
89
|
-
>router/state/interface</a
|
|
90
|
-
>
|
|
91
|
-
</li>
|
|
92
|
-
<li><a href="" aria-current="page">StateDeclaration</a></li>
|
|
93
|
-
</ul>
|
|
94
|
-
<h1>Interface StateDeclaration</h1>
|
|
95
|
-
</div>
|
|
96
|
-
<section class="tsd-panel tsd-comment">
|
|
97
|
-
<div class="tsd-comment tsd-typography">
|
|
98
|
-
<p>
|
|
99
|
-
The StateDeclaration object is used to define a state or nested
|
|
100
|
-
state.
|
|
101
|
-
</p>
|
|
102
|
-
<p>
|
|
103
|
-
Note: Each implementation of UI-Router (for a specific framework)
|
|
104
|
-
extends this interface as necessary.
|
|
105
|
-
</p>
|
|
106
|
-
<h4 id="example" class="tsd-anchor-link">
|
|
107
|
-
Example:<a
|
|
108
|
-
href="#example"
|
|
109
|
-
aria-label="Permalink"
|
|
110
|
-
class="tsd-anchor-icon"
|
|
111
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
112
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
113
|
-
></a>
|
|
114
|
-
</h4>
|
|
115
|
-
<pre><code class="js"><span class="hl-9">// StateDeclaration object</span><br/><span class="hl-11">var</span><span class="hl-1"> </span><span class="hl-10">foldersState</span><span class="hl-1"> = {</span><br/><span class="hl-1"> </span><span class="hl-10">name:</span><span class="hl-1"> </span><span class="hl-2">'folders'</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-10">url:</span><span class="hl-1"> </span><span class="hl-2">'/folders'</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-10">component:</span><span class="hl-1"> </span><span class="hl-10">FoldersComponent</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-10">resolve:</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">allfolders</span><span class="hl-10">:</span><span class="hl-1"> </span><span class="hl-11">function</span><span class="hl-1">(</span><span class="hl-10">FolderService</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">FolderService</span><span class="hl-1">.</span><span class="hl-0">list</span><span class="hl-1">();</span><br/><span class="hl-1"> }</span><br/><span class="hl-1"> },</span><br/><span class="hl-1">}</span><br/><br/><span class="hl-10">registry</span><span class="hl-1">.</span><span class="hl-0">register</span><span class="hl-1">(</span><span class="hl-10">foldersState</span><span class="hl-1">);</span>
|
|
116
|
-
</code><button type="button">Copy</button></pre>
|
|
117
|
-
</div>
|
|
118
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
119
|
-
</section>
|
|
120
|
-
<div class="tsd-signature">
|
|
121
|
-
<span class="tsd-signature-keyword">interface</span>
|
|
122
|
-
<span class="tsd-kind-interface">StateDeclaration</span>
|
|
123
|
-
<span class="tsd-signature-symbol">{</span><br /> <a
|
|
124
|
-
class="tsd-kind-property"
|
|
125
|
-
href="#state"
|
|
126
|
-
>$$state</a
|
|
127
|
-
><span class="tsd-signature-symbol">?:</span>
|
|
128
|
-
<span class="tsd-signature-symbol">()</span>
|
|
129
|
-
<span class="tsd-signature-symbol">=></span>
|
|
130
|
-
<a
|
|
131
|
-
href="../classes/router_state_state-object.StateObject.html"
|
|
132
|
-
class="tsd-signature-type tsd-kind-class"
|
|
133
|
-
>StateObject</a
|
|
134
|
-
><span class="tsd-signature-symbol">;</span><br /> <a
|
|
135
|
-
class="tsd-kind-property"
|
|
136
|
-
href="#abstract"
|
|
137
|
-
>abstract</a
|
|
138
|
-
><span class="tsd-signature-symbol">?:</span>
|
|
139
|
-
<span class="tsd-signature-type">boolean</span
|
|
140
|
-
><span class="tsd-signature-symbol">;</span><br /> <a
|
|
141
|
-
class="tsd-kind-property"
|
|
142
|
-
href="#data"
|
|
143
|
-
>data</a
|
|
144
|
-
><span class="tsd-signature-symbol">?:</span>
|
|
145
|
-
<span class="tsd-signature-type">any</span
|
|
146
|
-
><span class="tsd-signature-symbol">;</span><br /> <a
|
|
147
|
-
class="tsd-kind-property"
|
|
148
|
-
href="#dynamic"
|
|
149
|
-
>dynamic</a
|
|
150
|
-
><span class="tsd-signature-symbol">?:</span>
|
|
151
|
-
<span class="tsd-signature-type">boolean</span
|
|
152
|
-
><span class="tsd-signature-symbol">;</span><br /> <a
|
|
153
|
-
class="tsd-kind-property"
|
|
154
|
-
href="#lazyload"
|
|
155
|
-
>lazyLoad</a
|
|
156
|
-
><span class="tsd-signature-symbol">?:</span>
|
|
157
|
-
<span class="tsd-signature-symbol">(</span><br /> <span
|
|
158
|
-
class="tsd-kind-parameter"
|
|
159
|
-
>transition</span
|
|
160
|
-
><span class="tsd-signature-symbol">:</span>
|
|
161
|
-
<a
|
|
162
|
-
href="../classes/router_transition_transition.Transition.html"
|
|
163
|
-
class="tsd-signature-type tsd-kind-class"
|
|
164
|
-
>Transition</a
|
|
165
|
-
><span class="tsd-signature-symbol">,</span><br /> <span
|
|
166
|
-
class="tsd-kind-parameter"
|
|
167
|
-
>state</span
|
|
168
|
-
><span class="tsd-signature-symbol">:</span>
|
|
169
|
-
<a href="" class="tsd-signature-type tsd-kind-interface"
|
|
170
|
-
>StateDeclaration</a
|
|
171
|
-
><span class="tsd-signature-symbol">,</span><br /> <span
|
|
172
|
-
class="tsd-signature-symbol"
|
|
173
|
-
>)</span
|
|
174
|
-
>
|
|
175
|
-
<span class="tsd-signature-symbol">=></span>
|
|
176
|
-
<span class="tsd-signature-type">Promise</span
|
|
177
|
-
><span class="tsd-signature-symbol"><</span
|
|
178
|
-
><a
|
|
179
|
-
href="router_state_interface.LazyLoadResult.html"
|
|
180
|
-
class="tsd-signature-type tsd-kind-interface"
|
|
181
|
-
>LazyLoadResult</a
|
|
182
|
-
><span class="tsd-signature-symbol">></span
|
|
183
|
-
><span class="tsd-signature-symbol">;</span><br /> <a
|
|
184
|
-
class="tsd-kind-property"
|
|
185
|
-
href="#name"
|
|
186
|
-
>name</a
|
|
187
|
-
><span class="tsd-signature-symbol">?:</span>
|
|
188
|
-
<span class="tsd-signature-type">string</span
|
|
189
|
-
><span class="tsd-signature-symbol">;</span><br /> <a
|
|
190
|
-
class="tsd-kind-property"
|
|
191
|
-
href="#onenter"
|
|
192
|
-
>onEnter</a
|
|
193
|
-
><span class="tsd-signature-symbol">?:</span>
|
|
194
|
-
<a
|
|
195
|
-
href="../types/interface.Injectable.html"
|
|
196
|
-
class="tsd-signature-type tsd-kind-type-alias"
|
|
197
|
-
>Injectable</a
|
|
198
|
-
>
|
|
199
|
-
<span class="tsd-signature-symbol">|</span>
|
|
200
|
-
<a
|
|
201
|
-
href="router_transition_interface.TransitionStateHookFn.html"
|
|
202
|
-
class="tsd-signature-type tsd-kind-interface"
|
|
203
|
-
>TransitionStateHookFn</a
|
|
204
|
-
><span class="tsd-signature-symbol">;</span><br /> <a
|
|
205
|
-
class="tsd-kind-property"
|
|
206
|
-
href="#onexit"
|
|
207
|
-
>onExit</a
|
|
208
|
-
><span class="tsd-signature-symbol">?:</span>
|
|
209
|
-
<a
|
|
210
|
-
href="../types/interface.Injectable.html"
|
|
211
|
-
class="tsd-signature-type tsd-kind-type-alias"
|
|
212
|
-
>Injectable</a
|
|
213
|
-
>
|
|
214
|
-
<span class="tsd-signature-symbol">|</span>
|
|
215
|
-
<a
|
|
216
|
-
href="router_transition_interface.TransitionStateHookFn.html"
|
|
217
|
-
class="tsd-signature-type tsd-kind-interface"
|
|
218
|
-
>TransitionStateHookFn</a
|
|
219
|
-
><span class="tsd-signature-symbol">;</span><br /> <a
|
|
220
|
-
class="tsd-kind-property"
|
|
221
|
-
href="#onretain"
|
|
222
|
-
>onRetain</a
|
|
223
|
-
><span class="tsd-signature-symbol">?:</span>
|
|
224
|
-
<a
|
|
225
|
-
href="../types/interface.Injectable.html"
|
|
226
|
-
class="tsd-signature-type tsd-kind-type-alias"
|
|
227
|
-
>Injectable</a
|
|
228
|
-
>
|
|
229
|
-
<span class="tsd-signature-symbol">|</span>
|
|
230
|
-
<a
|
|
231
|
-
href="router_transition_interface.TransitionStateHookFn.html"
|
|
232
|
-
class="tsd-signature-type tsd-kind-interface"
|
|
233
|
-
>TransitionStateHookFn</a
|
|
234
|
-
><span class="tsd-signature-symbol">;</span><br /> <a
|
|
235
|
-
class="tsd-kind-property"
|
|
236
|
-
href="#params"
|
|
237
|
-
>params</a
|
|
238
|
-
><span class="tsd-signature-symbol">?:</span>
|
|
239
|
-
<span class="tsd-signature-symbol">{</span>
|
|
240
|
-
<span class="tsd-signature-symbol">[</span
|
|
241
|
-
><span class="tsd-kind-index-signature">key</span
|
|
242
|
-
><span class="tsd-signature-symbol">:</span>
|
|
243
|
-
<span class="tsd-signature-type">string</span
|
|
244
|
-
><span class="tsd-signature-symbol">]:</span>
|
|
245
|
-
<span class="tsd-signature-type">any</span>
|
|
246
|
-
<span class="tsd-signature-symbol">}</span
|
|
247
|
-
><span class="tsd-signature-symbol">;</span><br /> <a
|
|
248
|
-
class="tsd-kind-property"
|
|
249
|
-
href="#parent"
|
|
250
|
-
>parent</a
|
|
251
|
-
><span class="tsd-signature-symbol">?:</span>
|
|
252
|
-
<span class="tsd-signature-type">string</span>
|
|
253
|
-
<span class="tsd-signature-symbol">|</span>
|
|
254
|
-
<a href="" class="tsd-signature-type tsd-kind-interface"
|
|
255
|
-
>StateDeclaration</a
|
|
256
|
-
><span class="tsd-signature-symbol">;</span><br /> <a
|
|
257
|
-
class="tsd-kind-property"
|
|
258
|
-
href="#redirectto"
|
|
259
|
-
>redirectTo</a
|
|
260
|
-
><span class="tsd-signature-symbol">?:</span><br /> <span
|
|
261
|
-
class="tsd-signature-symbol"
|
|
262
|
-
>|</span
|
|
263
|
-
>
|
|
264
|
-
<a
|
|
265
|
-
href="../types/router_state_interface.RedirectToResult.html"
|
|
266
|
-
class="tsd-signature-type tsd-kind-type-alias"
|
|
267
|
-
>RedirectToResult</a
|
|
268
|
-
><br /> <span class="tsd-signature-symbol">|</span> (<span
|
|
269
|
-
class="tsd-signature-symbol"
|
|
270
|
-
>(</span
|
|
271
|
-
><span class="tsd-kind-parameter">transition</span
|
|
272
|
-
><span class="tsd-signature-symbol">:</span>
|
|
273
|
-
<a
|
|
274
|
-
href="../classes/router_transition_transition.Transition.html"
|
|
275
|
-
class="tsd-signature-type tsd-kind-class"
|
|
276
|
-
>Transition</a
|
|
277
|
-
><span class="tsd-signature-symbol">)</span>
|
|
278
|
-
<span class="tsd-signature-symbol">=></span>
|
|
279
|
-
<a
|
|
280
|
-
href="../types/router_state_interface.RedirectToResult.html"
|
|
281
|
-
class="tsd-signature-type tsd-kind-type-alias"
|
|
282
|
-
>RedirectToResult</a
|
|
283
|
-
>)<br /> <span class="tsd-signature-symbol">|</span> (<span
|
|
284
|
-
class="tsd-signature-symbol"
|
|
285
|
-
>(</span
|
|
286
|
-
><span class="tsd-kind-parameter">transition</span
|
|
287
|
-
><span class="tsd-signature-symbol">:</span>
|
|
288
|
-
<a
|
|
289
|
-
href="../classes/router_transition_transition.Transition.html"
|
|
290
|
-
class="tsd-signature-type tsd-kind-class"
|
|
291
|
-
>Transition</a
|
|
292
|
-
><span class="tsd-signature-symbol">)</span>
|
|
293
|
-
<span class="tsd-signature-symbol">=></span>
|
|
294
|
-
<span class="tsd-signature-type">Promise</span
|
|
295
|
-
><span class="tsd-signature-symbol"><</span
|
|
296
|
-
><a
|
|
297
|
-
href="../types/router_state_interface.RedirectToResult.html"
|
|
298
|
-
class="tsd-signature-type tsd-kind-type-alias"
|
|
299
|
-
>RedirectToResult</a
|
|
300
|
-
><span class="tsd-signature-symbol">></span>)<span
|
|
301
|
-
class="tsd-signature-symbol"
|
|
302
|
-
>;</span
|
|
303
|
-
><br /> <a class="tsd-kind-property" href="#reloadonsearch"
|
|
304
|
-
>reloadOnSearch</a
|
|
305
|
-
><span class="tsd-signature-symbol">?:</span>
|
|
306
|
-
<span class="tsd-signature-type">boolean</span
|
|
307
|
-
><span class="tsd-signature-symbol">;</span><br /> <a
|
|
308
|
-
class="tsd-kind-property"
|
|
309
|
-
href="#resolve"
|
|
310
|
-
>resolve</a
|
|
311
|
-
><span class="tsd-signature-symbol">?:</span>
|
|
312
|
-
<span class="tsd-signature-symbol">{</span>
|
|
313
|
-
<span class="tsd-signature-symbol">[</span
|
|
314
|
-
><span class="tsd-kind-index-signature">key</span
|
|
315
|
-
><span class="tsd-signature-symbol">:</span>
|
|
316
|
-
<span class="tsd-signature-type">string</span
|
|
317
|
-
><span class="tsd-signature-symbol">]:</span>
|
|
318
|
-
<a
|
|
319
|
-
href="../types/interface.Injectable.html"
|
|
320
|
-
class="tsd-signature-type tsd-kind-type-alias"
|
|
321
|
-
>Injectable</a
|
|
322
|
-
>
|
|
323
|
-
<span class="tsd-signature-symbol">}</span>
|
|
324
|
-
<span class="tsd-signature-symbol">|</span>
|
|
325
|
-
<a
|
|
326
|
-
href="../types/router_state_interface.ResolveTypes.html"
|
|
327
|
-
class="tsd-signature-type tsd-kind-type-alias"
|
|
328
|
-
>ResolveTypes</a
|
|
329
|
-
><span class="tsd-signature-symbol">[]</span
|
|
330
|
-
><span class="tsd-signature-symbol">;</span><br /> <a
|
|
331
|
-
class="tsd-kind-property"
|
|
332
|
-
href="#resolvepolicy"
|
|
333
|
-
>resolvePolicy</a
|
|
334
|
-
><span class="tsd-signature-symbol">?:</span>
|
|
335
|
-
<a
|
|
336
|
-
href="router_resolve_interface.ResolvePolicy.html"
|
|
337
|
-
class="tsd-signature-type tsd-kind-interface"
|
|
338
|
-
>ResolvePolicy</a
|
|
339
|
-
><span class="tsd-signature-symbol">;</span><br /> <a
|
|
340
|
-
class="tsd-kind-property"
|
|
341
|
-
href="#url"
|
|
342
|
-
>url</a
|
|
343
|
-
><span class="tsd-signature-symbol">?:</span>
|
|
344
|
-
<span class="tsd-signature-type">string</span
|
|
345
|
-
><span class="tsd-signature-symbol">;</span><br /> <a
|
|
346
|
-
class="tsd-kind-property"
|
|
347
|
-
href="#views"
|
|
348
|
-
>views</a
|
|
349
|
-
><span class="tsd-signature-symbol">?:</span>
|
|
350
|
-
<span class="tsd-signature-symbol">{</span>
|
|
351
|
-
<span class="tsd-signature-symbol">[</span
|
|
352
|
-
><span class="tsd-kind-index-signature">key</span
|
|
353
|
-
><span class="tsd-signature-symbol">:</span>
|
|
354
|
-
<span class="tsd-signature-type">string</span
|
|
355
|
-
><span class="tsd-signature-symbol">]:</span>
|
|
356
|
-
<a
|
|
357
|
-
href="router_state_interface.ViewDeclaration.html"
|
|
358
|
-
class="tsd-signature-type tsd-kind-interface"
|
|
359
|
-
>ViewDeclaration</a
|
|
360
|
-
>
|
|
361
|
-
<span class="tsd-signature-symbol">}</span
|
|
362
|
-
><span class="tsd-signature-symbol">;</span><br /><span
|
|
363
|
-
class="tsd-signature-symbol"
|
|
364
|
-
>}</span
|
|
365
|
-
>
|
|
366
|
-
</div>
|
|
367
|
-
<section class="tsd-panel-group tsd-index-group">
|
|
368
|
-
<section class="tsd-panel tsd-index-panel">
|
|
369
|
-
<details class="tsd-index-content tsd-accordion" open>
|
|
370
|
-
<summary class="tsd-accordion-summary tsd-index-summary">
|
|
371
|
-
<svg
|
|
372
|
-
width="20"
|
|
373
|
-
height="20"
|
|
374
|
-
viewBox="0 0 24 24"
|
|
375
|
-
fill="none"
|
|
376
|
-
aria-hidden="true"
|
|
377
|
-
>
|
|
378
|
-
<use href="../assets/icons.svg#icon-chevronDown"></use>
|
|
379
|
-
</svg>
|
|
380
|
-
<h5 class="tsd-index-heading uppercase">Index</h5>
|
|
381
|
-
</summary>
|
|
382
|
-
<div class="tsd-accordion-details">
|
|
383
|
-
<section class="tsd-index-section">
|
|
384
|
-
<h3 class="tsd-index-heading">Properties</h3>
|
|
385
|
-
<div class="tsd-index-list">
|
|
386
|
-
<a href="#state" class="tsd-index-link"
|
|
387
|
-
><svg
|
|
388
|
-
class="tsd-kind-icon"
|
|
389
|
-
viewBox="0 0 24 24"
|
|
390
|
-
aria-label="Property"
|
|
391
|
-
>
|
|
392
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
393
|
-
><span>$$state?</span></a
|
|
394
|
-
>
|
|
395
|
-
<a href="#abstract" class="tsd-index-link"
|
|
396
|
-
><svg
|
|
397
|
-
class="tsd-kind-icon"
|
|
398
|
-
viewBox="0 0 24 24"
|
|
399
|
-
aria-label="Property"
|
|
400
|
-
>
|
|
401
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
402
|
-
><span>abstract?</span></a
|
|
403
|
-
>
|
|
404
|
-
<a href="#data" class="tsd-index-link"
|
|
405
|
-
><svg
|
|
406
|
-
class="tsd-kind-icon"
|
|
407
|
-
viewBox="0 0 24 24"
|
|
408
|
-
aria-label="Property"
|
|
409
|
-
>
|
|
410
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
411
|
-
><span>data?</span></a
|
|
412
|
-
>
|
|
413
|
-
<a href="#dynamic" class="tsd-index-link"
|
|
414
|
-
><svg
|
|
415
|
-
class="tsd-kind-icon"
|
|
416
|
-
viewBox="0 0 24 24"
|
|
417
|
-
aria-label="Property"
|
|
418
|
-
>
|
|
419
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
420
|
-
><span>dynamic?</span></a
|
|
421
|
-
>
|
|
422
|
-
<a href="#lazyload" class="tsd-index-link"
|
|
423
|
-
><svg
|
|
424
|
-
class="tsd-kind-icon"
|
|
425
|
-
viewBox="0 0 24 24"
|
|
426
|
-
aria-label="Property"
|
|
427
|
-
>
|
|
428
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
429
|
-
><span>lazy<wbr />Load?</span></a
|
|
430
|
-
>
|
|
431
|
-
<a href="#name" class="tsd-index-link"
|
|
432
|
-
><svg
|
|
433
|
-
class="tsd-kind-icon"
|
|
434
|
-
viewBox="0 0 24 24"
|
|
435
|
-
aria-label="Property"
|
|
436
|
-
>
|
|
437
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
438
|
-
><span>name?</span></a
|
|
439
|
-
>
|
|
440
|
-
<a href="#onenter" class="tsd-index-link"
|
|
441
|
-
><svg
|
|
442
|
-
class="tsd-kind-icon"
|
|
443
|
-
viewBox="0 0 24 24"
|
|
444
|
-
aria-label="Property"
|
|
445
|
-
>
|
|
446
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
447
|
-
><span>on<wbr />Enter?</span></a
|
|
448
|
-
>
|
|
449
|
-
<a href="#onexit" class="tsd-index-link"
|
|
450
|
-
><svg
|
|
451
|
-
class="tsd-kind-icon"
|
|
452
|
-
viewBox="0 0 24 24"
|
|
453
|
-
aria-label="Property"
|
|
454
|
-
>
|
|
455
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
456
|
-
><span>on<wbr />Exit?</span></a
|
|
457
|
-
>
|
|
458
|
-
<a href="#onretain" class="tsd-index-link"
|
|
459
|
-
><svg
|
|
460
|
-
class="tsd-kind-icon"
|
|
461
|
-
viewBox="0 0 24 24"
|
|
462
|
-
aria-label="Property"
|
|
463
|
-
>
|
|
464
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
465
|
-
><span>on<wbr />Retain?</span></a
|
|
466
|
-
>
|
|
467
|
-
<a href="#params" class="tsd-index-link"
|
|
468
|
-
><svg
|
|
469
|
-
class="tsd-kind-icon"
|
|
470
|
-
viewBox="0 0 24 24"
|
|
471
|
-
aria-label="Property"
|
|
472
|
-
>
|
|
473
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
474
|
-
><span>params?</span></a
|
|
475
|
-
>
|
|
476
|
-
<a href="#parent" class="tsd-index-link"
|
|
477
|
-
><svg
|
|
478
|
-
class="tsd-kind-icon"
|
|
479
|
-
viewBox="0 0 24 24"
|
|
480
|
-
aria-label="Property"
|
|
481
|
-
>
|
|
482
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
483
|
-
><span>parent?</span></a
|
|
484
|
-
>
|
|
485
|
-
<a href="#redirectto" class="tsd-index-link"
|
|
486
|
-
><svg
|
|
487
|
-
class="tsd-kind-icon"
|
|
488
|
-
viewBox="0 0 24 24"
|
|
489
|
-
aria-label="Property"
|
|
490
|
-
>
|
|
491
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
492
|
-
><span>redirect<wbr />To?</span></a
|
|
493
|
-
>
|
|
494
|
-
<a href="#reloadonsearch" class="tsd-index-link deprecated"
|
|
495
|
-
><svg
|
|
496
|
-
class="tsd-kind-icon"
|
|
497
|
-
viewBox="0 0 24 24"
|
|
498
|
-
aria-label="Property"
|
|
499
|
-
>
|
|
500
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
501
|
-
><span>reload<wbr />On<wbr />Search?</span></a
|
|
502
|
-
>
|
|
503
|
-
<a href="#resolve" class="tsd-index-link"
|
|
504
|
-
><svg
|
|
505
|
-
class="tsd-kind-icon"
|
|
506
|
-
viewBox="0 0 24 24"
|
|
507
|
-
aria-label="Property"
|
|
508
|
-
>
|
|
509
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
510
|
-
><span>resolve?</span></a
|
|
511
|
-
>
|
|
512
|
-
<a href="#resolvepolicy" class="tsd-index-link"
|
|
513
|
-
><svg
|
|
514
|
-
class="tsd-kind-icon"
|
|
515
|
-
viewBox="0 0 24 24"
|
|
516
|
-
aria-label="Property"
|
|
517
|
-
>
|
|
518
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
519
|
-
><span>resolve<wbr />Policy?</span></a
|
|
520
|
-
>
|
|
521
|
-
<a href="#url" class="tsd-index-link"
|
|
522
|
-
><svg
|
|
523
|
-
class="tsd-kind-icon"
|
|
524
|
-
viewBox="0 0 24 24"
|
|
525
|
-
aria-label="Property"
|
|
526
|
-
>
|
|
527
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
528
|
-
><span>url?</span></a
|
|
529
|
-
>
|
|
530
|
-
<a href="#views" class="tsd-index-link"
|
|
531
|
-
><svg
|
|
532
|
-
class="tsd-kind-icon"
|
|
533
|
-
viewBox="0 0 24 24"
|
|
534
|
-
aria-label="Property"
|
|
535
|
-
>
|
|
536
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
537
|
-
><span>views?</span></a
|
|
538
|
-
>
|
|
539
|
-
</div>
|
|
540
|
-
</section>
|
|
541
|
-
</div>
|
|
542
|
-
</details>
|
|
543
|
-
</section>
|
|
544
|
-
</section>
|
|
545
|
-
<details class="tsd-panel-group tsd-member-group tsd-accordion" open>
|
|
546
|
-
<summary class="tsd-accordion-summary" data-key="section-Properties">
|
|
547
|
-
<svg
|
|
548
|
-
width="20"
|
|
549
|
-
height="20"
|
|
550
|
-
viewBox="0 0 24 24"
|
|
551
|
-
fill="none"
|
|
552
|
-
aria-hidden="true"
|
|
553
|
-
>
|
|
554
|
-
<use href="../assets/icons.svg#icon-chevronDown"></use>
|
|
555
|
-
</svg>
|
|
556
|
-
<h2>Properties</h2>
|
|
557
|
-
</summary>
|
|
558
|
-
<section>
|
|
559
|
-
<section class="tsd-panel tsd-member">
|
|
560
|
-
<h3 class="tsd-anchor-link" id="state">
|
|
561
|
-
<code class="tsd-tag">Optional</code>
|
|
562
|
-
<code class="tsd-tag">Internal</code><span>$$state</span
|
|
563
|
-
><a href="#state" aria-label="Permalink" class="tsd-anchor-icon"
|
|
564
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
565
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
566
|
-
></a>
|
|
567
|
-
</h3>
|
|
568
|
-
<div class="tsd-signature">
|
|
569
|
-
<span class="tsd-kind-property">$$state</span
|
|
570
|
-
><span class="tsd-signature-symbol">?:</span>
|
|
571
|
-
<span class="tsd-signature-symbol">()</span>
|
|
572
|
-
<span class="tsd-signature-symbol">=></span>
|
|
573
|
-
<a
|
|
574
|
-
href="../classes/router_state_state-object.StateObject.html"
|
|
575
|
-
class="tsd-signature-type tsd-kind-class"
|
|
576
|
-
>StateObject</a
|
|
577
|
-
>
|
|
578
|
-
</div>
|
|
579
|
-
<div class="tsd-comment tsd-typography">
|
|
580
|
-
<p>Gets the internal State object API</p>
|
|
581
|
-
<p>Gets the <em>internal API</em> for a registered state.</p>
|
|
582
|
-
<p>
|
|
583
|
-
Note: the internal [[StateObject]] API is subject to change
|
|
584
|
-
without notice
|
|
585
|
-
</p>
|
|
586
|
-
</div>
|
|
587
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
588
|
-
</section>
|
|
589
|
-
<section class="tsd-panel tsd-member">
|
|
590
|
-
<h3 class="tsd-anchor-link" id="abstract">
|
|
591
|
-
<code class="tsd-tag">Optional</code><span>abstract</span
|
|
592
|
-
><a
|
|
593
|
-
href="#abstract"
|
|
594
|
-
aria-label="Permalink"
|
|
595
|
-
class="tsd-anchor-icon"
|
|
596
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
597
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
598
|
-
></a>
|
|
599
|
-
</h3>
|
|
600
|
-
<div class="tsd-signature">
|
|
601
|
-
<span class="tsd-kind-property">abstract</span
|
|
602
|
-
><span class="tsd-signature-symbol">?:</span>
|
|
603
|
-
<span class="tsd-signature-type">boolean</span>
|
|
604
|
-
</div>
|
|
605
|
-
<div class="tsd-comment tsd-typography">
|
|
606
|
-
<p>Abstract state indicator</p>
|
|
607
|
-
<p>
|
|
608
|
-
An abstract state can never be directly activated. Use an
|
|
609
|
-
abstract state to provide inherited properties (url, resolve,
|
|
610
|
-
data, etc) to children states.
|
|
611
|
-
</p>
|
|
612
|
-
</div>
|
|
613
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
614
|
-
</section>
|
|
615
|
-
<section class="tsd-panel tsd-member">
|
|
616
|
-
<h3 class="tsd-anchor-link" id="data">
|
|
617
|
-
<code class="tsd-tag">Optional</code><span>data</span
|
|
618
|
-
><a href="#data" aria-label="Permalink" class="tsd-anchor-icon"
|
|
619
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
620
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
621
|
-
></a>
|
|
622
|
-
</h3>
|
|
623
|
-
<div class="tsd-signature">
|
|
624
|
-
<span class="tsd-kind-property">data</span
|
|
625
|
-
><span class="tsd-signature-symbol">?:</span>
|
|
626
|
-
<span class="tsd-signature-type">any</span>
|
|
627
|
-
</div>
|
|
628
|
-
<div class="tsd-comment tsd-typography">
|
|
629
|
-
<p>An inherited property to store state data</p>
|
|
630
|
-
<p>
|
|
631
|
-
This is a spot for you to store inherited state metadata.
|
|
632
|
-
Child states' <code>data</code> object will prototypally
|
|
633
|
-
inherit from their parent state.
|
|
634
|
-
</p>
|
|
635
|
-
<p>
|
|
636
|
-
This is a good spot to put metadata such as
|
|
637
|
-
<code>requiresAuth</code>.
|
|
638
|
-
</p>
|
|
639
|
-
<p>
|
|
640
|
-
Note: because prototypal inheritance is used, changes to
|
|
641
|
-
parent <code>data</code> objects reflect in the child
|
|
642
|
-
<code>data</code> objects. Care should be taken if you are
|
|
643
|
-
using <code>hasOwnProperty</code> on the
|
|
644
|
-
<code>data</code> object. Properties from parent objects will
|
|
645
|
-
return false for <code>hasOwnProperty</code>.
|
|
646
|
-
</p>
|
|
647
|
-
</div>
|
|
648
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
649
|
-
</section>
|
|
650
|
-
<section class="tsd-panel tsd-member">
|
|
651
|
-
<h3 class="tsd-anchor-link" id="dynamic">
|
|
652
|
-
<code class="tsd-tag">Optional</code><span>dynamic</span
|
|
653
|
-
><a
|
|
654
|
-
href="#dynamic"
|
|
655
|
-
aria-label="Permalink"
|
|
656
|
-
class="tsd-anchor-icon"
|
|
657
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
658
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
659
|
-
></a>
|
|
660
|
-
</h3>
|
|
661
|
-
<div class="tsd-signature">
|
|
662
|
-
<span class="tsd-kind-property">dynamic</span
|
|
663
|
-
><span class="tsd-signature-symbol">?:</span>
|
|
664
|
-
<span class="tsd-signature-type">boolean</span>
|
|
665
|
-
</div>
|
|
666
|
-
<div class="tsd-comment tsd-typography">
|
|
667
|
-
<p>Marks all the state's parameters as <code>dynamic</code>.</p>
|
|
668
|
-
<p>
|
|
669
|
-
All parameters on the state will use this value for
|
|
670
|
-
<code>dynamic</code> as a default. Individual parameters may
|
|
671
|
-
override this default using [[ParamDeclaration.dynamic]] in
|
|
672
|
-
the [[params]] block.
|
|
673
|
-
</p>
|
|
674
|
-
<p>
|
|
675
|
-
Note: this value overrides the <code>dynamic</code> value on a
|
|
676
|
-
custom parameter type ([[ParamTypeDefinition.dynamic]]).
|
|
677
|
-
</p>
|
|
678
|
-
</div>
|
|
679
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
680
|
-
</section>
|
|
681
|
-
<section class="tsd-panel tsd-member">
|
|
682
|
-
<h3 class="tsd-anchor-link" id="lazyload">
|
|
683
|
-
<code class="tsd-tag">Optional</code><span>lazy<wbr />Load</span
|
|
684
|
-
><a
|
|
685
|
-
href="#lazyload"
|
|
686
|
-
aria-label="Permalink"
|
|
687
|
-
class="tsd-anchor-icon"
|
|
688
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
689
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
690
|
-
></a>
|
|
691
|
-
</h3>
|
|
692
|
-
<div class="tsd-signature">
|
|
693
|
-
<span class="tsd-kind-property">lazyLoad</span
|
|
694
|
-
><span class="tsd-signature-symbol">?:</span>
|
|
695
|
-
<span class="tsd-signature-symbol">(</span><br /> <span
|
|
696
|
-
class="tsd-kind-parameter"
|
|
697
|
-
>transition</span
|
|
698
|
-
><span class="tsd-signature-symbol">:</span>
|
|
699
|
-
<a
|
|
700
|
-
href="../classes/router_transition_transition.Transition.html"
|
|
701
|
-
class="tsd-signature-type tsd-kind-class"
|
|
702
|
-
>Transition</a
|
|
703
|
-
><span class="tsd-signature-symbol">,</span><br /> <span
|
|
704
|
-
class="tsd-kind-parameter"
|
|
705
|
-
>state</span
|
|
706
|
-
><span class="tsd-signature-symbol">:</span>
|
|
707
|
-
<a href="" class="tsd-signature-type tsd-kind-interface"
|
|
708
|
-
>StateDeclaration</a
|
|
709
|
-
><span class="tsd-signature-symbol">,</span><br /><span
|
|
710
|
-
class="tsd-signature-symbol"
|
|
711
|
-
>)</span
|
|
712
|
-
>
|
|
713
|
-
<span class="tsd-signature-symbol">=></span>
|
|
714
|
-
<span class="tsd-signature-type">Promise</span
|
|
715
|
-
><span class="tsd-signature-symbol"><</span
|
|
716
|
-
><a
|
|
717
|
-
href="router_state_interface.LazyLoadResult.html"
|
|
718
|
-
class="tsd-signature-type tsd-kind-interface"
|
|
719
|
-
>LazyLoadResult</a
|
|
720
|
-
><span class="tsd-signature-symbol">></span>
|
|
721
|
-
</div>
|
|
722
|
-
<div class="tsd-comment tsd-typography">
|
|
723
|
-
<p>A function used to lazy load code</p>
|
|
724
|
-
<p>
|
|
725
|
-
The <code>lazyLoad</code> function is invoked before the state
|
|
726
|
-
is activated. The transition waits while the code is loading.
|
|
727
|
-
</p>
|
|
728
|
-
<p>
|
|
729
|
-
The function should load the code that is required to activate
|
|
730
|
-
the state. For example, it may load a component class, or some
|
|
731
|
-
service code. The function must return a promise which
|
|
732
|
-
resolves when loading is complete.
|
|
733
|
-
</p>
|
|
734
|
-
<p>
|
|
735
|
-
For example, this code lazy loads a service before the
|
|
736
|
-
<code>abc</code> state is activated:
|
|
737
|
-
</p>
|
|
738
|
-
<pre><code><span class="hl-1">.</span><span class="hl-0">state</span><span class="hl-1">(</span><span class="hl-2">'abc'</span><span class="hl-1">, {</span><br/><span class="hl-1"> </span><span class="hl-0">lazyLoad</span><span class="hl-10">:</span><span class="hl-1"> (</span><span class="hl-10">transition</span><span class="hl-1">, </span><span class="hl-10">state</span><span class="hl-1">) </span><span class="hl-11">=></span><span class="hl-1"> </span><span class="hl-11">import</span><span class="hl-1">(</span><span class="hl-2">'./abcService'</span><span class="hl-1">)</span><br/><span class="hl-1">}</span>
|
|
739
|
-
</code><button>Copy</button></pre>
|
|
740
|
-
|
|
741
|
-
<p>
|
|
742
|
-
The <code>abcService</code> file is imported and loaded (it is
|
|
743
|
-
assumed that the <code>abcService</code> file knows how to
|
|
744
|
-
register itself as a service).
|
|
745
|
-
</p>
|
|
746
|
-
<h4 id="lifecycle" class="tsd-anchor-link">
|
|
747
|
-
Lifecycle<a
|
|
748
|
-
href="#lifecycle"
|
|
749
|
-
aria-label="Permalink"
|
|
750
|
-
class="tsd-anchor-icon"
|
|
751
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
752
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
753
|
-
></a>
|
|
754
|
-
</h4>
|
|
755
|
-
<ul>
|
|
756
|
-
<li>
|
|
757
|
-
<p>
|
|
758
|
-
The <code>lazyLoad</code> function is invoked if a
|
|
759
|
-
transition is going to enter the state.
|
|
760
|
-
</p>
|
|
761
|
-
</li>
|
|
762
|
-
<li>
|
|
763
|
-
<p>
|
|
764
|
-
The function is invoked before the transition starts
|
|
765
|
-
(using an <code>onBefore</code> transition hook).
|
|
766
|
-
</p>
|
|
767
|
-
</li>
|
|
768
|
-
<li>
|
|
769
|
-
<p>
|
|
770
|
-
The function is only invoked once; while the
|
|
771
|
-
<code>lazyLoad</code> function is loading code, it will
|
|
772
|
-
not be invoked again. For example, if the user double
|
|
773
|
-
clicks a ui-sref, <code>lazyLoad</code> is only invoked
|
|
774
|
-
once even though there were two transition attempts.
|
|
775
|
-
Instead, the existing lazy load promise is re-used.
|
|
776
|
-
</p>
|
|
777
|
-
</li>
|
|
778
|
-
<li>
|
|
779
|
-
<p>
|
|
780
|
-
When the promise resolves successfully, the
|
|
781
|
-
<code>lazyLoad</code> property is deleted from the state
|
|
782
|
-
declaration.
|
|
783
|
-
</p>
|
|
784
|
-
</li>
|
|
785
|
-
<li>
|
|
786
|
-
<p>
|
|
787
|
-
If the promise resolves to a [[LazyLoadResult]] which has
|
|
788
|
-
an array of <code>states</code>, those states are
|
|
789
|
-
registered.
|
|
790
|
-
</p>
|
|
791
|
-
</li>
|
|
792
|
-
<li>
|
|
793
|
-
<p>
|
|
794
|
-
The original transition is retried (this time without the
|
|
795
|
-
<code>lazyLoad</code> property present).
|
|
796
|
-
</p>
|
|
797
|
-
</li>
|
|
798
|
-
<li>
|
|
799
|
-
<p>
|
|
800
|
-
If the <code>lazyLoad</code> function fails, then the
|
|
801
|
-
transition also fails. The failed transition (and the
|
|
802
|
-
<code>lazyLoad</code> function) could potentially be
|
|
803
|
-
retried by the user.
|
|
804
|
-
</p>
|
|
805
|
-
</li>
|
|
806
|
-
</ul>
|
|
807
|
-
<h3
|
|
808
|
-
id="lazy-loading-state-definitions-future-states"
|
|
809
|
-
class="tsd-anchor-link"
|
|
810
|
-
>
|
|
811
|
-
Lazy loading state definitions (Future States)<a
|
|
812
|
-
href="#lazy-loading-state-definitions-future-states"
|
|
813
|
-
aria-label="Permalink"
|
|
814
|
-
class="tsd-anchor-icon"
|
|
815
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
816
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
817
|
-
></a>
|
|
818
|
-
</h3>
|
|
819
|
-
<p>
|
|
820
|
-
State definitions can also be lazy loaded. This might be
|
|
821
|
-
desirable when building large, multi-module applications.
|
|
822
|
-
</p>
|
|
823
|
-
<p>
|
|
824
|
-
To lazy load state definitions, a Future State should be
|
|
825
|
-
registered as a placeholder. When the state definitions are
|
|
826
|
-
lazy loaded, the Future State is deregistered.
|
|
827
|
-
</p>
|
|
828
|
-
<p>
|
|
829
|
-
A future state can act as a placeholder for a single state, or
|
|
830
|
-
for an entire module of states and substates. A future state
|
|
831
|
-
should have:
|
|
832
|
-
</p>
|
|
833
|
-
<ul>
|
|
834
|
-
<li>
|
|
835
|
-
A <code>name</code> which ends in <code>.**</code>. A future
|
|
836
|
-
state's <code>name</code> property acts as a wildcard
|
|
837
|
-
[[Glob]]. It matches any state name that starts with the
|
|
838
|
-
<code>name</code> (including child states that are not yet
|
|
839
|
-
loaded).
|
|
840
|
-
</li>
|
|
841
|
-
<li>
|
|
842
|
-
A <code>url</code> prefix. A future state's
|
|
843
|
-
<code>url</code> property acts as a wildcard. UI-Router
|
|
844
|
-
matches all paths that begin with the <code>url</code>. It
|
|
845
|
-
effectively appends <code>.*</code> to the internal regular
|
|
846
|
-
expression. When the prefix matches, the future state will
|
|
847
|
-
begin loading.
|
|
848
|
-
</li>
|
|
849
|
-
<li>
|
|
850
|
-
A <code>lazyLoad</code> function. This function should
|
|
851
|
-
should return a Promise to lazy load the code for one or
|
|
852
|
-
more [[StateDeclaration]] objects. It should return a
|
|
853
|
-
[[LazyLoadResult]]. Generally, one of the lazy loaded states
|
|
854
|
-
should have the same name as the future state. The new state
|
|
855
|
-
will then
|
|
856
|
-
<strong>replace the future state placeholder</strong> in the
|
|
857
|
-
registry.
|
|
858
|
-
</li>
|
|
859
|
-
</ul>
|
|
860
|
-
<h3 id="additional-resources" class="tsd-anchor-link">
|
|
861
|
-
Additional resources<a
|
|
862
|
-
href="#additional-resources"
|
|
863
|
-
aria-label="Permalink"
|
|
864
|
-
class="tsd-anchor-icon"
|
|
865
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
866
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
867
|
-
></a>
|
|
868
|
-
</h3>
|
|
869
|
-
<p>
|
|
870
|
-
For in depth information on lazy loading and Future States,
|
|
871
|
-
see the
|
|
872
|
-
<a href="https://ui-router.github.io/guides/lazyload"
|
|
873
|
-
>Lazy Loading Guide</a
|
|
874
|
-
>.
|
|
875
|
-
</p>
|
|
876
|
-
<h4 id="example-statesjs" class="tsd-anchor-link">
|
|
877
|
-
Example: states.js<a
|
|
878
|
-
href="#example-statesjs"
|
|
879
|
-
aria-label="Permalink"
|
|
880
|
-
class="tsd-anchor-icon"
|
|
881
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
882
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
883
|
-
></a>
|
|
884
|
-
</h4>
|
|
885
|
-
<pre><code class="js"><br/><span class="hl-9">// This child state is a lazy loaded future state</span><br/><span class="hl-9">// The `lazyLoad` function loads the final state definition</span><br/><span class="hl-1">{</span><br/><span class="hl-1"> </span><span class="hl-15">name</span><span class="hl-1">: </span><span class="hl-2">'parent.**'</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-15">url</span><span class="hl-1">: </span><span class="hl-2">'/parent'</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-15">lazyLoad</span><span class="hl-1">: () </span><span class="hl-11">=></span><span class="hl-1"> </span><span class="hl-11">import</span><span class="hl-1">(</span><span class="hl-2">'./lazy.states.js'</span><span class="hl-1">)</span><br/><span class="hl-1">}</span>
|
|
886
|
-
</code><button type="button">Copy</button></pre>
|
|
887
|
-
|
|
888
|
-
<h4 id="example-lazystatesjs" class="tsd-anchor-link">
|
|
889
|
-
Example: lazy.states.js<a
|
|
890
|
-
href="#example-lazystatesjs"
|
|
891
|
-
aria-label="Permalink"
|
|
892
|
-
class="tsd-anchor-icon"
|
|
893
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
894
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
895
|
-
></a>
|
|
896
|
-
</h4>
|
|
897
|
-
<p>This file is lazy loaded. It exports an array of states.</p>
|
|
898
|
-
<pre><code class="js"><span class="hl-8">import</span><span class="hl-1"> {</span><span class="hl-10">ChildComponent</span><span class="hl-1">} </span><span class="hl-8">from</span><span class="hl-1"> </span><span class="hl-2">"./child.component.js"</span><span class="hl-1">;</span><br/><span class="hl-8">import</span><span class="hl-1"> {</span><span class="hl-10">ParentComponent</span><span class="hl-1">} </span><span class="hl-8">from</span><span class="hl-1"> </span><span class="hl-2">"./parent.component.js"</span><span class="hl-1">;</span><br/><br/><span class="hl-9">// This fully defined state replaces the future state</span><br/><span class="hl-11">let</span><span class="hl-1"> </span><span class="hl-10">parentState</span><span class="hl-1"> = {</span><br/><span class="hl-1"> </span><span class="hl-9">// the name should match the future state</span><br/><span class="hl-1"> </span><span class="hl-10">name:</span><span class="hl-1"> </span><span class="hl-2">'parent'</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-10">url:</span><span class="hl-1"> </span><span class="hl-2">'/parent/:parentId'</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-10">component:</span><span class="hl-1"> </span><span class="hl-10">ParentComponent</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-10">resolve:</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">parentData</span><span class="hl-10">:</span><span class="hl-1"> (</span><span class="hl-10">$transition$</span><span class="hl-1">, </span><span class="hl-10">ParentService</span><span class="hl-1">) </span><span class="hl-11">=></span><br/><span class="hl-1"> </span><span class="hl-10">ParentService</span><span class="hl-1">.</span><span class="hl-0">get</span><span class="hl-1">(</span><span class="hl-10">$transition$</span><span class="hl-1">.</span><span class="hl-0">params</span><span class="hl-1">().</span><span class="hl-10">parentId</span><span class="hl-1">)</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">}</span><br/><br/><span class="hl-11">let</span><span class="hl-1"> </span><span class="hl-10">childState</span><span class="hl-1"> = {</span><br/><span class="hl-1"> </span><span class="hl-10">name:</span><span class="hl-1"> </span><span class="hl-2">'parent.child'</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-10">url:</span><span class="hl-1"> </span><span class="hl-2">'/child/:childId'</span><span class="hl-1">,</span><br/><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">childId:</span><span class="hl-1"> </span><span class="hl-2">"default"</span><br/><span class="hl-1"> },</span><br/><span class="hl-1"> </span><span class="hl-10">resolve:</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">childData</span><span class="hl-10">:</span><span class="hl-1"> (</span><span class="hl-10">$transition$</span><span class="hl-1">, </span><span class="hl-10">ChildService</span><span class="hl-1">) </span><span class="hl-11">=></span><br/><span class="hl-1"> </span><span class="hl-10">ChildService</span><span class="hl-1">.</span><span class="hl-0">get</span><span class="hl-1">(</span><span class="hl-10">$transition$</span><span class="hl-1">.</span><span class="hl-0">params</span><span class="hl-1">().</span><span class="hl-10">childId</span><span class="hl-1">)</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">};</span><br/><br/><span class="hl-9">// This array of states will be registered by the lazyLoad hook</span><br/><span class="hl-11">let</span><span class="hl-1"> </span><span class="hl-10">lazyLoadResults</span><span class="hl-1"> = {</span><br/><span class="hl-1"> </span><span class="hl-10">states:</span><span class="hl-1"> [ </span><span class="hl-10">parentState</span><span class="hl-1">, </span><span class="hl-10">childState</span><span class="hl-1"> ]</span><br/><span class="hl-1">};</span><br/><br/><span class="hl-8">export</span><span class="hl-1"> </span><span class="hl-8">default</span><span class="hl-1"> </span><span class="hl-10">lazyLoadResults</span><span class="hl-1">;</span>
|
|
899
|
-
</code><button type="button">Copy</button></pre>
|
|
900
|
-
</div>
|
|
901
|
-
<div class="tsd-type-declaration">
|
|
902
|
-
<h4>Type declaration</h4>
|
|
903
|
-
<ul class="tsd-parameters">
|
|
904
|
-
<li class="tsd-parameter-signature">
|
|
905
|
-
<ul class="tsd-signatures">
|
|
906
|
-
<li class="tsd-signature">
|
|
907
|
-
<span class="tsd-signature-symbol">(</span
|
|
908
|
-
><span class="tsd-kind-parameter">transition</span
|
|
909
|
-
><span class="tsd-signature-symbol">:</span>
|
|
910
|
-
<a
|
|
911
|
-
href="../classes/router_transition_transition.Transition.html"
|
|
912
|
-
class="tsd-signature-type tsd-kind-class"
|
|
913
|
-
>Transition</a
|
|
914
|
-
><span class="tsd-signature-symbol">,</span>
|
|
915
|
-
<span class="tsd-kind-parameter">state</span
|
|
916
|
-
><span class="tsd-signature-symbol">:</span>
|
|
917
|
-
<a href="" class="tsd-signature-type tsd-kind-interface"
|
|
918
|
-
>StateDeclaration</a
|
|
919
|
-
><span class="tsd-signature-symbol">)</span
|
|
920
|
-
><span class="tsd-signature-symbol">:</span>
|
|
921
|
-
<span class="tsd-signature-type">Promise</span
|
|
922
|
-
><span class="tsd-signature-symbol"><</span
|
|
923
|
-
><a
|
|
924
|
-
href="router_state_interface.LazyLoadResult.html"
|
|
925
|
-
class="tsd-signature-type tsd-kind-interface"
|
|
926
|
-
>LazyLoadResult</a
|
|
927
|
-
><span class="tsd-signature-symbol">></span>
|
|
928
|
-
</li>
|
|
929
|
-
<li class="tsd-description">
|
|
930
|
-
<div class="tsd-parameters">
|
|
931
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
932
|
-
<ul class="tsd-parameter-list">
|
|
933
|
-
<li>
|
|
934
|
-
<span
|
|
935
|
-
><span class="tsd-kind-parameter"
|
|
936
|
-
>transition</span
|
|
937
|
-
>:
|
|
938
|
-
<a
|
|
939
|
-
href="../classes/router_transition_transition.Transition.html"
|
|
940
|
-
class="tsd-signature-type tsd-kind-class"
|
|
941
|
-
>Transition</a
|
|
942
|
-
></span
|
|
943
|
-
>
|
|
944
|
-
<div class="tsd-comment tsd-typography">
|
|
945
|
-
<p>
|
|
946
|
-
the [[Transition]] that is activating the
|
|
947
|
-
future state
|
|
948
|
-
</p>
|
|
949
|
-
</div>
|
|
950
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
951
|
-
</li>
|
|
952
|
-
<li>
|
|
953
|
-
<span
|
|
954
|
-
><span class="tsd-kind-parameter">state</span>:
|
|
955
|
-
<a
|
|
956
|
-
href=""
|
|
957
|
-
class="tsd-signature-type tsd-kind-interface"
|
|
958
|
-
>StateDeclaration</a
|
|
959
|
-
></span
|
|
960
|
-
>
|
|
961
|
-
<div class="tsd-comment tsd-typography">
|
|
962
|
-
<p>
|
|
963
|
-
the [[StateDeclaration]] that the
|
|
964
|
-
<code>lazyLoad</code> function is declared on
|
|
965
|
-
</p>
|
|
966
|
-
</div>
|
|
967
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
968
|
-
</li>
|
|
969
|
-
</ul>
|
|
970
|
-
</div>
|
|
971
|
-
<h4 class="tsd-returns-title">
|
|
972
|
-
Returns <span class="tsd-signature-type">Promise</span
|
|
973
|
-
><span class="tsd-signature-symbol"><</span
|
|
974
|
-
><a
|
|
975
|
-
href="router_state_interface.LazyLoadResult.html"
|
|
976
|
-
class="tsd-signature-type tsd-kind-interface"
|
|
977
|
-
>LazyLoadResult</a
|
|
978
|
-
><span class="tsd-signature-symbol">></span>
|
|
979
|
-
</h4>
|
|
980
|
-
<p>
|
|
981
|
-
a Promise to load the states. Optionally, if the
|
|
982
|
-
promise resolves to a [[LazyLoadResult]], the states
|
|
983
|
-
will be registered with the [[StateRegistry]].
|
|
984
|
-
</p>
|
|
985
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
986
|
-
</li>
|
|
987
|
-
</ul>
|
|
988
|
-
</li>
|
|
989
|
-
</ul>
|
|
990
|
-
</div>
|
|
991
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
992
|
-
</section>
|
|
993
|
-
<section class="tsd-panel tsd-member">
|
|
994
|
-
<h3 class="tsd-anchor-link" id="name">
|
|
995
|
-
<code class="tsd-tag">Optional</code><span>name</span
|
|
996
|
-
><a href="#name" aria-label="Permalink" class="tsd-anchor-icon"
|
|
997
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
998
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
999
|
-
></a>
|
|
1000
|
-
</h3>
|
|
1001
|
-
<div class="tsd-signature">
|
|
1002
|
-
<span class="tsd-kind-property">name</span
|
|
1003
|
-
><span class="tsd-signature-symbol">?:</span>
|
|
1004
|
-
<span class="tsd-signature-type">string</span>
|
|
1005
|
-
</div>
|
|
1006
|
-
<div class="tsd-comment tsd-typography">
|
|
1007
|
-
<p>The state name (required)</p>
|
|
1008
|
-
<p>
|
|
1009
|
-
A unique state name, e.g. <code>"home"</code>,
|
|
1010
|
-
<code>"about"</code>,
|
|
1011
|
-
<code>"contacts"</code>. To create a parent/child
|
|
1012
|
-
state use a dot, e.g. <code>"about.sales"</code>,
|
|
1013
|
-
<code>"home.newest"</code>.
|
|
1014
|
-
</p>
|
|
1015
|
-
<p>
|
|
1016
|
-
Note: [State] objects require unique names. The name is used
|
|
1017
|
-
like an id.
|
|
1018
|
-
</p>
|
|
1019
|
-
</div>
|
|
1020
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
1021
|
-
</section>
|
|
1022
|
-
<section class="tsd-panel tsd-member">
|
|
1023
|
-
<h3 class="tsd-anchor-link" id="onenter">
|
|
1024
|
-
<code class="tsd-tag">Optional</code><span>on<wbr />Enter</span
|
|
1025
|
-
><a
|
|
1026
|
-
href="#onenter"
|
|
1027
|
-
aria-label="Permalink"
|
|
1028
|
-
class="tsd-anchor-icon"
|
|
1029
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1030
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1031
|
-
></a>
|
|
1032
|
-
</h3>
|
|
1033
|
-
<div class="tsd-signature">
|
|
1034
|
-
<span class="tsd-kind-property">onEnter</span
|
|
1035
|
-
><span class="tsd-signature-symbol">?:</span>
|
|
1036
|
-
<a
|
|
1037
|
-
href="../types/interface.Injectable.html"
|
|
1038
|
-
class="tsd-signature-type tsd-kind-type-alias"
|
|
1039
|
-
>Injectable</a
|
|
1040
|
-
>
|
|
1041
|
-
<span class="tsd-signature-symbol">|</span>
|
|
1042
|
-
<a
|
|
1043
|
-
href="router_transition_interface.TransitionStateHookFn.html"
|
|
1044
|
-
class="tsd-signature-type tsd-kind-interface"
|
|
1045
|
-
>TransitionStateHookFn</a
|
|
1046
|
-
>
|
|
1047
|
-
</div>
|
|
1048
|
-
<div class="tsd-comment tsd-typography">
|
|
1049
|
-
<p>A state hook invoked when a state is being entered.</p>
|
|
1050
|
-
<p>
|
|
1051
|
-
The hook can inject global services. It can also inject
|
|
1052
|
-
<code>$transition$</code> or <code>$state$</code> (from the
|
|
1053
|
-
current transition).
|
|
1054
|
-
</p>
|
|
1055
|
-
<h3 id="example-1" class="tsd-anchor-link">
|
|
1056
|
-
Example:<a
|
|
1057
|
-
href="#example-1"
|
|
1058
|
-
aria-label="Permalink"
|
|
1059
|
-
class="tsd-anchor-icon"
|
|
1060
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1061
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1062
|
-
></a>
|
|
1063
|
-
</h3>
|
|
1064
|
-
<pre><code class="js"><span class="hl-10">$stateProvider</span><span class="hl-1">.</span><span class="hl-0">state</span><span class="hl-1">({</span><br/><span class="hl-1"> </span><span class="hl-10">name:</span><span class="hl-1"> </span><span class="hl-2">'mystate'</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-0">onEnter</span><span class="hl-10">:</span><span class="hl-1"> (</span><span class="hl-10">MyService</span><span class="hl-1">, </span><span class="hl-10">$transition$</span><span class="hl-1">, </span><span class="hl-10">$state$</span><span class="hl-1">) </span><span class="hl-11">=></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">MyService</span><span class="hl-1">.</span><span class="hl-0">doSomething</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-10">$transition$</span><span class="hl-1">.</span><span class="hl-0">params</span><span class="hl-1">());</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">});</span>
|
|
1065
|
-
</code><button type="button">Copy</button></pre>
|
|
1066
|
-
|
|
1067
|
-
<h4 id="example-2" class="tsd-anchor-link">
|
|
1068
|
-
Example:`<a
|
|
1069
|
-
href="#example-2"
|
|
1070
|
-
aria-label="Permalink"
|
|
1071
|
-
class="tsd-anchor-icon"
|
|
1072
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1073
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1074
|
-
></a>
|
|
1075
|
-
</h4>
|
|
1076
|
-
<pre><code class="js"><span class="hl-10">$stateProvider</span><span class="hl-1">.</span><span class="hl-0">state</span><span class="hl-1">({</span><br/><span class="hl-1"> </span><span class="hl-10">name:</span><span class="hl-1"> </span><span class="hl-2">'mystate'</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-10">onEnter:</span><span class="hl-1"> [ </span><span class="hl-2">'MyService'</span><span class="hl-1">, </span><span class="hl-2">'$transition$'</span><span class="hl-1">, </span><span class="hl-2">'$state$'</span><span class="hl-1">, </span><span class="hl-11">function</span><span class="hl-1"> (</span><span class="hl-10">MyService</span><span class="hl-1">, </span><span class="hl-10">$transition$</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-8">return</span><span class="hl-1"> </span><span class="hl-10">MyService</span><span class="hl-1">.</span><span class="hl-0">doSomething</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-10">$transition$</span><span class="hl-1">.</span><span class="hl-0">params</span><span class="hl-1">());</span><br/><span class="hl-1"> } ]</span><br/><span class="hl-1">});</span>
|
|
1077
|
-
</code><button type="button">Copy</button></pre>
|
|
1078
|
-
</div>
|
|
1079
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
1080
|
-
</section>
|
|
1081
|
-
<section class="tsd-panel tsd-member">
|
|
1082
|
-
<h3 class="tsd-anchor-link" id="onexit">
|
|
1083
|
-
<code class="tsd-tag">Optional</code><span>on<wbr />Exit</span
|
|
1084
|
-
><a
|
|
1085
|
-
href="#onexit"
|
|
1086
|
-
aria-label="Permalink"
|
|
1087
|
-
class="tsd-anchor-icon"
|
|
1088
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1089
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1090
|
-
></a>
|
|
1091
|
-
</h3>
|
|
1092
|
-
<div class="tsd-signature">
|
|
1093
|
-
<span class="tsd-kind-property">onExit</span
|
|
1094
|
-
><span class="tsd-signature-symbol">?:</span>
|
|
1095
|
-
<a
|
|
1096
|
-
href="../types/interface.Injectable.html"
|
|
1097
|
-
class="tsd-signature-type tsd-kind-type-alias"
|
|
1098
|
-
>Injectable</a
|
|
1099
|
-
>
|
|
1100
|
-
<span class="tsd-signature-symbol">|</span>
|
|
1101
|
-
<a
|
|
1102
|
-
href="router_transition_interface.TransitionStateHookFn.html"
|
|
1103
|
-
class="tsd-signature-type tsd-kind-interface"
|
|
1104
|
-
>TransitionStateHookFn</a
|
|
1105
|
-
>
|
|
1106
|
-
</div>
|
|
1107
|
-
<div class="tsd-comment tsd-typography">
|
|
1108
|
-
<p>A state hook invoked when a state is being exited.</p>
|
|
1109
|
-
<p>
|
|
1110
|
-
The hook can inject global services. It can also inject
|
|
1111
|
-
<code>$transition$</code> or <code>$state$</code> (from the
|
|
1112
|
-
current transition).
|
|
1113
|
-
</p>
|
|
1114
|
-
<h3 id="example-3" class="tsd-anchor-link">
|
|
1115
|
-
Example:<a
|
|
1116
|
-
href="#example-3"
|
|
1117
|
-
aria-label="Permalink"
|
|
1118
|
-
class="tsd-anchor-icon"
|
|
1119
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1120
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1121
|
-
></a>
|
|
1122
|
-
</h3>
|
|
1123
|
-
<pre><code class="js"><span class="hl-10">$stateProvider</span><span class="hl-1">.</span><span class="hl-0">state</span><span class="hl-1">({</span><br/><span class="hl-1"> </span><span class="hl-10">name:</span><span class="hl-1"> </span><span class="hl-2">'mystate'</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-0">onExit</span><span class="hl-10">:</span><span class="hl-1"> (</span><span class="hl-10">MyService</span><span class="hl-1">, </span><span class="hl-10">$transition$</span><span class="hl-1">, </span><span class="hl-10">$state$</span><span class="hl-1">) </span><span class="hl-11">=></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">MyService</span><span class="hl-1">.</span><span class="hl-0">doSomething</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-10">$transition$</span><span class="hl-1">.</span><span class="hl-0">params</span><span class="hl-1">());</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">});</span>
|
|
1124
|
-
</code><button type="button">Copy</button></pre>
|
|
1125
|
-
|
|
1126
|
-
<h4 id="example-4" class="tsd-anchor-link">
|
|
1127
|
-
Example:`<a
|
|
1128
|
-
href="#example-4"
|
|
1129
|
-
aria-label="Permalink"
|
|
1130
|
-
class="tsd-anchor-icon"
|
|
1131
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1132
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1133
|
-
></a>
|
|
1134
|
-
</h4>
|
|
1135
|
-
<pre><code class="js"><span class="hl-10">$stateProvider</span><span class="hl-1">.</span><span class="hl-0">state</span><span class="hl-1">({</span><br/><span class="hl-1"> </span><span class="hl-10">name:</span><span class="hl-1"> </span><span class="hl-2">'mystate'</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-10">onExit:</span><span class="hl-1"> [ </span><span class="hl-2">'MyService'</span><span class="hl-1">, </span><span class="hl-2">'$transition$'</span><span class="hl-1">, </span><span class="hl-2">'$state$'</span><span class="hl-1">, </span><span class="hl-11">function</span><span class="hl-1"> (</span><span class="hl-10">MyService</span><span class="hl-1">, </span><span class="hl-10">$transition$</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-8">return</span><span class="hl-1"> </span><span class="hl-10">MyService</span><span class="hl-1">.</span><span class="hl-0">doSomething</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-10">$transition$</span><span class="hl-1">.</span><span class="hl-0">params</span><span class="hl-1">());</span><br/><span class="hl-1"> } ]</span><br/><span class="hl-1">});</span>
|
|
1136
|
-
</code><button type="button">Copy</button></pre>
|
|
1137
|
-
</div>
|
|
1138
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
1139
|
-
</section>
|
|
1140
|
-
<section class="tsd-panel tsd-member">
|
|
1141
|
-
<h3 class="tsd-anchor-link" id="onretain">
|
|
1142
|
-
<code class="tsd-tag">Optional</code><span>on<wbr />Retain</span
|
|
1143
|
-
><a
|
|
1144
|
-
href="#onretain"
|
|
1145
|
-
aria-label="Permalink"
|
|
1146
|
-
class="tsd-anchor-icon"
|
|
1147
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1148
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1149
|
-
></a>
|
|
1150
|
-
</h3>
|
|
1151
|
-
<div class="tsd-signature">
|
|
1152
|
-
<span class="tsd-kind-property">onRetain</span
|
|
1153
|
-
><span class="tsd-signature-symbol">?:</span>
|
|
1154
|
-
<a
|
|
1155
|
-
href="../types/interface.Injectable.html"
|
|
1156
|
-
class="tsd-signature-type tsd-kind-type-alias"
|
|
1157
|
-
>Injectable</a
|
|
1158
|
-
>
|
|
1159
|
-
<span class="tsd-signature-symbol">|</span>
|
|
1160
|
-
<a
|
|
1161
|
-
href="router_transition_interface.TransitionStateHookFn.html"
|
|
1162
|
-
class="tsd-signature-type tsd-kind-interface"
|
|
1163
|
-
>TransitionStateHookFn</a
|
|
1164
|
-
>
|
|
1165
|
-
</div>
|
|
1166
|
-
<div class="tsd-comment tsd-typography">
|
|
1167
|
-
<p>A state hook invoked when a state is being retained.</p>
|
|
1168
|
-
<p>
|
|
1169
|
-
The hook can inject global services. It can also inject
|
|
1170
|
-
<code>$transition$</code> or <code>$state$</code> (from the
|
|
1171
|
-
current transition).
|
|
1172
|
-
</p>
|
|
1173
|
-
<h4 id="example-5" class="tsd-anchor-link">
|
|
1174
|
-
Example:<a
|
|
1175
|
-
href="#example-5"
|
|
1176
|
-
aria-label="Permalink"
|
|
1177
|
-
class="tsd-anchor-icon"
|
|
1178
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1179
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1180
|
-
></a>
|
|
1181
|
-
</h4>
|
|
1182
|
-
<pre><code class="js"><span class="hl-10">$stateProvider</span><span class="hl-1">.</span><span class="hl-0">state</span><span class="hl-1">({</span><br/><span class="hl-1"> </span><span class="hl-10">name:</span><span class="hl-1"> </span><span class="hl-2">'mystate'</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-0">onRetain</span><span class="hl-10">:</span><span class="hl-1"> (</span><span class="hl-10">MyService</span><span class="hl-1">, </span><span class="hl-10">$transition$</span><span class="hl-1">, </span><span class="hl-10">$state$</span><span class="hl-1">) </span><span class="hl-11">=></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">MyService</span><span class="hl-1">.</span><span class="hl-0">doSomething</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-10">$transition$</span><span class="hl-1">.</span><span class="hl-0">params</span><span class="hl-1">());</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">});</span>
|
|
1183
|
-
</code><button type="button">Copy</button></pre>
|
|
1184
|
-
|
|
1185
|
-
<h4 id="example-6" class="tsd-anchor-link">
|
|
1186
|
-
Example:`<a
|
|
1187
|
-
href="#example-6"
|
|
1188
|
-
aria-label="Permalink"
|
|
1189
|
-
class="tsd-anchor-icon"
|
|
1190
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1191
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1192
|
-
></a>
|
|
1193
|
-
</h4>
|
|
1194
|
-
<pre><code class="js"><span class="hl-10">$stateProvider</span><span class="hl-1">.</span><span class="hl-0">state</span><span class="hl-1">({</span><br/><span class="hl-1"> </span><span class="hl-10">name:</span><span class="hl-1"> </span><span class="hl-2">'mystate'</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-10">onRetain:</span><span class="hl-1"> [ </span><span class="hl-2">'MyService'</span><span class="hl-1">, </span><span class="hl-2">'$transition$'</span><span class="hl-1">, </span><span class="hl-2">'$state$'</span><span class="hl-1">, </span><span class="hl-11">function</span><span class="hl-1"> (</span><span class="hl-10">MyService</span><span class="hl-1">, </span><span class="hl-10">$transition$</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-8">return</span><span class="hl-1"> </span><span class="hl-10">MyService</span><span class="hl-1">.</span><span class="hl-0">doSomething</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-10">$transition$</span><span class="hl-1">.</span><span class="hl-0">params</span><span class="hl-1">());</span><br/><span class="hl-1"> } ]</span><br/><span class="hl-1">});</span>
|
|
1195
|
-
</code><button type="button">Copy</button></pre>
|
|
1196
|
-
</div>
|
|
1197
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
1198
|
-
</section>
|
|
1199
|
-
<section class="tsd-panel tsd-member">
|
|
1200
|
-
<h3 class="tsd-anchor-link" id="params">
|
|
1201
|
-
<code class="tsd-tag">Optional</code><span>params</span
|
|
1202
|
-
><a
|
|
1203
|
-
href="#params"
|
|
1204
|
-
aria-label="Permalink"
|
|
1205
|
-
class="tsd-anchor-icon"
|
|
1206
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1207
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1208
|
-
></a>
|
|
1209
|
-
</h3>
|
|
1210
|
-
<div class="tsd-signature">
|
|
1211
|
-
<span class="tsd-kind-property">params</span
|
|
1212
|
-
><span class="tsd-signature-symbol">?:</span>
|
|
1213
|
-
<span class="tsd-signature-symbol">{</span>
|
|
1214
|
-
<span class="tsd-signature-symbol">[</span
|
|
1215
|
-
><span class="tsd-kind-index-signature">key</span
|
|
1216
|
-
><span class="tsd-signature-symbol">:</span>
|
|
1217
|
-
<span class="tsd-signature-type">string</span
|
|
1218
|
-
><span class="tsd-signature-symbol">]:</span>
|
|
1219
|
-
<span class="tsd-signature-type">any</span>
|
|
1220
|
-
<span class="tsd-signature-symbol">}</span>
|
|
1221
|
-
</div>
|
|
1222
|
-
<div class="tsd-comment tsd-typography">
|
|
1223
|
-
<p>Params configuration</p>
|
|
1224
|
-
<p>
|
|
1225
|
-
An object which optionally configures parameters declared in
|
|
1226
|
-
the url, or defines additional non-url parameters. For each
|
|
1227
|
-
parameter being configured, add a [[ParamDeclaration]] keyed
|
|
1228
|
-
to the name of the parameter.
|
|
1229
|
-
</p>
|
|
1230
|
-
<h4 id="example-7" class="tsd-anchor-link">
|
|
1231
|
-
Example:<a
|
|
1232
|
-
href="#example-7"
|
|
1233
|
-
aria-label="Permalink"
|
|
1234
|
-
class="tsd-anchor-icon"
|
|
1235
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1236
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1237
|
-
></a>
|
|
1238
|
-
</h4>
|
|
1239
|
-
<pre><code class="js"><span class="hl-15">params</span><span class="hl-1">: {</span><br/><span class="hl-1"> </span><span class="hl-15">param1</span><span class="hl-1">: {</span><br/><span class="hl-1"> </span><span class="hl-15">type</span><span class="hl-1">: </span><span class="hl-2">"int"</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-15">array</span><span class="hl-1">: </span><span class="hl-11">true</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-15">value</span><span class="hl-1">: []</span><br/><span class="hl-1"> },</span><br/><span class="hl-1"> </span><span class="hl-15">param2</span><span class="hl-1">: {</span><br/><span class="hl-1"> </span><span class="hl-15">value</span><span class="hl-1">: </span><span class="hl-2">"index"</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">}</span>
|
|
1240
|
-
</code><button type="button">Copy</button></pre>
|
|
1241
|
-
</div>
|
|
1242
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
1243
|
-
</section>
|
|
1244
|
-
<section class="tsd-panel tsd-member">
|
|
1245
|
-
<h3 class="tsd-anchor-link" id="parent">
|
|
1246
|
-
<code class="tsd-tag">Optional</code><span>parent</span
|
|
1247
|
-
><a
|
|
1248
|
-
href="#parent"
|
|
1249
|
-
aria-label="Permalink"
|
|
1250
|
-
class="tsd-anchor-icon"
|
|
1251
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1252
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1253
|
-
></a>
|
|
1254
|
-
</h3>
|
|
1255
|
-
<div class="tsd-signature">
|
|
1256
|
-
<span class="tsd-kind-property">parent</span
|
|
1257
|
-
><span class="tsd-signature-symbol">?:</span>
|
|
1258
|
-
<span class="tsd-signature-type">string</span>
|
|
1259
|
-
<span class="tsd-signature-symbol">|</span>
|
|
1260
|
-
<a href="" class="tsd-signature-type tsd-kind-interface"
|
|
1261
|
-
>StateDeclaration</a
|
|
1262
|
-
>
|
|
1263
|
-
</div>
|
|
1264
|
-
<div class="tsd-comment tsd-typography">
|
|
1265
|
-
<p>The parent state</p>
|
|
1266
|
-
<p>
|
|
1267
|
-
Normally, a state's parent is implied from the state's
|
|
1268
|
-
[[name]], e.g.,
|
|
1269
|
-
<code>"parentstate.childstate"</code>.
|
|
1270
|
-
</p>
|
|
1271
|
-
<p>
|
|
1272
|
-
Alternatively, you can explicitly set the parent state using
|
|
1273
|
-
this property. This allows shorter state names, e.g.,
|
|
1274
|
-
<code
|
|
1275
|
-
><a
|
|
1276
|
-
ui-sref="childstate">Child</a></code
|
|
1277
|
-
>
|
|
1278
|
-
instead of `<a ui-sref="parentstate.childstate">Child</a>
|
|
1279
|
-
</p>
|
|
1280
|
-
<p>
|
|
1281
|
-
When using this property, the state's name should not have any
|
|
1282
|
-
dots in it.
|
|
1283
|
-
</p>
|
|
1284
|
-
<h4 id="example-8" class="tsd-anchor-link">
|
|
1285
|
-
Example:<a
|
|
1286
|
-
href="#example-8"
|
|
1287
|
-
aria-label="Permalink"
|
|
1288
|
-
class="tsd-anchor-icon"
|
|
1289
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1290
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1291
|
-
></a>
|
|
1292
|
-
</h4>
|
|
1293
|
-
<pre><code class="js"><span class="hl-11">var</span><span class="hl-1"> </span><span class="hl-10">parentstate</span><span class="hl-1"> = {</span><br/><span class="hl-1"> </span><span class="hl-10">name:</span><span class="hl-1"> </span><span class="hl-2">'parentstate'</span><br/><span class="hl-1">}</span><br/><span class="hl-11">var</span><span class="hl-1"> </span><span class="hl-10">childstate</span><span class="hl-1"> = {</span><br/><span class="hl-1"> </span><span class="hl-10">name:</span><span class="hl-1"> </span><span class="hl-2">'childstate'</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-10">parent:</span><span class="hl-1"> </span><span class="hl-2">'parentstate'</span><br/><span class="hl-1"> </span><span class="hl-9">// or use a JS var which is the parent StateDeclaration, i.e.:</span><br/><span class="hl-1"> </span><span class="hl-9">// parent: parentstate</span><br/><span class="hl-1">}</span>
|
|
1294
|
-
</code><button type="button">Copy</button></pre>
|
|
1295
|
-
</div>
|
|
1296
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
1297
|
-
</section>
|
|
1298
|
-
<section class="tsd-panel tsd-member">
|
|
1299
|
-
<h3 class="tsd-anchor-link" id="redirectto">
|
|
1300
|
-
<code class="tsd-tag">Optional</code
|
|
1301
|
-
><span>redirect<wbr />To</span
|
|
1302
|
-
><a
|
|
1303
|
-
href="#redirectto"
|
|
1304
|
-
aria-label="Permalink"
|
|
1305
|
-
class="tsd-anchor-icon"
|
|
1306
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1307
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1308
|
-
></a>
|
|
1309
|
-
</h3>
|
|
1310
|
-
<div class="tsd-signature">
|
|
1311
|
-
<span class="tsd-kind-property">redirectTo</span
|
|
1312
|
-
><span class="tsd-signature-symbol">?:</span><br /> <span
|
|
1313
|
-
class="tsd-signature-symbol"
|
|
1314
|
-
>|</span
|
|
1315
|
-
>
|
|
1316
|
-
<a
|
|
1317
|
-
href="../types/router_state_interface.RedirectToResult.html"
|
|
1318
|
-
class="tsd-signature-type tsd-kind-type-alias"
|
|
1319
|
-
>RedirectToResult</a
|
|
1320
|
-
><br /> <span class="tsd-signature-symbol">|</span> (<span
|
|
1321
|
-
class="tsd-signature-symbol"
|
|
1322
|
-
>(</span
|
|
1323
|
-
><span class="tsd-kind-parameter">transition</span
|
|
1324
|
-
><span class="tsd-signature-symbol">:</span>
|
|
1325
|
-
<a
|
|
1326
|
-
href="../classes/router_transition_transition.Transition.html"
|
|
1327
|
-
class="tsd-signature-type tsd-kind-class"
|
|
1328
|
-
>Transition</a
|
|
1329
|
-
><span class="tsd-signature-symbol">)</span>
|
|
1330
|
-
<span class="tsd-signature-symbol">=></span>
|
|
1331
|
-
<a
|
|
1332
|
-
href="../types/router_state_interface.RedirectToResult.html"
|
|
1333
|
-
class="tsd-signature-type tsd-kind-type-alias"
|
|
1334
|
-
>RedirectToResult</a
|
|
1335
|
-
>)<br /> <span class="tsd-signature-symbol">|</span> (<span
|
|
1336
|
-
class="tsd-signature-symbol"
|
|
1337
|
-
>(</span
|
|
1338
|
-
><span class="tsd-kind-parameter">transition</span
|
|
1339
|
-
><span class="tsd-signature-symbol">:</span>
|
|
1340
|
-
<a
|
|
1341
|
-
href="../classes/router_transition_transition.Transition.html"
|
|
1342
|
-
class="tsd-signature-type tsd-kind-class"
|
|
1343
|
-
>Transition</a
|
|
1344
|
-
><span class="tsd-signature-symbol">)</span>
|
|
1345
|
-
<span class="tsd-signature-symbol">=></span>
|
|
1346
|
-
<span class="tsd-signature-type">Promise</span
|
|
1347
|
-
><span class="tsd-signature-symbol"><</span
|
|
1348
|
-
><a
|
|
1349
|
-
href="../types/router_state_interface.RedirectToResult.html"
|
|
1350
|
-
class="tsd-signature-type tsd-kind-type-alias"
|
|
1351
|
-
>RedirectToResult</a
|
|
1352
|
-
><span class="tsd-signature-symbol">></span>)
|
|
1353
|
-
</div>
|
|
1354
|
-
<div class="tsd-comment tsd-typography">
|
|
1355
|
-
<p>
|
|
1356
|
-
Synchronously or asynchronously redirects Transitions to a
|
|
1357
|
-
different state/params
|
|
1358
|
-
</p>
|
|
1359
|
-
<p>
|
|
1360
|
-
If this property is defined, a Transition directly to this
|
|
1361
|
-
state will be redirected based on the property's value.
|
|
1362
|
-
</p>
|
|
1363
|
-
<ul>
|
|
1364
|
-
<li>
|
|
1365
|
-
<p>
|
|
1366
|
-
If the value is a <code>string</code>, the Transition is
|
|
1367
|
-
redirected to the state named by the string.
|
|
1368
|
-
</p>
|
|
1369
|
-
</li>
|
|
1370
|
-
<li>
|
|
1371
|
-
<p>
|
|
1372
|
-
If the property is an object with a
|
|
1373
|
-
<code>state</code> and/or <code>params</code> property,
|
|
1374
|
-
the Transition is redirected to the named
|
|
1375
|
-
<code>state</code> and/or <code>params</code>.
|
|
1376
|
-
</p>
|
|
1377
|
-
</li>
|
|
1378
|
-
<li>
|
|
1379
|
-
<p>
|
|
1380
|
-
If the value is a [[TargetState]] the Transition is
|
|
1381
|
-
redirected to the <code>TargetState</code>
|
|
1382
|
-
</p>
|
|
1383
|
-
</li>
|
|
1384
|
-
<li>
|
|
1385
|
-
<p>If the property is a function:</p>
|
|
1386
|
-
<ul>
|
|
1387
|
-
<li>
|
|
1388
|
-
The function is called with the current [[Transition]]
|
|
1389
|
-
</li>
|
|
1390
|
-
<li>
|
|
1391
|
-
The return value is processed using the previously
|
|
1392
|
-
mentioned rules.
|
|
1393
|
-
</li>
|
|
1394
|
-
<li>
|
|
1395
|
-
If the return value is a promise, the promise is waited
|
|
1396
|
-
for, then the resolved async value is processed using
|
|
1397
|
-
the same rules.
|
|
1398
|
-
</li>
|
|
1399
|
-
</ul>
|
|
1400
|
-
</li>
|
|
1401
|
-
</ul>
|
|
1402
|
-
<p>
|
|
1403
|
-
Note: <code>redirectTo</code> is processed as an
|
|
1404
|
-
<code>onStart</code> hook, before <code>LAZY</code> resolves.
|
|
1405
|
-
If your redirect function relies on resolve data, get the
|
|
1406
|
-
[[Transition.injector]] and get a promise for the resolve data
|
|
1407
|
-
using [[UIInjector.getAsync]].
|
|
1408
|
-
</p>
|
|
1409
|
-
<h4 id="example-9" class="tsd-anchor-link">
|
|
1410
|
-
Example:<a
|
|
1411
|
-
href="#example-9"
|
|
1412
|
-
aria-label="Permalink"
|
|
1413
|
-
class="tsd-anchor-icon"
|
|
1414
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1415
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1416
|
-
></a>
|
|
1417
|
-
</h4>
|
|
1418
|
-
<pre><code class="js"><span class="hl-9">// a string</span><br/><span class="hl-1">.</span><span class="hl-0">state</span><span class="hl-1">(</span><span class="hl-2">'A'</span><span class="hl-1">, {</span><br/><span class="hl-1"> </span><span class="hl-10">redirectTo:</span><span class="hl-1"> </span><span class="hl-2">'A.B'</span><br/><span class="hl-1">})</span><br/><br/><span class="hl-9">// a {state, params} object</span><br/><span class="hl-1">.</span><span class="hl-0">state</span><span class="hl-1">(</span><span class="hl-2">'C'</span><span class="hl-1">, {</span><br/><span class="hl-1"> </span><span class="hl-10">redirectTo:</span><span class="hl-1"> { </span><span class="hl-10">state:</span><span class="hl-1"> </span><span class="hl-2">'C.D'</span><span class="hl-1">, </span><span class="hl-10">params:</span><span class="hl-1"> { </span><span class="hl-10">foo:</span><span class="hl-1"> </span><span class="hl-2">'index'</span><span class="hl-1"> } }</span><br/><span class="hl-1">})</span><br/><br/><span class="hl-9">// a fn</span><br/><span class="hl-1">.</span><span class="hl-0">state</span><span class="hl-1">(</span><span class="hl-2">'E'</span><span class="hl-1">, {</span><br/><span class="hl-1"> </span><span class="hl-0">redirectTo</span><span class="hl-10">:</span><span class="hl-1"> () </span><span class="hl-11">=></span><span class="hl-1"> </span><span class="hl-2">"A"</span><br/><span class="hl-1">})</span><br/><br/><span class="hl-9">// a fn conditionally returning a {state, params}</span><br/><span class="hl-1">.</span><span class="hl-0">state</span><span class="hl-1">(</span><span class="hl-2">'F'</span><span class="hl-1">, {</span><br/><span class="hl-1"> </span><span class="hl-0">redirectTo</span><span class="hl-10">:</span><span class="hl-1"> (</span><span class="hl-10">trans</span><span class="hl-1">) </span><span class="hl-11">=></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">trans</span><span class="hl-1">.</span><span class="hl-0">params</span><span class="hl-1">().</span><span class="hl-10">foo</span><span class="hl-1"> < </span><span class="hl-16">10</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">state:</span><span class="hl-1"> </span><span class="hl-2">'F'</span><span class="hl-1">, </span><span class="hl-10">params:</span><span class="hl-1"> { </span><span class="hl-10">foo:</span><span class="hl-1"> </span><span class="hl-16">10</span><span class="hl-1"> } };</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">})</span><br/><br/><span class="hl-9">// a fn returning a promise for a redirect</span><br/><span class="hl-1">.</span><span class="hl-0">state</span><span class="hl-1">(</span><span class="hl-2">'G'</span><span class="hl-1">, {</span><br/><span class="hl-1"> </span><span class="hl-0">redirectTo</span><span class="hl-10">:</span><span class="hl-1"> (</span><span class="hl-10">trans</span><span class="hl-1">) </span><span class="hl-11">=></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">svc</span><span class="hl-1"> = </span><span class="hl-10">trans</span><span class="hl-1">.</span><span class="hl-0">injector</span><span class="hl-1">().</span><span class="hl-0">get</span><span class="hl-1">(</span><span class="hl-2">'SomeAsyncService'</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">promise</span><span class="hl-1"> = </span><span class="hl-10">svc</span><span class="hl-1">.</span><span class="hl-0">getAsyncRedirectTo</span><span class="hl-1">(</span><span class="hl-10">trans</span><span class="hl-1">.</span><span class="hl-10">params</span><span class="hl-1">.</span><span class="hl-10">foo</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">promise</span><span class="hl-1">;</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">})</span><br/><br/><span class="hl-9">// a fn that fetches resolve data</span><br/><span class="hl-1">.</span><span class="hl-0">state</span><span class="hl-1">(</span><span class="hl-2">'G'</span><span class="hl-1">, {</span><br/><span class="hl-1"> </span><span class="hl-0">redirectTo</span><span class="hl-10">:</span><span class="hl-1"> (</span><span class="hl-10">trans</span><span class="hl-1">) </span><span class="hl-11">=></span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-9">// getAsync tells the resolve to load</span><br/><span class="hl-1"> </span><span class="hl-11">let</span><span class="hl-1"> </span><span class="hl-10">resolvePromise</span><span class="hl-1"> = </span><span class="hl-10">trans</span><span class="hl-1">.</span><span class="hl-0">injector</span><span class="hl-1">().</span><span class="hl-0">getAsync</span><span class="hl-1">(</span><span class="hl-2">'SomeResolve'</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">resolvePromise</span><span class="hl-1">.</span><span class="hl-0">then</span><span class="hl-1">(</span><span class="hl-10">resolveData</span><span class="hl-1"> </span><span class="hl-11">=></span><span class="hl-1"> </span><span class="hl-10">resolveData</span><span class="hl-1"> === </span><span class="hl-2">'login'</span><span class="hl-1"> ? </span><span class="hl-2">'login'</span><span class="hl-1"> : </span><span class="hl-11">null</span><span class="hl-1">);</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">})</span>
|
|
1419
|
-
</code><button type="button">Copy</button></pre>
|
|
1420
|
-
</div>
|
|
1421
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
1422
|
-
</section>
|
|
1423
|
-
<section class="tsd-panel tsd-member">
|
|
1424
|
-
<h3 class="tsd-anchor-link" id="reloadonsearch">
|
|
1425
|
-
<code class="tsd-tag">Optional</code
|
|
1426
|
-
><span class="deprecated">reload<wbr />On<wbr />Search</span
|
|
1427
|
-
><a
|
|
1428
|
-
href="#reloadonsearch"
|
|
1429
|
-
aria-label="Permalink"
|
|
1430
|
-
class="tsd-anchor-icon"
|
|
1431
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1432
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1433
|
-
></a>
|
|
1434
|
-
</h3>
|
|
1435
|
-
<div class="tsd-signature">
|
|
1436
|
-
<span class="tsd-kind-property">reloadOnSearch</span
|
|
1437
|
-
><span class="tsd-signature-symbol">?:</span>
|
|
1438
|
-
<span class="tsd-signature-type">boolean</span>
|
|
1439
|
-
</div>
|
|
1440
|
-
<div class="tsd-comment tsd-typography">
|
|
1441
|
-
<p>
|
|
1442
|
-
Marks all query parameters as [[ParamDeclaration.dynamic]]
|
|
1443
|
-
</p>
|
|
1444
|
-
</div>
|
|
1445
|
-
<div class="tsd-comment tsd-typography">
|
|
1446
|
-
<div class="tsd-tag-deprecated">
|
|
1447
|
-
<h4 class="tsd-anchor-link" id="deprecated">
|
|
1448
|
-
Deprecated<a
|
|
1449
|
-
href="#deprecated"
|
|
1450
|
-
aria-label="Permalink"
|
|
1451
|
-
class="tsd-anchor-icon"
|
|
1452
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1453
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1454
|
-
></a>
|
|
1455
|
-
</h4>
|
|
1456
|
-
<p>use either [[dynamic]] or [[ParamDeclaration.dynamic]]</p>
|
|
1457
|
-
</div>
|
|
1458
|
-
</div>
|
|
1459
|
-
</section>
|
|
1460
|
-
<section class="tsd-panel tsd-member">
|
|
1461
|
-
<h3 class="tsd-anchor-link" id="resolve">
|
|
1462
|
-
<code class="tsd-tag">Optional</code><span>resolve</span
|
|
1463
|
-
><a
|
|
1464
|
-
href="#resolve"
|
|
1465
|
-
aria-label="Permalink"
|
|
1466
|
-
class="tsd-anchor-icon"
|
|
1467
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1468
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1469
|
-
></a>
|
|
1470
|
-
</h3>
|
|
1471
|
-
<div class="tsd-signature">
|
|
1472
|
-
<span class="tsd-kind-property">resolve</span
|
|
1473
|
-
><span class="tsd-signature-symbol">?:</span>
|
|
1474
|
-
<span class="tsd-signature-symbol">{</span>
|
|
1475
|
-
<span class="tsd-signature-symbol">[</span
|
|
1476
|
-
><span class="tsd-kind-index-signature">key</span
|
|
1477
|
-
><span class="tsd-signature-symbol">:</span>
|
|
1478
|
-
<span class="tsd-signature-type">string</span
|
|
1479
|
-
><span class="tsd-signature-symbol">]:</span>
|
|
1480
|
-
<a
|
|
1481
|
-
href="../types/interface.Injectable.html"
|
|
1482
|
-
class="tsd-signature-type tsd-kind-type-alias"
|
|
1483
|
-
>Injectable</a
|
|
1484
|
-
>
|
|
1485
|
-
<span class="tsd-signature-symbol">}</span>
|
|
1486
|
-
<span class="tsd-signature-symbol">|</span>
|
|
1487
|
-
<a
|
|
1488
|
-
href="../types/router_state_interface.ResolveTypes.html"
|
|
1489
|
-
class="tsd-signature-type tsd-kind-type-alias"
|
|
1490
|
-
>ResolveTypes</a
|
|
1491
|
-
><span class="tsd-signature-symbol">[]</span>
|
|
1492
|
-
</div>
|
|
1493
|
-
<div class="tsd-comment tsd-typography">
|
|
1494
|
-
<p>
|
|
1495
|
-
Resolve - a mechanism to asynchronously fetch data,
|
|
1496
|
-
participating in the Transition lifecycle
|
|
1497
|
-
</p>
|
|
1498
|
-
<p>
|
|
1499
|
-
The <code>resolve:</code> property defines data (or other
|
|
1500
|
-
dependencies) to be fetched asynchronously when the state is
|
|
1501
|
-
being entered. After the data is fetched, it may be used in
|
|
1502
|
-
views, transition hooks or other resolves that belong to this
|
|
1503
|
-
state. The data may also be used in any views or resolves that
|
|
1504
|
-
belong to nested states.
|
|
1505
|
-
</p>
|
|
1506
|
-
<h3 id="as-an-array" class="tsd-anchor-link">
|
|
1507
|
-
As an array<a
|
|
1508
|
-
href="#as-an-array"
|
|
1509
|
-
aria-label="Permalink"
|
|
1510
|
-
class="tsd-anchor-icon"
|
|
1511
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1512
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1513
|
-
></a>
|
|
1514
|
-
</h3>
|
|
1515
|
-
<p>
|
|
1516
|
-
Each array element should be a [[ResolvableLiteral]] object.
|
|
1517
|
-
</p>
|
|
1518
|
-
<h4 id="example-10" class="tsd-anchor-link">
|
|
1519
|
-
Example:<a
|
|
1520
|
-
href="#example-10"
|
|
1521
|
-
aria-label="Permalink"
|
|
1522
|
-
class="tsd-anchor-icon"
|
|
1523
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1524
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1525
|
-
></a>
|
|
1526
|
-
</h4>
|
|
1527
|
-
<p>
|
|
1528
|
-
The <code>user</code> resolve injects the current
|
|
1529
|
-
<code>Transition</code> and the
|
|
1530
|
-
<code>UserService</code> (using its token, which is a string).
|
|
1531
|
-
The [[ResolvableLiteral.resolvePolicy]] sets how the resolve
|
|
1532
|
-
is processed. The <code>user</code> data, fetched
|
|
1533
|
-
asynchronously, can then be used in a view.
|
|
1534
|
-
</p>
|
|
1535
|
-
<pre><code class="js"><span class="hl-11">var</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">name:</span><span class="hl-1"> </span><span class="hl-2">'user'</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-10">url:</span><span class="hl-1"> </span><span class="hl-2">'/user/:userI</span><span class="hl-12">d</span><br/><span class="hl-1"> </span><span class="hl-10">resolve</span><span class="hl-1">: [</span><br/><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-10">token:</span><span class="hl-1"> </span><span class="hl-2">'user'</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-10">policy:</span><span class="hl-1"> { </span><span class="hl-10">when:</span><span class="hl-1"> </span><span class="hl-2">'EAGER'</span><span class="hl-1"> },</span><br/><span class="hl-1"> </span><span class="hl-10">deps:</span><span class="hl-1"> [</span><span class="hl-2">'UserService'</span><span class="hl-1">, </span><span class="hl-10">Transition</span><span class="hl-1">],</span><br/><span class="hl-1"> </span><span class="hl-0">resolveFn</span><span class="hl-10">:</span><span class="hl-1"> (</span><span class="hl-10">userSvc</span><span class="hl-1">, </span><span class="hl-10">trans</span><span class="hl-1">) </span><span class="hl-11">=></span><span class="hl-1"> </span><span class="hl-10">userSvc</span><span class="hl-1">.</span><span class="hl-0">fetchUser</span><span class="hl-1">(</span><span class="hl-10">trans</span><span class="hl-1">.</span><span class="hl-0">params</span><span class="hl-1">().</span><span class="hl-10">userId</span><span class="hl-1">) },</span><br/><span class="hl-1"> }</span><br/><span class="hl-1"> ]</span><br/><span class="hl-1">}</span>
|
|
1536
|
-
</code><button type="button">Copy</button></pre>
|
|
1537
|
-
|
|
1538
|
-
<p>
|
|
1539
|
-
Note: an Angular 2 style
|
|
1540
|
-
<a
|
|
1541
|
-
href="https://angular.io/docs/ts/latest/cookbook/dependency-injection.html#!#provide"
|
|
1542
|
-
><code>useFactory</code> provider literal</a
|
|
1543
|
-
>
|
|
1544
|
-
may also be used. See [[ProviderLike]].
|
|
1545
|
-
</p>
|
|
1546
|
-
<h4 id="example-11" class="tsd-anchor-link">
|
|
1547
|
-
Example:<a
|
|
1548
|
-
href="#example-11"
|
|
1549
|
-
aria-label="Permalink"
|
|
1550
|
-
class="tsd-anchor-icon"
|
|
1551
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1552
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1553
|
-
></a>
|
|
1554
|
-
</h4>
|
|
1555
|
-
<pre><code><span class="hl-15">resolve</span><span class="hl-1">: [</span><br/><span class="hl-1"> { </span><span class="hl-10">provide:</span><span class="hl-1"> </span><span class="hl-2">'token'</span><span class="hl-1">, </span><span class="hl-0">useFactory</span><span class="hl-10">:</span><span class="hl-1"> (</span><span class="hl-10">http</span><span class="hl-1">) </span><span class="hl-11">=></span><span class="hl-1"> </span><span class="hl-10">http</span><span class="hl-1">.</span><span class="hl-0">get</span><span class="hl-1">(</span><span class="hl-2">'/'</span><span class="hl-1">), </span><span class="hl-10">deps:</span><span class="hl-1"> [ </span><span class="hl-10">Http</span><span class="hl-1"> ] },</span><br/><span class="hl-1">]</span>
|
|
1556
|
-
</code><button>Copy</button></pre>
|
|
1557
|
-
|
|
1558
|
-
<h3 id="as-an-object" class="tsd-anchor-link">
|
|
1559
|
-
As an object<a
|
|
1560
|
-
href="#as-an-object"
|
|
1561
|
-
aria-label="Permalink"
|
|
1562
|
-
class="tsd-anchor-icon"
|
|
1563
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1564
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1565
|
-
></a>
|
|
1566
|
-
</h3>
|
|
1567
|
-
<p>The <code>resolve</code> property may be an object where:</p>
|
|
1568
|
-
<ul>
|
|
1569
|
-
<li>Each key (string) is the name of the dependency.</li>
|
|
1570
|
-
<li>
|
|
1571
|
-
Each value (function) is an injectable function which
|
|
1572
|
-
returns the dependency, or a promise for the dependency.
|
|
1573
|
-
</li>
|
|
1574
|
-
</ul>
|
|
1575
|
-
<p>
|
|
1576
|
-
This style is based on AngularTS injectable functions, but can
|
|
1577
|
-
be used with any UI-Router implementation. If your code will
|
|
1578
|
-
be minified, the function should be
|
|
1579
|
-
<a
|
|
1580
|
-
href="https://docs.angularjs.org/guide/di#dependency-annotation"
|
|
1581
|
-
>"annotated" in the AngularTS manner</a
|
|
1582
|
-
>.
|
|
1583
|
-
</p>
|
|
1584
|
-
<h4 id="angularts-example" class="tsd-anchor-link">
|
|
1585
|
-
AngularTS Example:<a
|
|
1586
|
-
href="#angularts-example"
|
|
1587
|
-
aria-label="Permalink"
|
|
1588
|
-
class="tsd-anchor-icon"
|
|
1589
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1590
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1591
|
-
></a>
|
|
1592
|
-
</h4>
|
|
1593
|
-
<pre><code class="js"><span class="hl-15">resolve</span><span class="hl-1">: {</span><br/><span class="hl-1"> </span><span class="hl-9">// If you inject `myStateDependency` into a controller, you'll get "abc"</span><br/><span class="hl-1"> </span><span class="hl-15">myStateDependency</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-8">return</span><span class="hl-1"> </span><span class="hl-2">"abc"</span><span class="hl-1">;</span><br/><span class="hl-1"> },</span><br/><span class="hl-1"> </span><span class="hl-9">// Dependencies are annotated in "Inline Array Annotation"</span><br/><span class="hl-1"> </span><span class="hl-15">myAsyncData</span><span class="hl-1">: [</span><span class="hl-2">'$http'</span><span class="hl-1">, </span><span class="hl-2">'$transition$'</span><span class="hl-1"> </span><span class="hl-11">function</span><span class="hl-1">(</span><span class="hl-10">$http</span><span class="hl-1">, </span><span class="hl-10">$transition$</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-9">// Return a promise (async) for the data</span><br/><span class="hl-1"> </span><span class="hl-8">return</span><span class="hl-1"> </span><span class="hl-10">$http</span><span class="hl-1">.</span><span class="hl-0">get</span><span class="hl-1">(</span><span class="hl-2">"/foos/"</span><span class="hl-1"> + </span><span class="hl-10">$transition$</span><span class="hl-1">.</span><span class="hl-0">params</span><span class="hl-1">().</span><span class="hl-10">foo</span><span class="hl-1">);</span><br/><span class="hl-1"> }]</span><br/><span class="hl-1">}</span>
|
|
1594
|
-
</code><button type="button">Copy</button></pre>
|
|
1595
|
-
|
|
1596
|
-
<p>
|
|
1597
|
-
Note: You cannot specify a policy for each Resolvable, nor can
|
|
1598
|
-
you use non-string tokens when using the object style
|
|
1599
|
-
<code>resolve:</code> block.
|
|
1600
|
-
</p>
|
|
1601
|
-
<h3 id="lifecycle-1" class="tsd-anchor-link">
|
|
1602
|
-
Lifecycle<a
|
|
1603
|
-
href="#lifecycle-1"
|
|
1604
|
-
aria-label="Permalink"
|
|
1605
|
-
class="tsd-anchor-icon"
|
|
1606
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1607
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1608
|
-
></a>
|
|
1609
|
-
</h3>
|
|
1610
|
-
<p>
|
|
1611
|
-
Since a resolve function can return a promise, the router will
|
|
1612
|
-
delay entering the state until the promises are ready. If any
|
|
1613
|
-
of the promises are rejected, the Transition is aborted with
|
|
1614
|
-
an Error.
|
|
1615
|
-
</p>
|
|
1616
|
-
<p>
|
|
1617
|
-
By default, resolves for a state are fetched just before that
|
|
1618
|
-
state is entered. Note that only states which are being
|
|
1619
|
-
<em>entered</em> during the <code>Transition</code> have their
|
|
1620
|
-
resolves fetched. States that are "retained" do not
|
|
1621
|
-
have their resolves re-fetched.
|
|
1622
|
-
</p>
|
|
1623
|
-
<p>
|
|
1624
|
-
If you are currently in a parent state <code>parent</code> and
|
|
1625
|
-
are transitioning to a child state <code>parent.child</code>,
|
|
1626
|
-
the previously resolved data for state <code>parent</code> can
|
|
1627
|
-
be injected into <code>parent.child</code> without delay.
|
|
1628
|
-
</p>
|
|
1629
|
-
<p>
|
|
1630
|
-
Any resolved data for <code>parent.child</code> is retained
|
|
1631
|
-
until <code>parent.child</code> is exited, e.g., by
|
|
1632
|
-
transitioning back to the <code>parent</code> state.
|
|
1633
|
-
</p>
|
|
1634
|
-
<p>
|
|
1635
|
-
Because of this scoping and lifecycle, resolves are a great
|
|
1636
|
-
place to fetch your application's primary data.
|
|
1637
|
-
</p>
|
|
1638
|
-
<h3
|
|
1639
|
-
id="injecting-resolves-into-other-things"
|
|
1640
|
-
class="tsd-anchor-link"
|
|
1641
|
-
>
|
|
1642
|
-
Injecting resolves into other things<a
|
|
1643
|
-
href="#injecting-resolves-into-other-things"
|
|
1644
|
-
aria-label="Permalink"
|
|
1645
|
-
class="tsd-anchor-icon"
|
|
1646
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1647
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1648
|
-
></a>
|
|
1649
|
-
</h3>
|
|
1650
|
-
<p>During a transition, Resolve data can be injected into:</p>
|
|
1651
|
-
<ul>
|
|
1652
|
-
<li>
|
|
1653
|
-
Views (the components which fill a <code>ui-view</code> tag)
|
|
1654
|
-
</li>
|
|
1655
|
-
<li>Transition Hooks</li>
|
|
1656
|
-
<li>
|
|
1657
|
-
Other resolves (a resolve may depend on asynchronous data
|
|
1658
|
-
from a different resolve)
|
|
1659
|
-
</li>
|
|
1660
|
-
</ul>
|
|
1661
|
-
<h3
|
|
1662
|
-
id="injecting-other-things-into-resolves"
|
|
1663
|
-
class="tsd-anchor-link"
|
|
1664
|
-
>
|
|
1665
|
-
Injecting other things into resolves<a
|
|
1666
|
-
href="#injecting-other-things-into-resolves"
|
|
1667
|
-
aria-label="Permalink"
|
|
1668
|
-
class="tsd-anchor-icon"
|
|
1669
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1670
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1671
|
-
></a>
|
|
1672
|
-
</h3>
|
|
1673
|
-
<p>
|
|
1674
|
-
Resolve functions usually have dependencies on some other
|
|
1675
|
-
API(s). The dependencies are usually declared and injected
|
|
1676
|
-
into the resolve function. A common pattern is to inject a
|
|
1677
|
-
custom service such as <code>UserService</code>. The resolve
|
|
1678
|
-
then delegates to a service method, such as
|
|
1679
|
-
<code>UserService.list()</code>;
|
|
1680
|
-
</p>
|
|
1681
|
-
<h4 id="special-injectable-tokens" class="tsd-anchor-link">
|
|
1682
|
-
Special injectable tokens<a
|
|
1683
|
-
href="#special-injectable-tokens"
|
|
1684
|
-
aria-label="Permalink"
|
|
1685
|
-
class="tsd-anchor-icon"
|
|
1686
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1687
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1688
|
-
></a>
|
|
1689
|
-
</h4>
|
|
1690
|
-
<ul>
|
|
1691
|
-
<li>
|
|
1692
|
-
<code>UIRouter</code>: The [[UIRouter]] instance which has
|
|
1693
|
-
references to all the UI-Router services.
|
|
1694
|
-
</li>
|
|
1695
|
-
<li>
|
|
1696
|
-
<code>Transition</code>: The current [[Transition]] object;
|
|
1697
|
-
information and API about the current transition, such as
|
|
1698
|
-
"to" and "from" State Parameters and
|
|
1699
|
-
transition options.
|
|
1700
|
-
</li>
|
|
1701
|
-
<li>
|
|
1702
|
-
<code>'$transition$'</code>: A string alias for the
|
|
1703
|
-
<code>Transition</code> injectable
|
|
1704
|
-
</li>
|
|
1705
|
-
<li>
|
|
1706
|
-
<code>'$state$'</code>: For
|
|
1707
|
-
<code>onEnter</code
|
|
1708
|
-
>/<code>onExit</code>/<code>onRetain</code>, the state being
|
|
1709
|
-
entered/exited/retained.
|
|
1710
|
-
</li>
|
|
1711
|
-
<li>
|
|
1712
|
-
Other resolve tokens: A resolve can depend on another
|
|
1713
|
-
resolve, either from the same state, or from any parent
|
|
1714
|
-
state.
|
|
1715
|
-
</li>
|
|
1716
|
-
</ul>
|
|
1717
|
-
<h4 id="example-12" class="tsd-anchor-link">
|
|
1718
|
-
Example:<a
|
|
1719
|
-
href="#example-12"
|
|
1720
|
-
aria-label="Permalink"
|
|
1721
|
-
class="tsd-anchor-icon"
|
|
1722
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1723
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1724
|
-
></a>
|
|
1725
|
-
</h4>
|
|
1726
|
-
<pre><code class="js"><span class="hl-9">// Injecting a resolve into another resolve</span><br/><span class="hl-15">resolve</span><span class="hl-1">: [</span><br/><span class="hl-1"> </span><span class="hl-9">// Define a resolve 'allusers' which delegates to the UserService.list()</span><br/><span class="hl-1"> </span><span class="hl-9">// which returns a promise (async) for all the users</span><br/><span class="hl-1"> { </span><span class="hl-10">provide:</span><span class="hl-1"> </span><span class="hl-2">'allusers'</span><span class="hl-1">, </span><span class="hl-0">useFactory</span><span class="hl-10">:</span><span class="hl-1"> (</span><span class="hl-10">UserService</span><span class="hl-1">) </span><span class="hl-11">=></span><span class="hl-1"> </span><span class="hl-10">UserService</span><span class="hl-1">.</span><span class="hl-0">list</span><span class="hl-1">(), </span><span class="hl-10">deps:</span><span class="hl-1"> [</span><span class="hl-10">UserService</span><span class="hl-1">] },</span><br/><br/><span class="hl-1"> </span><span class="hl-9">// Define a resolve 'user' which depends on the allusers resolve.</span><br/><span class="hl-1"> </span><span class="hl-9">// This resolve function is not called until 'allusers' is ready.</span><br/><span class="hl-1"> { </span><span class="hl-10">provide:</span><span class="hl-1"> </span><span class="hl-2">'user'</span><span class="hl-1">, (</span><span class="hl-10">allusers</span><span class="hl-1">, trans) => _.find(</span><span class="hl-10">allusers</span><span class="hl-1">, trans.params().</span><span class="hl-10">userId</span><span class="hl-1">, </span><span class="hl-10">deps:</span><span class="hl-1"> [</span><span class="hl-2">'allusers'</span><span class="hl-1">, </span><span class="hl-10">Transition</span><span class="hl-1">] }</span><br/><span class="hl-1">}</span>
|
|
1727
|
-
</code><button type="button">Copy</button></pre>
|
|
1728
|
-
</div>
|
|
1729
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
1730
|
-
</section>
|
|
1731
|
-
<section class="tsd-panel tsd-member">
|
|
1732
|
-
<h3 class="tsd-anchor-link" id="resolvepolicy">
|
|
1733
|
-
<code class="tsd-tag">Optional</code
|
|
1734
|
-
><span>resolve<wbr />Policy</span
|
|
1735
|
-
><a
|
|
1736
|
-
href="#resolvepolicy"
|
|
1737
|
-
aria-label="Permalink"
|
|
1738
|
-
class="tsd-anchor-icon"
|
|
1739
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1740
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1741
|
-
></a>
|
|
1742
|
-
</h3>
|
|
1743
|
-
<div class="tsd-signature">
|
|
1744
|
-
<span class="tsd-kind-property">resolvePolicy</span
|
|
1745
|
-
><span class="tsd-signature-symbol">?:</span>
|
|
1746
|
-
<a
|
|
1747
|
-
href="router_resolve_interface.ResolvePolicy.html"
|
|
1748
|
-
class="tsd-signature-type tsd-kind-interface"
|
|
1749
|
-
>ResolvePolicy</a
|
|
1750
|
-
>
|
|
1751
|
-
</div>
|
|
1752
|
-
<div class="tsd-comment tsd-typography">
|
|
1753
|
-
<p>
|
|
1754
|
-
Sets the resolve policy defaults for all resolves on this
|
|
1755
|
-
state
|
|
1756
|
-
</p>
|
|
1757
|
-
<p>This should be an [[ResolvePolicy]] object.</p>
|
|
1758
|
-
<p>It can contain the following optional keys/values:</p>
|
|
1759
|
-
<ul>
|
|
1760
|
-
<li>
|
|
1761
|
-
<code>when</code>: (optional) defines when the resolve is
|
|
1762
|
-
fetched. Accepted values: "LAZY" or
|
|
1763
|
-
"EAGER"
|
|
1764
|
-
</li>
|
|
1765
|
-
<li>
|
|
1766
|
-
<code>async</code>: (optional) if the transition waits for
|
|
1767
|
-
the resolve. Accepted values: "WAIT",
|
|
1768
|
-
"NOWAIT", CustomAsyncPolicy
|
|
1769
|
-
</li>
|
|
1770
|
-
</ul>
|
|
1771
|
-
<p>See [[ResolvePolicy]] for more details.</p>
|
|
1772
|
-
</div>
|
|
1773
|
-
<div class="tsd-comment tsd-typography"></div>
|
|
1774
|
-
</section>
|
|
1775
|
-
<section class="tsd-panel tsd-member">
|
|
1776
|
-
<h3 class="tsd-anchor-link" id="url">
|
|
1777
|
-
<code class="tsd-tag">Optional</code><span>url</span
|
|
1778
|
-
><a href="#url" aria-label="Permalink" class="tsd-anchor-icon"
|
|
1779
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1780
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1781
|
-
></a>
|
|
1782
|
-
</h3>
|
|
1783
|
-
<div class="tsd-signature">
|
|
1784
|
-
<span class="tsd-kind-property">url</span
|
|
1785
|
-
><span class="tsd-signature-symbol">?:</span>
|
|
1786
|
-
<span class="tsd-signature-type">string</span>
|
|
1787
|
-
</div>
|
|
1788
|
-
<div class="tsd-comment tsd-typography">
|
|
1789
|
-
<p>The url fragment for the state</p>
|
|
1790
|
-
<p>
|
|
1791
|
-
A URL fragment (with optional parameters) which is used to
|
|
1792
|
-
match the browser location with this state.
|
|
1793
|
-
</p>
|
|
1794
|
-
<p>
|
|
1795
|
-
This fragment will be appended to the parent state's URL in
|
|
1796
|
-
order to build up the overall URL for this state. See
|
|
1797
|
-
[[UrlMatcher]] for details on acceptable patterns.
|
|
1798
|
-
</p>
|
|
1799
|
-
</div>
|
|
1800
|
-
<div class="tsd-comment tsd-typography">
|
|
1801
|
-
<div class="tsd-tag-examples">
|
|
1802
|
-
<h4 class="tsd-anchor-link" id="examples">
|
|
1803
|
-
Examples<a
|
|
1804
|
-
href="#examples"
|
|
1805
|
-
aria-label="Permalink"
|
|
1806
|
-
class="tsd-anchor-icon"
|
|
1807
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1808
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1809
|
-
></a>
|
|
1810
|
-
</h4>
|
|
1811
|
-
<pre><code class="js"><br/><span class="hl-15">url</span><span class="hl-1">: </span><span class="hl-2">"/home"</span><br/><span class="hl-9">// Define a parameter named 'userid'</span><br/><span class="hl-15">url</span><span class="hl-1">: </span><span class="hl-2">"/users/:userid"</span><br/><span class="hl-9">// param 'bookid' has a custom regexp</span><br/><span class="hl-15">url</span><span class="hl-1">: </span><span class="hl-2">"/books/{bookid:[a-zA-Z_-]}"</span><br/><span class="hl-9">// param 'categoryid' is of type 'int'</span><br/><span class="hl-15">url</span><span class="hl-1">: </span><span class="hl-2">"/books/{categoryid:int}"</span><br/><span class="hl-9">// two parameters for this state</span><br/><span class="hl-15">url</span><span class="hl-1">: </span><span class="hl-2">"/books/{publishername:string}/{categoryid:int}"</span><br/><span class="hl-9">// Query parameters</span><br/><span class="hl-15">url</span><span class="hl-1">: </span><span class="hl-2">"/messages?before&after"</span><br/><span class="hl-9">// Query parameters of type 'date'</span><br/><span class="hl-15">url</span><span class="hl-1">: </span><span class="hl-2">"/messages?{before:date}&{after:date}"</span><br/><span class="hl-9">// Path and query parameters</span><br/><span class="hl-15">url</span><span class="hl-1">: </span><span class="hl-2">"/messages/:mailboxid?{before:date}&{after:date}"</span>
|
|
1812
|
-
</code><button type="button">Copy</button></pre>
|
|
1813
|
-
</div>
|
|
1814
|
-
</div>
|
|
1815
|
-
</section>
|
|
1816
|
-
<section class="tsd-panel tsd-member">
|
|
1817
|
-
<h3 class="tsd-anchor-link" id="views">
|
|
1818
|
-
<code class="tsd-tag">Optional</code><span>views</span
|
|
1819
|
-
><a href="#views" aria-label="Permalink" class="tsd-anchor-icon"
|
|
1820
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1821
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1822
|
-
></a>
|
|
1823
|
-
</h3>
|
|
1824
|
-
<div class="tsd-signature">
|
|
1825
|
-
<span class="tsd-kind-property">views</span
|
|
1826
|
-
><span class="tsd-signature-symbol">?:</span>
|
|
1827
|
-
<span class="tsd-signature-symbol">{</span>
|
|
1828
|
-
<span class="tsd-signature-symbol">[</span
|
|
1829
|
-
><span class="tsd-kind-index-signature">key</span
|
|
1830
|
-
><span class="tsd-signature-symbol">:</span>
|
|
1831
|
-
<span class="tsd-signature-type">string</span
|
|
1832
|
-
><span class="tsd-signature-symbol">]:</span>
|
|
1833
|
-
<a
|
|
1834
|
-
href="router_state_interface.ViewDeclaration.html"
|
|
1835
|
-
class="tsd-signature-type tsd-kind-interface"
|
|
1836
|
-
>ViewDeclaration</a
|
|
1837
|
-
>
|
|
1838
|
-
<span class="tsd-signature-symbol">}</span>
|
|
1839
|
-
</div>
|
|
1840
|
-
<div class="tsd-comment tsd-typography">
|
|
1841
|
-
<p>Named views</p>
|
|
1842
|
-
<p>
|
|
1843
|
-
An optional object which defines multiple views, or explicitly
|
|
1844
|
-
targets specific named ui-views.
|
|
1845
|
-
</p>
|
|
1846
|
-
<ul>
|
|
1847
|
-
<li>What is a view config</li>
|
|
1848
|
-
<li>What is a ui-view</li>
|
|
1849
|
-
<li>Shorthand controller/template</li>
|
|
1850
|
-
<li>Incompatible with ^</li>
|
|
1851
|
-
</ul>
|
|
1852
|
-
<p>Examples:</p>
|
|
1853
|
-
<p>
|
|
1854
|
-
Targets three named ui-views in the parent state's template
|
|
1855
|
-
</p>
|
|
1856
|
-
<h4 id="example-13" class="tsd-anchor-link">
|
|
1857
|
-
Example:<a
|
|
1858
|
-
href="#example-13"
|
|
1859
|
-
aria-label="Permalink"
|
|
1860
|
-
class="tsd-anchor-icon"
|
|
1861
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1862
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1863
|
-
></a>
|
|
1864
|
-
</h4>
|
|
1865
|
-
<pre><code class="js"><span class="hl-15">views</span><span class="hl-1">: {</span><br/><span class="hl-1"> </span><span class="hl-15">header</span><span class="hl-1">: {</span><br/><span class="hl-1"> </span><span class="hl-15">controller</span><span class="hl-1">: </span><span class="hl-2">"headerCtrl"</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-15">templateUrl</span><span class="hl-1">: </span><span class="hl-2">"header.html"</span><br/><span class="hl-1"> }, </span><span class="hl-15">body</span><span class="hl-1">: {</span><br/><span class="hl-1"> </span><span class="hl-15">controller</span><span class="hl-1">: </span><span class="hl-2">"bodyCtrl"</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-15">templateUrl</span><span class="hl-1">: </span><span class="hl-2">"body.html"</span><br/><span class="hl-1"> }, </span><span class="hl-15">footer</span><span class="hl-1">: {</span><br/><span class="hl-1"> </span><span class="hl-15">controller</span><span class="hl-1">: </span><span class="hl-2">"footCtrl"</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-15">templateUrl</span><span class="hl-1">: </span><span class="hl-2">"footer.html"</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">}</span>
|
|
1866
|
-
</code><button type="button">Copy</button></pre>
|
|
1867
|
-
</div>
|
|
1868
|
-
<div class="tsd-comment tsd-typography">
|
|
1869
|
-
<div class="tsd-tag-example">
|
|
1870
|
-
<h4 class="tsd-anchor-link" id="example-14">
|
|
1871
|
-
Example<a
|
|
1872
|
-
href="#example-14"
|
|
1873
|
-
aria-label="Permalink"
|
|
1874
|
-
class="tsd-anchor-icon"
|
|
1875
|
-
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
1876
|
-
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
1877
|
-
></a>
|
|
1878
|
-
</h4>
|
|
1879
|
-
<pre><code class="js"><span class="hl-9">// Targets named ui-view="header" from ancestor state 'top''s template, and</span><br/><span class="hl-9">// named `ui-view="body" from parent state's template.</span><br/><span class="hl-15">views</span><span class="hl-1">: {</span><br/><span class="hl-1"> </span><span class="hl-2">'header@top'</span><span class="hl-1">: {</span><br/><span class="hl-1"> </span><span class="hl-10">controller:</span><span class="hl-1"> </span><span class="hl-2">"msgHeaderCtrl"</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-10">templateUrl:</span><span class="hl-1"> </span><span class="hl-2">"msgHeader.html"</span><br/><span class="hl-1"> }, </span><span class="hl-2">'body'</span><span class="hl-1">: {</span><br/><span class="hl-1"> </span><span class="hl-10">controller:</span><span class="hl-1"> </span><span class="hl-2">"messagesCtrl"</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-10">templateUrl:</span><span class="hl-1"> </span><span class="hl-2">"messages.html"</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">}</span>
|
|
1880
|
-
</code><button type="button">Copy</button></pre>
|
|
1881
|
-
</div>
|
|
1882
|
-
</div>
|
|
1883
|
-
</section>
|
|
1884
|
-
</section>
|
|
1885
|
-
</details>
|
|
1886
|
-
</div>
|
|
1887
|
-
<div class="col-sidebar">
|
|
1888
|
-
<div class="page-menu">
|
|
1889
|
-
<div class="tsd-navigation settings">
|
|
1890
|
-
<details class="tsd-accordion">
|
|
1891
|
-
<summary class="tsd-accordion-summary">
|
|
1892
|
-
<svg
|
|
1893
|
-
width="20"
|
|
1894
|
-
height="20"
|
|
1895
|
-
viewBox="0 0 24 24"
|
|
1896
|
-
fill="none"
|
|
1897
|
-
aria-hidden="true"
|
|
1898
|
-
>
|
|
1899
|
-
<use href="../assets/icons.svg#icon-chevronDown"></use>
|
|
1900
|
-
</svg>
|
|
1901
|
-
<h3>Settings</h3>
|
|
1902
|
-
</summary>
|
|
1903
|
-
<div class="tsd-accordion-details">
|
|
1904
|
-
<div class="tsd-filter-visibility">
|
|
1905
|
-
<span class="settings-label">Member Visibility</span>
|
|
1906
|
-
<ul id="tsd-filter-options">
|
|
1907
|
-
<li class="tsd-filter-item">
|
|
1908
|
-
<label class="tsd-filter-input"
|
|
1909
|
-
><input
|
|
1910
|
-
type="checkbox"
|
|
1911
|
-
id="tsd-filter-protected"
|
|
1912
|
-
name="protected"
|
|
1913
|
-
/><svg
|
|
1914
|
-
width="32"
|
|
1915
|
-
height="32"
|
|
1916
|
-
viewBox="0 0 32 32"
|
|
1917
|
-
aria-hidden="true"
|
|
1918
|
-
>
|
|
1919
|
-
<rect
|
|
1920
|
-
class="tsd-checkbox-background"
|
|
1921
|
-
width="30"
|
|
1922
|
-
height="30"
|
|
1923
|
-
x="1"
|
|
1924
|
-
y="1"
|
|
1925
|
-
rx="6"
|
|
1926
|
-
fill="none"
|
|
1927
|
-
></rect>
|
|
1928
|
-
<path
|
|
1929
|
-
class="tsd-checkbox-checkmark"
|
|
1930
|
-
d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25"
|
|
1931
|
-
stroke="none"
|
|
1932
|
-
stroke-width="3.5"
|
|
1933
|
-
stroke-linejoin="round"
|
|
1934
|
-
fill="none"
|
|
1935
|
-
></path></svg
|
|
1936
|
-
><span>Protected</span></label
|
|
1937
|
-
>
|
|
1938
|
-
</li>
|
|
1939
|
-
<li class="tsd-filter-item">
|
|
1940
|
-
<label class="tsd-filter-input"
|
|
1941
|
-
><input
|
|
1942
|
-
type="checkbox"
|
|
1943
|
-
id="tsd-filter-inherited"
|
|
1944
|
-
name="inherited"
|
|
1945
|
-
checked
|
|
1946
|
-
/><svg
|
|
1947
|
-
width="32"
|
|
1948
|
-
height="32"
|
|
1949
|
-
viewBox="0 0 32 32"
|
|
1950
|
-
aria-hidden="true"
|
|
1951
|
-
>
|
|
1952
|
-
<rect
|
|
1953
|
-
class="tsd-checkbox-background"
|
|
1954
|
-
width="30"
|
|
1955
|
-
height="30"
|
|
1956
|
-
x="1"
|
|
1957
|
-
y="1"
|
|
1958
|
-
rx="6"
|
|
1959
|
-
fill="none"
|
|
1960
|
-
></rect>
|
|
1961
|
-
<path
|
|
1962
|
-
class="tsd-checkbox-checkmark"
|
|
1963
|
-
d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25"
|
|
1964
|
-
stroke="none"
|
|
1965
|
-
stroke-width="3.5"
|
|
1966
|
-
stroke-linejoin="round"
|
|
1967
|
-
fill="none"
|
|
1968
|
-
></path></svg
|
|
1969
|
-
><span>Inherited</span></label
|
|
1970
|
-
>
|
|
1971
|
-
</li>
|
|
1972
|
-
<li class="tsd-filter-item">
|
|
1973
|
-
<label class="tsd-filter-input"
|
|
1974
|
-
><input
|
|
1975
|
-
type="checkbox"
|
|
1976
|
-
id="tsd-filter-external"
|
|
1977
|
-
name="external"
|
|
1978
|
-
/><svg
|
|
1979
|
-
width="32"
|
|
1980
|
-
height="32"
|
|
1981
|
-
viewBox="0 0 32 32"
|
|
1982
|
-
aria-hidden="true"
|
|
1983
|
-
>
|
|
1984
|
-
<rect
|
|
1985
|
-
class="tsd-checkbox-background"
|
|
1986
|
-
width="30"
|
|
1987
|
-
height="30"
|
|
1988
|
-
x="1"
|
|
1989
|
-
y="1"
|
|
1990
|
-
rx="6"
|
|
1991
|
-
fill="none"
|
|
1992
|
-
></rect>
|
|
1993
|
-
<path
|
|
1994
|
-
class="tsd-checkbox-checkmark"
|
|
1995
|
-
d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25"
|
|
1996
|
-
stroke="none"
|
|
1997
|
-
stroke-width="3.5"
|
|
1998
|
-
stroke-linejoin="round"
|
|
1999
|
-
fill="none"
|
|
2000
|
-
></path></svg
|
|
2001
|
-
><span>External</span></label
|
|
2002
|
-
>
|
|
2003
|
-
</li>
|
|
2004
|
-
</ul>
|
|
2005
|
-
</div>
|
|
2006
|
-
<div class="tsd-theme-toggle">
|
|
2007
|
-
<label class="settings-label" for="tsd-theme">Theme</label
|
|
2008
|
-
><select id="tsd-theme">
|
|
2009
|
-
<option value="os">OS</option>
|
|
2010
|
-
<option value="light">Light</option>
|
|
2011
|
-
<option value="dark">Dark</option>
|
|
2012
|
-
</select>
|
|
2013
|
-
</div>
|
|
2014
|
-
</div>
|
|
2015
|
-
</details>
|
|
2016
|
-
</div>
|
|
2017
|
-
<details open class="tsd-accordion tsd-page-navigation">
|
|
2018
|
-
<summary class="tsd-accordion-summary">
|
|
2019
|
-
<svg
|
|
2020
|
-
width="20"
|
|
2021
|
-
height="20"
|
|
2022
|
-
viewBox="0 0 24 24"
|
|
2023
|
-
fill="none"
|
|
2024
|
-
aria-hidden="true"
|
|
2025
|
-
>
|
|
2026
|
-
<use href="../assets/icons.svg#icon-chevronDown"></use>
|
|
2027
|
-
</svg>
|
|
2028
|
-
<h3>On This Page</h3>
|
|
2029
|
-
</summary>
|
|
2030
|
-
<div class="tsd-accordion-details">
|
|
2031
|
-
<a href="#example"><span>Example:</span></a>
|
|
2032
|
-
<details open class="tsd-accordion tsd-page-navigation-section">
|
|
2033
|
-
<summary
|
|
2034
|
-
class="tsd-accordion-summary"
|
|
2035
|
-
data-key="section-Properties"
|
|
2036
|
-
>
|
|
2037
|
-
<svg
|
|
2038
|
-
width="20"
|
|
2039
|
-
height="20"
|
|
2040
|
-
viewBox="0 0 24 24"
|
|
2041
|
-
fill="none"
|
|
2042
|
-
aria-hidden="true"
|
|
2043
|
-
>
|
|
2044
|
-
<use href="../assets/icons.svg#icon-chevronDown"></use></svg
|
|
2045
|
-
>Properties
|
|
2046
|
-
</summary>
|
|
2047
|
-
<div>
|
|
2048
|
-
<a href="#state"
|
|
2049
|
-
><svg
|
|
2050
|
-
class="tsd-kind-icon"
|
|
2051
|
-
viewBox="0 0 24 24"
|
|
2052
|
-
aria-label="Property"
|
|
2053
|
-
>
|
|
2054
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
2055
|
-
><span>$$state</span></a
|
|
2056
|
-
><a href="#abstract"
|
|
2057
|
-
><svg
|
|
2058
|
-
class="tsd-kind-icon"
|
|
2059
|
-
viewBox="0 0 24 24"
|
|
2060
|
-
aria-label="Property"
|
|
2061
|
-
>
|
|
2062
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
2063
|
-
><span>abstract</span></a
|
|
2064
|
-
><a href="#data"
|
|
2065
|
-
><svg
|
|
2066
|
-
class="tsd-kind-icon"
|
|
2067
|
-
viewBox="0 0 24 24"
|
|
2068
|
-
aria-label="Property"
|
|
2069
|
-
>
|
|
2070
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
2071
|
-
><span>data</span></a
|
|
2072
|
-
><a href="#dynamic"
|
|
2073
|
-
><svg
|
|
2074
|
-
class="tsd-kind-icon"
|
|
2075
|
-
viewBox="0 0 24 24"
|
|
2076
|
-
aria-label="Property"
|
|
2077
|
-
>
|
|
2078
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
2079
|
-
><span>dynamic</span></a
|
|
2080
|
-
><a href="#lazyload"
|
|
2081
|
-
><svg
|
|
2082
|
-
class="tsd-kind-icon"
|
|
2083
|
-
viewBox="0 0 24 24"
|
|
2084
|
-
aria-label="Property"
|
|
2085
|
-
>
|
|
2086
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
2087
|
-
><span>lazy<wbr />Load</span></a
|
|
2088
|
-
>
|
|
2089
|
-
<ul>
|
|
2090
|
-
<li>
|
|
2091
|
-
<ul>
|
|
2092
|
-
<li>
|
|
2093
|
-
<ul>
|
|
2094
|
-
<li>
|
|
2095
|
-
<ul>
|
|
2096
|
-
<li>
|
|
2097
|
-
<a href="#lifecycle"
|
|
2098
|
-
><span>Lifecycle</span></a
|
|
2099
|
-
>
|
|
2100
|
-
</li>
|
|
2101
|
-
</ul>
|
|
2102
|
-
</li>
|
|
2103
|
-
<li>
|
|
2104
|
-
<a
|
|
2105
|
-
href="#lazy-loading-state-definitions-future-states"
|
|
2106
|
-
><span
|
|
2107
|
-
>Lazy loading state definitions (<wbr />Future
|
|
2108
|
-
<wbr />States)</span
|
|
2109
|
-
></a
|
|
2110
|
-
>
|
|
2111
|
-
</li>
|
|
2112
|
-
<li>
|
|
2113
|
-
<a href="#additional-resources"
|
|
2114
|
-
><span>Additional resources</span></a
|
|
2115
|
-
>
|
|
2116
|
-
</li>
|
|
2117
|
-
<li>
|
|
2118
|
-
<ul>
|
|
2119
|
-
<li>
|
|
2120
|
-
<a href="#example-statesjs"
|
|
2121
|
-
><span>Example: states.js</span></a
|
|
2122
|
-
>
|
|
2123
|
-
</li>
|
|
2124
|
-
<li>
|
|
2125
|
-
<a href="#example-lazystatesjs"
|
|
2126
|
-
><span>Example: lazy.states.js</span></a
|
|
2127
|
-
>
|
|
2128
|
-
</li>
|
|
2129
|
-
</ul>
|
|
2130
|
-
</li>
|
|
2131
|
-
</ul>
|
|
2132
|
-
</li>
|
|
2133
|
-
</ul>
|
|
2134
|
-
</li>
|
|
2135
|
-
</ul>
|
|
2136
|
-
<a href="#name"
|
|
2137
|
-
><svg
|
|
2138
|
-
class="tsd-kind-icon"
|
|
2139
|
-
viewBox="0 0 24 24"
|
|
2140
|
-
aria-label="Property"
|
|
2141
|
-
>
|
|
2142
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
2143
|
-
><span>name</span></a
|
|
2144
|
-
><a href="#onenter"
|
|
2145
|
-
><svg
|
|
2146
|
-
class="tsd-kind-icon"
|
|
2147
|
-
viewBox="0 0 24 24"
|
|
2148
|
-
aria-label="Property"
|
|
2149
|
-
>
|
|
2150
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
2151
|
-
><span>on<wbr />Enter</span></a
|
|
2152
|
-
>
|
|
2153
|
-
<ul>
|
|
2154
|
-
<li>
|
|
2155
|
-
<ul>
|
|
2156
|
-
<li>
|
|
2157
|
-
<ul>
|
|
2158
|
-
<li>
|
|
2159
|
-
<a href="#example-1"><span>Example:</span></a>
|
|
2160
|
-
</li>
|
|
2161
|
-
<li>
|
|
2162
|
-
<ul>
|
|
2163
|
-
<li>
|
|
2164
|
-
<a href="#example-2"
|
|
2165
|
-
><span>Example:`</span></a
|
|
2166
|
-
>
|
|
2167
|
-
</li>
|
|
2168
|
-
</ul>
|
|
2169
|
-
</li>
|
|
2170
|
-
</ul>
|
|
2171
|
-
</li>
|
|
2172
|
-
</ul>
|
|
2173
|
-
</li>
|
|
2174
|
-
</ul>
|
|
2175
|
-
<a href="#onexit"
|
|
2176
|
-
><svg
|
|
2177
|
-
class="tsd-kind-icon"
|
|
2178
|
-
viewBox="0 0 24 24"
|
|
2179
|
-
aria-label="Property"
|
|
2180
|
-
>
|
|
2181
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
2182
|
-
><span>on<wbr />Exit</span></a
|
|
2183
|
-
>
|
|
2184
|
-
<ul>
|
|
2185
|
-
<li>
|
|
2186
|
-
<ul>
|
|
2187
|
-
<li>
|
|
2188
|
-
<ul>
|
|
2189
|
-
<li>
|
|
2190
|
-
<a href="#example-3"><span>Example:</span></a>
|
|
2191
|
-
</li>
|
|
2192
|
-
<li>
|
|
2193
|
-
<ul>
|
|
2194
|
-
<li>
|
|
2195
|
-
<a href="#example-4"
|
|
2196
|
-
><span>Example:`</span></a
|
|
2197
|
-
>
|
|
2198
|
-
</li>
|
|
2199
|
-
</ul>
|
|
2200
|
-
</li>
|
|
2201
|
-
</ul>
|
|
2202
|
-
</li>
|
|
2203
|
-
</ul>
|
|
2204
|
-
</li>
|
|
2205
|
-
</ul>
|
|
2206
|
-
<a href="#onretain"
|
|
2207
|
-
><svg
|
|
2208
|
-
class="tsd-kind-icon"
|
|
2209
|
-
viewBox="0 0 24 24"
|
|
2210
|
-
aria-label="Property"
|
|
2211
|
-
>
|
|
2212
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
2213
|
-
><span>on<wbr />Retain</span></a
|
|
2214
|
-
>
|
|
2215
|
-
<ul>
|
|
2216
|
-
<li>
|
|
2217
|
-
<ul>
|
|
2218
|
-
<li>
|
|
2219
|
-
<ul>
|
|
2220
|
-
<li>
|
|
2221
|
-
<ul>
|
|
2222
|
-
<li>
|
|
2223
|
-
<a href="#example-5"><span>Example:</span></a>
|
|
2224
|
-
</li>
|
|
2225
|
-
<li>
|
|
2226
|
-
<a href="#example-6"
|
|
2227
|
-
><span>Example:`</span></a
|
|
2228
|
-
>
|
|
2229
|
-
</li>
|
|
2230
|
-
</ul>
|
|
2231
|
-
</li>
|
|
2232
|
-
</ul>
|
|
2233
|
-
</li>
|
|
2234
|
-
</ul>
|
|
2235
|
-
</li>
|
|
2236
|
-
</ul>
|
|
2237
|
-
<a href="#params"
|
|
2238
|
-
><svg
|
|
2239
|
-
class="tsd-kind-icon"
|
|
2240
|
-
viewBox="0 0 24 24"
|
|
2241
|
-
aria-label="Property"
|
|
2242
|
-
>
|
|
2243
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
2244
|
-
><span>params</span></a
|
|
2245
|
-
>
|
|
2246
|
-
<ul>
|
|
2247
|
-
<li>
|
|
2248
|
-
<ul>
|
|
2249
|
-
<li>
|
|
2250
|
-
<ul>
|
|
2251
|
-
<li>
|
|
2252
|
-
<ul>
|
|
2253
|
-
<li>
|
|
2254
|
-
<a href="#example-7"><span>Example:</span></a>
|
|
2255
|
-
</li>
|
|
2256
|
-
</ul>
|
|
2257
|
-
</li>
|
|
2258
|
-
</ul>
|
|
2259
|
-
</li>
|
|
2260
|
-
</ul>
|
|
2261
|
-
</li>
|
|
2262
|
-
</ul>
|
|
2263
|
-
<a href="#parent"
|
|
2264
|
-
><svg
|
|
2265
|
-
class="tsd-kind-icon"
|
|
2266
|
-
viewBox="0 0 24 24"
|
|
2267
|
-
aria-label="Property"
|
|
2268
|
-
>
|
|
2269
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
2270
|
-
><span>parent</span></a
|
|
2271
|
-
>
|
|
2272
|
-
<ul>
|
|
2273
|
-
<li>
|
|
2274
|
-
<ul>
|
|
2275
|
-
<li>
|
|
2276
|
-
<ul>
|
|
2277
|
-
<li>
|
|
2278
|
-
<ul>
|
|
2279
|
-
<li>
|
|
2280
|
-
<a href="#example-8"><span>Example:</span></a>
|
|
2281
|
-
</li>
|
|
2282
|
-
</ul>
|
|
2283
|
-
</li>
|
|
2284
|
-
</ul>
|
|
2285
|
-
</li>
|
|
2286
|
-
</ul>
|
|
2287
|
-
</li>
|
|
2288
|
-
</ul>
|
|
2289
|
-
<a href="#redirectto"
|
|
2290
|
-
><svg
|
|
2291
|
-
class="tsd-kind-icon"
|
|
2292
|
-
viewBox="0 0 24 24"
|
|
2293
|
-
aria-label="Property"
|
|
2294
|
-
>
|
|
2295
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
2296
|
-
><span>redirect<wbr />To</span></a
|
|
2297
|
-
>
|
|
2298
|
-
<ul>
|
|
2299
|
-
<li>
|
|
2300
|
-
<ul>
|
|
2301
|
-
<li>
|
|
2302
|
-
<ul>
|
|
2303
|
-
<li>
|
|
2304
|
-
<ul>
|
|
2305
|
-
<li>
|
|
2306
|
-
<a href="#example-9"><span>Example:</span></a>
|
|
2307
|
-
</li>
|
|
2308
|
-
</ul>
|
|
2309
|
-
</li>
|
|
2310
|
-
</ul>
|
|
2311
|
-
</li>
|
|
2312
|
-
</ul>
|
|
2313
|
-
</li>
|
|
2314
|
-
</ul>
|
|
2315
|
-
<a href="#reloadonsearch"
|
|
2316
|
-
><svg
|
|
2317
|
-
class="tsd-kind-icon"
|
|
2318
|
-
viewBox="0 0 24 24"
|
|
2319
|
-
aria-label="Property"
|
|
2320
|
-
>
|
|
2321
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
2322
|
-
><span>reload<wbr />On<wbr />Search</span></a
|
|
2323
|
-
><a href="#resolve"
|
|
2324
|
-
><svg
|
|
2325
|
-
class="tsd-kind-icon"
|
|
2326
|
-
viewBox="0 0 24 24"
|
|
2327
|
-
aria-label="Property"
|
|
2328
|
-
>
|
|
2329
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
2330
|
-
><span>resolve</span></a
|
|
2331
|
-
>
|
|
2332
|
-
<ul>
|
|
2333
|
-
<li>
|
|
2334
|
-
<ul>
|
|
2335
|
-
<li>
|
|
2336
|
-
<ul>
|
|
2337
|
-
<li>
|
|
2338
|
-
<a href="#as-an-array"
|
|
2339
|
-
><span>As an array</span></a
|
|
2340
|
-
>
|
|
2341
|
-
</li>
|
|
2342
|
-
<li>
|
|
2343
|
-
<ul>
|
|
2344
|
-
<li>
|
|
2345
|
-
<a href="#example-10"
|
|
2346
|
-
><span>Example:</span></a
|
|
2347
|
-
>
|
|
2348
|
-
</li>
|
|
2349
|
-
<li>
|
|
2350
|
-
<a href="#example-11"
|
|
2351
|
-
><span>Example:</span></a
|
|
2352
|
-
>
|
|
2353
|
-
</li>
|
|
2354
|
-
</ul>
|
|
2355
|
-
</li>
|
|
2356
|
-
<li>
|
|
2357
|
-
<a href="#as-an-object"
|
|
2358
|
-
><span>As an object</span></a
|
|
2359
|
-
>
|
|
2360
|
-
</li>
|
|
2361
|
-
<li>
|
|
2362
|
-
<ul>
|
|
2363
|
-
<li>
|
|
2364
|
-
<a href="#angularts-example"
|
|
2365
|
-
><span
|
|
2366
|
-
>Angular<wbr />TS <wbr />Example:</span
|
|
2367
|
-
></a
|
|
2368
|
-
>
|
|
2369
|
-
</li>
|
|
2370
|
-
</ul>
|
|
2371
|
-
</li>
|
|
2372
|
-
<li>
|
|
2373
|
-
<a href="#lifecycle-1"><span>Lifecycle</span></a>
|
|
2374
|
-
</li>
|
|
2375
|
-
<li>
|
|
2376
|
-
<a href="#injecting-resolves-into-other-things"
|
|
2377
|
-
><span
|
|
2378
|
-
>Injecting resolves into other things</span
|
|
2379
|
-
></a
|
|
2380
|
-
>
|
|
2381
|
-
</li>
|
|
2382
|
-
<li>
|
|
2383
|
-
<a href="#injecting-other-things-into-resolves"
|
|
2384
|
-
><span
|
|
2385
|
-
>Injecting other things into resolves</span
|
|
2386
|
-
></a
|
|
2387
|
-
>
|
|
2388
|
-
</li>
|
|
2389
|
-
<li>
|
|
2390
|
-
<ul>
|
|
2391
|
-
<li>
|
|
2392
|
-
<a href="#special-injectable-tokens"
|
|
2393
|
-
><span>Special injectable tokens</span></a
|
|
2394
|
-
>
|
|
2395
|
-
</li>
|
|
2396
|
-
<li>
|
|
2397
|
-
<a href="#example-12"
|
|
2398
|
-
><span>Example:</span></a
|
|
2399
|
-
>
|
|
2400
|
-
</li>
|
|
2401
|
-
</ul>
|
|
2402
|
-
</li>
|
|
2403
|
-
</ul>
|
|
2404
|
-
</li>
|
|
2405
|
-
</ul>
|
|
2406
|
-
</li>
|
|
2407
|
-
</ul>
|
|
2408
|
-
<a href="#resolvepolicy"
|
|
2409
|
-
><svg
|
|
2410
|
-
class="tsd-kind-icon"
|
|
2411
|
-
viewBox="0 0 24 24"
|
|
2412
|
-
aria-label="Property"
|
|
2413
|
-
>
|
|
2414
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
2415
|
-
><span>resolve<wbr />Policy</span></a
|
|
2416
|
-
><a href="#url"
|
|
2417
|
-
><svg
|
|
2418
|
-
class="tsd-kind-icon"
|
|
2419
|
-
viewBox="0 0 24 24"
|
|
2420
|
-
aria-label="Property"
|
|
2421
|
-
>
|
|
2422
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
2423
|
-
><span>url</span></a
|
|
2424
|
-
><a href="#views"
|
|
2425
|
-
><svg
|
|
2426
|
-
class="tsd-kind-icon"
|
|
2427
|
-
viewBox="0 0 24 24"
|
|
2428
|
-
aria-label="Property"
|
|
2429
|
-
>
|
|
2430
|
-
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
2431
|
-
><span>views</span></a
|
|
2432
|
-
>
|
|
2433
|
-
<ul>
|
|
2434
|
-
<li>
|
|
2435
|
-
<a href="#example-13"><span>Example:</span></a>
|
|
2436
|
-
</li>
|
|
2437
|
-
</ul>
|
|
2438
|
-
</div>
|
|
2439
|
-
</details>
|
|
2440
|
-
</div>
|
|
2441
|
-
</details>
|
|
2442
|
-
</div>
|
|
2443
|
-
<div class="site-menu">
|
|
2444
|
-
<nav class="tsd-navigation">
|
|
2445
|
-
<a href="../modules.html">AngularTS</a>
|
|
2446
|
-
<ul class="tsd-small-nested-navigation" id="tsd-nav-container">
|
|
2447
|
-
<li>Loading...</li>
|
|
2448
|
-
</ul>
|
|
2449
|
-
</nav>
|
|
2450
|
-
</div>
|
|
2451
|
-
</div>
|
|
2452
|
-
</div>
|
|
2453
|
-
<footer>
|
|
2454
|
-
<p class="tsd-generator">
|
|
2455
|
-
Generated using
|
|
2456
|
-
<a href="https://typedoc.org/" target="_blank">TypeDoc</a>
|
|
2457
|
-
</p>
|
|
2458
|
-
</footer>
|
|
2459
|
-
<div class="overlay"></div>
|
|
2460
|
-
</body>
|
|
2461
|
-
</html>
|