@angular-wave/angular.ts 0.1.0 → 0.1.2
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/README.md +2 -10
- package/dist/angular-ts.esm.js +2 -2
- package/dist/angular-ts.umd.js +2 -2
- package/package.json +3 -3
- package/src/animations/animate-css.js +6 -2
- package/src/animations/animate.js +1 -17
- package/src/core/compile/attributes.js +0 -20
- package/src/core/compile/compile.js +0 -5
- package/src/core/controller/controller.js +1 -9
- package/src/core/exception-handler.js +0 -3
- package/src/core/interpolate/interpolate.js +0 -14
- package/src/core/q/q.js +0 -5
- package/src/core/sce/sce.js +0 -400
- package/src/core/sce/sce.md +300 -0
- package/src/core/scope/scope.js +1 -75
- package/src/core/url-utils/url-utils.js +0 -47
- package/src/core/url-utils/url-utils.md +46 -0
- package/src/directive/aria/aria.js +1 -6
- package/src/directive/class/class.js +0 -16
- package/src/directive/form/form.js +0 -41
- package/src/directive/model/model.js +3 -49
- package/src/directive/ref/ref.js +0 -5
- package/src/directive/script/script.js +0 -15
- package/src/directive/script/script.md +11 -0
- package/src/directive/select/select.js +0 -13
- package/src/directive/transclude/transclude.js +0 -5
- package/src/directive/validators/validators.js +0 -15
- package/src/router/directives/view-directive.js +0 -11
- package/src/services/browser.js +0 -8
- package/src/services/cache-factory.js +0 -42
- package/src/services/http/http.js +0 -17
- package/src/services/http-backend/http-backend.js +0 -4
- package/src/services/log.js +4 -9
- package/src/types.js +9 -17
- package/typedoc/.nojekyll +1 -0
- package/typedoc/assets/highlight.css +162 -0
- package/typedoc/assets/icons.js +18 -0
- package/typedoc/assets/icons.svg +1 -0
- package/typedoc/assets/main.js +60 -0
- package/typedoc/assets/navigation.js +1 -0
- package/typedoc/assets/search.js +1 -0
- package/typedoc/assets/style.css +1448 -0
- package/typedoc/classes/animations_animate.AnimateProvider.html +71 -0
- package/typedoc/classes/animations_animate_cache.__AnimateCacheProvider.html +3 -0
- package/typedoc/classes/animations_animate_css._AnimateCssProvider.html +3 -0
- package/typedoc/classes/animations_animate_css_driver.__AnimateCssDriverProvider.html +4 -0
- package/typedoc/classes/animations_animate_js.__AnimateJsProvider.html +4 -0
- package/typedoc/classes/animations_animate_js_driver.__AnimateJsDriverProvider.html +4 -0
- package/typedoc/classes/animations_animate_queue.__AnimateQueueProvider.html +5 -0
- package/typedoc/classes/animations_animate_runner.AnimateAsyncRunFactoryProvider.html +3 -0
- package/typedoc/classes/animations_animate_runner.AnimateRunner.html +22 -0
- package/typedoc/classes/animations_animate_runner.AnimateRunnerFactoryProvider.html +3 -0
- package/typedoc/classes/animations_animation.__AnimationProvider.html +4 -0
- package/typedoc/classes/animations_raf_scheduler.RafSchedulerProvider.html +6 -0
- package/typedoc/classes/core_compile_attributes.Attributes.html +51 -0
- package/typedoc/classes/core_compile_compile._CompileProvider.html +98 -0
- package/typedoc/classes/core_controller_controller._ControllerProvider.html +18 -0
- package/typedoc/classes/core_di_internal_injector.InjectorService.html +20 -0
- package/typedoc/classes/core_di_internal_injector.ProviderInjector.html +21 -0
- package/typedoc/classes/core_di_ng_module.NgModule.html +34 -0
- package/typedoc/classes/core_exception_handler._ExceptionHandlerProvider.html +3 -0
- package/typedoc/classes/core_filter_filter._FilterProvider.html +5 -0
- package/typedoc/classes/core_interpolate_interpolate._InterpolateProvider.html +25 -0
- package/typedoc/classes/core_interval_interval._IntervalProvider.html +3 -0
- package/typedoc/classes/core_interval_interval_factory.__IntervalFactoryProvider.html +3 -0
- package/typedoc/classes/core_location_location.Location.html +94 -0
- package/typedoc/classes/core_location_location.LocationHashbangUrl.html +101 -0
- package/typedoc/classes/core_location_location.LocationHtml5Url.html +99 -0
- package/typedoc/classes/core_location_location._LocationProvider.html +27 -0
- package/typedoc/classes/core_parser_ast.AST.html +93 -0
- package/typedoc/classes/core_parser_interpreter.ASTInterpreter.html +144 -0
- package/typedoc/classes/core_parser_lexer.Lexer.html +64 -0
- package/typedoc/classes/core_parser_parse._ParseProvider.html +19 -0
- package/typedoc/classes/core_parser_parser.Parser.html +8 -0
- package/typedoc/classes/core_pubsub_pubsub.PubSub.html +71 -0
- package/typedoc/classes/core_q_q._QProvider.html +9 -0
- package/typedoc/classes/core_q_q.__QProvider.html +4 -0
- package/typedoc/classes/core_sanitize_sanitize_uri.SanitizeUriProvider.html +32 -0
- package/typedoc/classes/core_sce_sce._SceDelegateProvider.html +67 -0
- package/typedoc/classes/core_sce_sce._SceProvider.html +7 -0
- package/typedoc/classes/core_scope_scope.Scope.html +350 -0
- package/typedoc/classes/core_scope_scope._RootScopeProvider.html +10 -0
- package/typedoc/classes/core_task_tracker_factory.TaskTracker.html +29 -0
- package/typedoc/classes/core_task_tracker_factory.__TaskTrackerFactoryProvider.html +3 -0
- package/typedoc/classes/core_timeout_timeout._TimeoutProvider.html +3 -0
- package/typedoc/classes/directive_aria_aria.AriaProvider.html +14 -0
- package/typedoc/classes/directive_form_form.FormController.html +138 -0
- package/typedoc/classes/directive_model_model.NgModelController.html +235 -0
- package/typedoc/classes/loader.Angular.html +68 -0
- package/typedoc/classes/router_common_glob.Glob.html +10 -0
- package/typedoc/classes/router_common_queue.Queue.html +14 -0
- package/typedoc/classes/router_common_trace.Trace.html +42 -0
- package/typedoc/classes/router_globals.UIRouterGlobals.html +12 -0
- package/typedoc/classes/router_params_param.Param.html +34 -0
- package/typedoc/classes/router_params_param_factory.ParamFactory.html +6 -0
- package/typedoc/classes/router_params_param_type.ParamType.html +35 -0
- package/typedoc/classes/router_params_param_types.ParamTypes.html +28 -0
- package/typedoc/classes/router_params_state_params.StateParams.html +8 -0
- package/typedoc/classes/router_path_path_node.PathNode.html +30 -0
- package/typedoc/classes/router_path_path_utils.PathUtils.html +47 -0
- package/typedoc/classes/router_resolve_resolvable.Resolvable.html +29 -0
- package/typedoc/classes/router_resolve_resolve_context.ResolveContext.html +46 -0
- package/typedoc/classes/router_state_state_builder.StateBuilder.html +20 -0
- package/typedoc/classes/router_state_state_matcher.StateMatcher.html +6 -0
- package/typedoc/classes/router_state_state_object.StateObject.html +45 -0
- package/typedoc/classes/router_state_state_queue_manager.StateQueueManager.html +11 -0
- package/typedoc/classes/router_state_state_registry.StateRegistry.html +60 -0
- package/typedoc/classes/router_state_state_service.StateService.html +232 -0
- package/typedoc/classes/router_state_target_state.TargetState.html +72 -0
- package/typedoc/classes/router_state_views.Ng1ViewConfig.html +22 -0
- package/typedoc/classes/router_template_factory.TemplateFactory.html +56 -0
- package/typedoc/classes/router_transition_hook_builder.HookBuilder.html +32 -0
- package/typedoc/classes/router_transition_hook_registry.RegisteredHook.html +41 -0
- package/typedoc/classes/router_transition_reject_factory.Rejection.html +27 -0
- package/typedoc/classes/router_transition_transition.Transition.html +189 -0
- package/typedoc/classes/router_transition_transition_event_type.TransitionEventType.html +16 -0
- package/typedoc/classes/router_transition_transition_hook.TransitionHook.html +51 -0
- package/typedoc/classes/router_transition_transition_service.TransitionService.html +47 -0
- package/typedoc/classes/router_url_url_config.UrlConfigProvider.html +57 -0
- package/typedoc/classes/router_url_url_matcher.UrlMatcher.html +120 -0
- package/typedoc/classes/router_url_url_rule.BaseUrlRule.html +11 -0
- package/typedoc/classes/router_url_url_rule.UrlRuleFactory.html +55 -0
- package/typedoc/classes/router_url_url_rules.UrlRules.html +150 -0
- package/typedoc/classes/router_url_url_service.UrlService.html +138 -0
- package/typedoc/classes/router_view_scroll._ViewScrollProvider.html +4 -0
- package/typedoc/classes/router_view_view.ViewService.html +109 -0
- package/typedoc/classes/services_anchor_scroll.AnchorScrollProvider.html +4 -0
- package/typedoc/classes/services_browser.Browser.html +65 -0
- package/typedoc/classes/services_browser.BrowserProvider.html +9 -0
- package/typedoc/classes/services_cache_factory.CacheFactoryProvider.html +3 -0
- package/typedoc/classes/services_cache_factory.TemplateCacheProvider.html +53 -0
- package/typedoc/classes/services_http_backend_http_backend._HttpBackendProvider.html +11 -0
- package/typedoc/classes/services_http_http._HttpParamSerializerJQLikeProvider.html +31 -0
- package/typedoc/classes/services_http_http._HttpParamSerializerProvider.html +21 -0
- package/typedoc/classes/services_http_http._HttpProvider.html +19 -0
- package/typedoc/classes/services_log._LogProvider.html +9 -0
- package/typedoc/classes/services_template_request.TemplateRequestProvider.html +31 -0
- package/typedoc/classes/shared_jqlite_jqlite.JQLite.html +62 -0
- package/typedoc/enums/core_parser_ast_type.ASTType.html +18 -0
- package/typedoc/enums/core_scope_scope.ScopePhase.html +4 -0
- package/typedoc/enums/router_transition_reject_factory.RejectType.html +23 -0
- package/typedoc/functions/animations_animate.domInsert.html +1 -0
- package/typedoc/functions/animations_animate_cache.animateCache.html +29 -0
- package/typedoc/functions/animations_animate_children_directive.__AnimateChildrenDirective.html +2 -0
- package/typedoc/functions/animations_animate_swap.ngAnimateSwapDirective.html +2 -0
- package/typedoc/functions/animations_shared.applyAnimationClassesFactory.html +1 -0
- package/typedoc/functions/animations_shared.applyAnimationFromStyles.html +1 -0
- package/typedoc/functions/animations_shared.applyAnimationStyles.html +1 -0
- package/typedoc/functions/animations_shared.applyAnimationToStyles.html +1 -0
- package/typedoc/functions/animations_shared.applyGeneratedPreparationClasses.html +1 -0
- package/typedoc/functions/animations_shared.applyInlineStyle.html +1 -0
- package/typedoc/functions/animations_shared.assertArg.html +1 -0
- package/typedoc/functions/animations_shared.blockKeyframeAnimations.html +1 -0
- package/typedoc/functions/animations_shared.clearGeneratedClasses.html +1 -0
- package/typedoc/functions/animations_shared.concatWithSpace.html +1 -0
- package/typedoc/functions/animations_shared.extractElementNode.html +1 -0
- package/typedoc/functions/animations_shared.getDomNode.html +1 -0
- package/typedoc/functions/animations_shared.mergeAnimationDetails.html +1 -0
- package/typedoc/functions/animations_shared.mergeClasses.html +1 -0
- package/typedoc/functions/animations_shared.ngMinErr.html +1 -0
- package/typedoc/functions/animations_shared.packageStyles.html +1 -0
- package/typedoc/functions/animations_shared.pendClasses.html +1 -0
- package/typedoc/functions/animations_shared.prepareAnimationOptions.html +1 -0
- package/typedoc/functions/animations_shared.removeFromArray.html +1 -0
- package/typedoc/functions/animations_shared.resolveElementClasses.html +1 -0
- package/typedoc/functions/animations_shared.stripCommentsFromElement.html +1 -0
- package/typedoc/functions/core_controller_controller.identifierForController.html +1 -0
- package/typedoc/functions/core_di_injector.annotate.html +1 -0
- package/typedoc/functions/core_di_injector.createInjector.html +1 -0
- package/typedoc/functions/core_exception_handler.errorHandler-1.html +3 -0
- package/typedoc/functions/core_location_location.serverBase.html +1 -0
- package/typedoc/functions/core_location_location.stripBaseUrl.html +3 -0
- package/typedoc/functions/core_location_location.stripFile.html +1 -0
- package/typedoc/functions/core_location_location.stripHash.html +1 -0
- package/typedoc/functions/core_parser_interpreter.isAssignable.html +1 -0
- package/typedoc/functions/core_parser_parse.constantWatchDelegate.html +1 -0
- package/typedoc/functions/core_q_q.markQExceptionHandled.html +1 -0
- package/typedoc/functions/core_sce_sce.adjustMatcher.html +1 -0
- package/typedoc/functions/core_sce_sce.escapeForRegexp.html +1 -0
- package/typedoc/functions/core_scope_scope.countChildScopes.html +4 -0
- package/typedoc/functions/core_scope_scope.countWatchers.html +5 -0
- package/typedoc/functions/core_url_utils_url_utils.getBaseUrl.html +2 -0
- package/typedoc/functions/core_url_utils_url_utils.urlIsAllowedOriginFactory.html +8 -0
- package/typedoc/functions/core_url_utils_url_utils.urlIsSameOrigin.html +6 -0
- package/typedoc/functions/core_url_utils_url_utils.urlIsSameOriginAsBaseUrl.html +7 -0
- package/typedoc/functions/core_url_utils_url_utils.urlResolve.html +1 -0
- package/typedoc/functions/core_url_utils_url_utils.urlsAreSameOrigin.html +9 -0
- package/typedoc/functions/directive_aria_aria.ngCheckedAriaDirective.html +2 -0
- package/typedoc/functions/directive_aria_aria.ngClickAriaDirective.html +2 -0
- package/typedoc/functions/directive_aria_aria.ngDblclickAriaDirective.html +2 -0
- package/typedoc/functions/directive_aria_aria.ngDisabledAriaDirective.html +2 -0
- package/typedoc/functions/directive_aria_aria.ngHideAriaDirective.html +2 -0
- package/typedoc/functions/directive_aria_aria.ngMessagesAriaDirective.html +1 -0
- package/typedoc/functions/directive_aria_aria.ngModelAriaDirective.html +2 -0
- package/typedoc/functions/directive_aria_aria.ngReadonlyAriaDirective.html +2 -0
- package/typedoc/functions/directive_aria_aria.ngRequiredAriaDirective.html +2 -0
- package/typedoc/functions/directive_aria_aria.ngShowAriaDirective.html +2 -0
- package/typedoc/functions/directive_aria_aria.ngValueAriaDirective.html +2 -0
- package/typedoc/functions/directive_bind_bind.ngBindDirective.html +1 -0
- package/typedoc/functions/directive_bind_bind.ngBindTemplateDirective.html +1 -0
- package/typedoc/functions/directive_change_change.ngChangeDirective.html +1 -0
- package/typedoc/functions/directive_cloak_cloak.ngCloakDirective.html +1 -0
- package/typedoc/functions/directive_events_events.createEventDirective.html +1 -0
- package/typedoc/functions/directive_form_form.addSetValidityMethod.html +1 -0
- package/typedoc/functions/directive_form_form.isObjectEmpty.html +1 -0
- package/typedoc/functions/directive_form_form.setupValidity.html +1 -0
- package/typedoc/functions/directive_if_if.ngIfDirective.html +3 -0
- package/typedoc/functions/directive_init_init.ngInitDirective.html +1 -0
- package/typedoc/functions/directive_input_input.badInputChecker.html +1 -0
- package/typedoc/functions/directive_input_input.countDecimals.html +1 -0
- package/typedoc/functions/directive_input_input.createDateInputType.html +1 -0
- package/typedoc/functions/directive_input_input.createDateParser.html +1 -0
- package/typedoc/functions/directive_input_input.hiddenInputBrowserCacheDirective.html +1 -0
- package/typedoc/functions/directive_input_input.inputDirective.html +2 -0
- package/typedoc/functions/directive_input_input.isNumberInteger.html +1 -0
- package/typedoc/functions/directive_input_input.isValidForStep.html +1 -0
- package/typedoc/functions/directive_input_input.ngValueDirective.html +1 -0
- package/typedoc/functions/directive_input_input.numberFormatterParser.html +1 -0
- package/typedoc/functions/directive_input_input.numberInputType.html +1 -0
- package/typedoc/functions/directive_input_input.rangeInputType.html +1 -0
- package/typedoc/functions/directive_input_input.weekParser.html +1 -0
- package/typedoc/functions/directive_list_list.ngListDirective.html +1 -0
- package/typedoc/functions/directive_messages_messages.ngMessageDefaultDirective.html +2 -0
- package/typedoc/functions/directive_messages_messages.ngMessageDirective.html +2 -0
- package/typedoc/functions/directive_messages_messages.ngMessageExpDirective.html +2 -0
- package/typedoc/functions/directive_messages_messages.ngMessagesDirective.html +2 -0
- package/typedoc/functions/directive_messages_messages.ngMessagesIncludeDirective.html +2 -0
- package/typedoc/functions/directive_model_model.ngModelDirective.html +2 -0
- package/typedoc/functions/directive_model_model.ngModelMinErr.html +1 -0
- package/typedoc/functions/directive_model_options_model_options.ngModelOptionsDirective.html +1 -0
- package/typedoc/functions/directive_non_bindable_non_bindable.ngNonBindableDirective.html +1 -0
- package/typedoc/functions/directive_select_select.optionDirective.html +2 -0
- package/typedoc/functions/directive_select_select.selectDirective.html +1 -0
- package/typedoc/functions/directive_show_hide_show_hide.ngHideDirective.html +2 -0
- package/typedoc/functions/directive_show_hide_show_hide.ngShowDirective.html +2 -0
- package/typedoc/functions/directive_style_style.ngStyleDirective.html +1 -0
- package/typedoc/functions/directive_switch_switch.ngSwitchDefaultDirective.html +1 -0
- package/typedoc/functions/directive_switch_switch.ngSwitchWhenDirective.html +1 -0
- package/typedoc/functions/filters_filter.filterFilter.html +1 -0
- package/typedoc/functions/filters_filters.formatNumber.html +7 -0
- package/typedoc/functions/filters_filters.jsonFilter.html +1 -0
- package/typedoc/functions/filters_limit_to.limitToFilter.html +1 -0
- package/typedoc/functions/filters_order_by.orderByFilter.html +2 -0
- package/typedoc/functions/public.publishExternalAPI.html +3 -0
- package/typedoc/functions/router.initRouter.html +1 -0
- package/typedoc/functions/router_directives_state_directives._StateRefActiveDirective.html +2 -0
- package/typedoc/functions/router_directives_state_directives._StateRefDirective.html +2 -0
- package/typedoc/functions/router_directives_state_directives._StateRefDynamicDirective.html +2 -0
- package/typedoc/functions/router_directives_view_directive._ViewDirectiveFill.html +2 -0
- package/typedoc/functions/router_hooks_core_resolvables.registerAddCoreResolvables.html +1 -0
- package/typedoc/functions/router_hooks_core_resolvables.treeChangesCleanup.html +1 -0
- package/typedoc/functions/router_hooks_ignored_transition.registerIgnoredTransitionHook.html +1 -0
- package/typedoc/functions/router_hooks_invalid_transition.registerInvalidTransitionHook.html +1 -0
- package/typedoc/functions/router_hooks_lazy_load.lazyLoadState.html +5 -0
- package/typedoc/functions/router_hooks_lazy_load.registerLazyLoadHook.html +31 -0
- package/typedoc/functions/router_hooks_on_enter_exit_retain.registerOnEnterHook.html +1 -0
- package/typedoc/functions/router_hooks_on_enter_exit_retain.registerOnExitHook.html +1 -0
- package/typedoc/functions/router_hooks_on_enter_exit_retain.registerOnRetainHook.html +1 -0
- package/typedoc/functions/router_hooks_redirect_to.registerRedirectToHook.html +1 -0
- package/typedoc/functions/router_hooks_resolve.registerEagerResolvePath.html +1 -0
- package/typedoc/functions/router_hooks_resolve.registerLazyResolveState.html +1 -0
- package/typedoc/functions/router_hooks_resolve.registerResolveRemaining.html +1 -0
- package/typedoc/functions/router_hooks_update_globals.registerUpdateGlobalState.html +1 -0
- package/typedoc/functions/router_hooks_url.registerUpdateUrl.html +1 -0
- package/typedoc/functions/router_hooks_views.registerActivateViews.html +1 -0
- package/typedoc/functions/router_hooks_views.registerLoadEnteringViews.html +1 -0
- package/typedoc/functions/router_services.runBlock.html +2 -0
- package/typedoc/functions/router_services.watchDigests.html +2 -0
- package/typedoc/functions/router_state_filters._IncludedByStateFilter.html +7 -0
- package/typedoc/functions/router_state_filters._IsStateFilter.html +7 -0
- package/typedoc/functions/router_state_state_builder.resolvablesBuilder.html +30 -0
- package/typedoc/functions/router_state_state_registry.getLocals.html +1 -0
- package/typedoc/functions/router_state_views.getNg1ViewConfigFactory.html +1 -0
- package/typedoc/functions/router_state_views.ng1ViewsBuilder.html +6 -0
- package/typedoc/functions/router_transition_hook_registry.makeEvent.html +2 -0
- package/typedoc/functions/router_transition_hook_registry.matchState.html +9 -0
- package/typedoc/functions/services_browser.trimEmptyHash.html +2 -0
- package/typedoc/functions/services_cookie_reader.getCookies.html +2 -0
- package/typedoc/functions/services_http_backend_http_backend.createHttpBackend.html +1 -0
- package/typedoc/functions/services_http_http.defaultHttpResponseTransform.html +1 -0
- package/typedoc/functions/shared_common._removeFrom.html +1 -0
- package/typedoc/functions/shared_common.allTrueR.html +5 -0
- package/typedoc/functions/shared_common.ancestors.html +5 -0
- package/typedoc/functions/shared_common.anyTrueR.html +8 -0
- package/typedoc/functions/shared_common.applyPairs.html +7 -0
- package/typedoc/functions/shared_common.arrayTuples.html +6 -0
- package/typedoc/functions/shared_common.assertFn.html +1 -0
- package/typedoc/functions/shared_common.assertMap.html +5 -0
- package/typedoc/functions/shared_common.assertPredicate.html +5 -0
- package/typedoc/functions/shared_common.copy.html +2 -0
- package/typedoc/functions/shared_common.createProxyFunctions.html +17 -0
- package/typedoc/functions/shared_common.defaults.html +4 -0
- package/typedoc/functions/shared_common.deregAll.html +2 -0
- package/typedoc/functions/shared_common.equals.html +1 -0
- package/typedoc/functions/shared_common.filter.html +2 -0
- package/typedoc/functions/shared_common.find.html +2 -0
- package/typedoc/functions/shared_common.flatten.html +5 -0
- package/typedoc/functions/shared_common.flattenR.html +5 -0
- package/typedoc/functions/shared_common.forEach.html +2 -0
- package/typedoc/functions/shared_common.inherit.html +8 -0
- package/typedoc/functions/shared_common.map.html +2 -0
- package/typedoc/functions/shared_common.mapObj.html +3 -0
- package/typedoc/functions/shared_common.mergeR.html +2 -0
- package/typedoc/functions/shared_common.omit.html +7 -0
- package/typedoc/functions/shared_common.pairs.html +5 -0
- package/typedoc/functions/shared_common.pick.html +7 -0
- package/typedoc/functions/shared_common.pluck.html +2 -0
- package/typedoc/functions/shared_common.pushR.html +3 -0
- package/typedoc/functions/shared_common.silenceUncaughtInPromise.html +1 -0
- package/typedoc/functions/shared_common.silentRejection.html +1 -0
- package/typedoc/functions/shared_common.tail.html +2 -0
- package/typedoc/functions/shared_common.uniqR.html +2 -0
- package/typedoc/functions/shared_common.unnest.html +5 -0
- package/typedoc/functions/shared_common.unnestR.html +5 -0
- package/typedoc/functions/shared_hof.all.html +4 -0
- package/typedoc/functions/shared_hof.and.html +3 -0
- package/typedoc/functions/shared_hof.any.html +1 -0
- package/typedoc/functions/shared_hof.compose.html +5 -0
- package/typedoc/functions/shared_hof.curry.html +11 -0
- package/typedoc/functions/shared_hof.eq.html +2 -0
- package/typedoc/functions/shared_hof.invoke.html +1 -0
- package/typedoc/functions/shared_hof.is.html +2 -0
- package/typedoc/functions/shared_hof.or.html +3 -0
- package/typedoc/functions/shared_hof.parse.html +7 -0
- package/typedoc/functions/shared_hof.pattern.html +15 -0
- package/typedoc/functions/shared_hof.pipe.html +5 -0
- package/typedoc/functions/shared_hof.prop.html +5 -0
- package/typedoc/functions/shared_hof.val.html +2 -0
- package/typedoc/functions/shared_jqlite_jqlite.buildFragment.html +1 -0
- package/typedoc/functions/shared_jqlite_jqlite.cleanElementData.html +3 -0
- package/typedoc/functions/shared_jqlite_jqlite.dealoc.html +1 -0
- package/typedoc/functions/shared_jqlite_jqlite.getBlockNodes.html +4 -0
- package/typedoc/functions/shared_jqlite_jqlite.getBooleanAttrName.html +1 -0
- package/typedoc/functions/shared_jqlite_jqlite.getOrSetCacheData.html +8 -0
- package/typedoc/functions/shared_jqlite_jqlite.isTextNode.html +3 -0
- package/typedoc/functions/shared_jqlite_jqlite.kebabToCamel.html +3 -0
- package/typedoc/functions/shared_jqlite_jqlite.removeElement.html +1 -0
- package/typedoc/functions/shared_jqlite_jqlite.removeElementData.html +5 -0
- package/typedoc/functions/shared_jqlite_jqlite.snakeToCamel.html +2 -0
- package/typedoc/functions/shared_jqlite_jqlite.startingTag.html +2 -0
- package/typedoc/functions/shared_predicates.isInjectable.html +4 -0
- package/typedoc/functions/shared_predicates.isNull.html +1 -0
- package/typedoc/functions/shared_predicates.isNullOrUndefined.html +1 -0
- package/typedoc/functions/shared_predicates.isPromise.html +3 -0
- package/typedoc/functions/shared_strings.beforeAfterSubstr.html +2 -0
- package/typedoc/functions/shared_strings.fnToString.html +1 -0
- package/typedoc/functions/shared_strings.functionToString.html +1 -0
- package/typedoc/functions/shared_strings.joinNeighborsR.html +7 -0
- package/typedoc/functions/shared_strings.kebobString.html +1 -0
- package/typedoc/functions/shared_strings.maxLength.html +6 -0
- package/typedoc/functions/shared_strings.padString.html +6 -0
- package/typedoc/functions/shared_strings.splitEqual.html +1 -0
- package/typedoc/functions/shared_strings.splitHash.html +1 -0
- package/typedoc/functions/shared_strings.splitOnDelim.html +5 -0
- package/typedoc/functions/shared_strings.splitQuery.html +1 -0
- package/typedoc/functions/shared_strings.stringify.html +1 -0
- package/typedoc/functions/shared_strings.stripLastPathElement.html +1 -0
- package/typedoc/functions/shared_strings.trimHashVal.html +1 -0
- package/typedoc/functions/shared_utils.addDateMinutes.html +1 -0
- package/typedoc/functions/shared_utils.arrayRemove.html +7 -0
- package/typedoc/functions/shared_utils.assert.html +2 -0
- package/typedoc/functions/shared_utils.assertArg.html +2 -0
- package/typedoc/functions/shared_utils.assertArgFn.html +1 -0
- package/typedoc/functions/shared_utils.assertNotHasOwnProperty.html +4 -0
- package/typedoc/functions/shared_utils.baseExtend.html +1 -0
- package/typedoc/functions/shared_utils.bind.html +8 -0
- package/typedoc/functions/shared_utils.concat.html +1 -0
- package/typedoc/functions/shared_utils.convertTimezoneToLocal.html +1 -0
- package/typedoc/functions/shared_utils.csp.html +1 -0
- package/typedoc/functions/shared_utils.directiveNormalize.html +3 -0
- package/typedoc/functions/shared_utils.encodeUriQuery.html +10 -0
- package/typedoc/functions/shared_utils.encodeUriSegment.html +10 -0
- package/typedoc/functions/shared_utils.equals.html +22 -0
- package/typedoc/functions/shared_utils.errorHandlingConfig-1.html +1 -0
- package/typedoc/functions/shared_utils.extend.html +9 -0
- package/typedoc/functions/shared_utils.forEach.html +18 -0
- package/typedoc/functions/shared_utils.forEachSorted.html +1 -0
- package/typedoc/functions/shared_utils.fromJson.html +4 -0
- package/typedoc/functions/shared_utils.getNgAttribute.html +1 -0
- package/typedoc/functions/shared_utils.getNodeName.html +3 -0
- package/typedoc/functions/shared_utils.getter.html +5 -0
- package/typedoc/functions/shared_utils.hasAnimate.html +2 -0
- package/typedoc/functions/shared_utils.hasCustomToString.html +1 -0
- package/typedoc/functions/shared_utils.hashKey.html +9 -0
- package/typedoc/functions/shared_utils.includes.html +1 -0
- package/typedoc/functions/shared_utils.inherit.html +1 -0
- package/typedoc/functions/shared_utils.isArrayBuffer.html +1 -0
- package/typedoc/functions/shared_utils.isArrayLike.html +3 -0
- package/typedoc/functions/shared_utils.isBlankObject.html +3 -0
- package/typedoc/functions/shared_utils.isBlob.html +1 -0
- package/typedoc/functions/shared_utils.isBoolean.html +1 -0
- package/typedoc/functions/shared_utils.isDate.html +1 -0
- package/typedoc/functions/shared_utils.isDefined.html +4 -0
- package/typedoc/functions/shared_utils.isElement.html +1 -0
- package/typedoc/functions/shared_utils.isError.html +5 -0
- package/typedoc/functions/shared_utils.isFile.html +1 -0
- package/typedoc/functions/shared_utils.isFormData.html +1 -0
- package/typedoc/functions/shared_utils.isFunction.html +4 -0
- package/typedoc/functions/shared_utils.isNumber.html +8 -0
- package/typedoc/functions/shared_utils.isNumberNaN.html +1 -0
- package/typedoc/functions/shared_utils.isObject.html +5 -0
- package/typedoc/functions/shared_utils.isPromiseLike.html +1 -0
- package/typedoc/functions/shared_utils.isRegExp.html +4 -0
- package/typedoc/functions/shared_utils.isScope.html +1 -0
- package/typedoc/functions/shared_utils.isString.html +4 -0
- package/typedoc/functions/shared_utils.isTypedArray.html +1 -0
- package/typedoc/functions/shared_utils.isUndefined.html +4 -0
- package/typedoc/functions/shared_utils.isValidObjectMaxDepth.html +1 -0
- package/typedoc/functions/shared_utils.isWindow.html +4 -0
- package/typedoc/functions/shared_utils.lowercase.html +4 -0
- package/typedoc/functions/shared_utils.merge.html +22 -0
- package/typedoc/functions/shared_utils.mergeClasses.html +1 -0
- package/typedoc/functions/shared_utils.minErr.html +19 -0
- package/typedoc/functions/shared_utils.nextUid.html +6 -0
- package/typedoc/functions/shared_utils.parseKeyValue.html +2 -0
- package/typedoc/functions/shared_utils.reverseParams.html +2 -0
- package/typedoc/functions/shared_utils.setHashKey.html +4 -0
- package/typedoc/functions/shared_utils.shallowCopy.html +3 -0
- package/typedoc/functions/shared_utils.simpleCompare.html +1 -0
- package/typedoc/functions/shared_utils.sliceArgs.html +1 -0
- package/typedoc/functions/shared_utils.snakeCase.html +1 -0
- package/typedoc/functions/shared_utils.stringify.html +1 -0
- package/typedoc/functions/shared_utils.timezoneToOffset.html +1 -0
- package/typedoc/functions/shared_utils.toDebugString.html +1 -0
- package/typedoc/functions/shared_utils.toInt.html +1 -0
- package/typedoc/functions/shared_utils.toJson.html +14 -0
- package/typedoc/functions/shared_utils.toKeyValue.html +1 -0
- package/typedoc/functions/shared_utils.trim.html +1 -0
- package/typedoc/functions/shared_utils.tryDecodeURIComponent.html +3 -0
- package/typedoc/functions/shared_utils.uppercase.html +4 -0
- package/typedoc/functions/shared_utils.valueFn.html +1 -0
- package/typedoc/hierarchy.html +1 -0
- package/typedoc/index.html +92 -0
- package/typedoc/interfaces/animations_animate.AnimationOptions.html +9 -0
- package/typedoc/interfaces/animations_raf_scheduler.RafSchedulerObject.html +3 -0
- package/typedoc/interfaces/core_cache_cache.ExpandoStore.html +4 -0
- package/typedoc/interfaces/core_compile_attributes.AttributeLike.html +2 -0
- package/typedoc/interfaces/core_location_location.DefaultPorts.html +4 -0
- package/typedoc/interfaces/core_location_location.Html5Mode.html +4 -0
- package/typedoc/interfaces/core_parser_ast.ASTNode.html +46 -0
- package/typedoc/interfaces/core_parser_lexer.LexerOptions.html +5 -0
- package/typedoc/interfaces/core_parser_lexer.Token.html +13 -0
- package/typedoc/interfaces/core_parser_parse.CompiledExpressionProps.html +11 -0
- package/typedoc/interfaces/core_parser_parser.ParsedAST.html +5 -0
- package/typedoc/interfaces/core_q_q.Deferred.html +9 -0
- package/typedoc/interfaces/core_q_q.QPromise.html +12 -0
- package/typedoc/interfaces/core_scope_scope.AsyncQueueTask.html +4 -0
- package/typedoc/interfaces/directive_model_options_model_options.ModelOptionsConfig.html +10 -0
- package/typedoc/interfaces/loader.AngularBootstrapConfig.html +3 -0
- package/typedoc/interfaces/router_template_factory.BindingTuple.html +3 -0
- package/typedoc/interfaces/services_anchor_scroll.AnchorScrollObject.html +2 -0
- package/typedoc/interfaces/services_log.LogService.html +11 -0
- package/typedoc/interfaces/shared_utils.ErrorHandlingConfig.html +8 -0
- package/typedoc/interfaces/types.Annotated.html +2 -0
- package/typedoc/interfaces/types.ChangesObject.html +8 -0
- package/typedoc/interfaces/types.Controller.html +32 -0
- package/typedoc/interfaces/types.Directive.html +35 -0
- package/typedoc/interfaces/types.DirectivePrePost.html +5 -0
- package/typedoc/interfaces/types.FormController.html +39 -0
- package/typedoc/interfaces/types.Module.html +30 -0
- package/typedoc/interfaces/types.NgModelController.html +59 -0
- package/typedoc/interfaces/types.NgModelOptions.html +15 -0
- package/typedoc/interfaces/types.OnChangesObject.html +5 -0
- package/typedoc/interfaces/types.ServiceProviderClass.html +3 -0
- package/typedoc/interfaces/types.TranscludeFunctionObject.html +5 -0
- package/typedoc/media/CONTRIBUTING.md +246 -0
- package/typedoc/media/DEVELOPERS.md +488 -0
- package/typedoc/modules/animations_animate.html +5 -0
- package/typedoc/modules/animations_animate_cache.html +3 -0
- package/typedoc/modules/animations_animate_children_directive.html +2 -0
- package/typedoc/modules/animations_animate_css.html +2 -0
- package/typedoc/modules/animations_animate_css_driver.html +2 -0
- package/typedoc/modules/animations_animate_js.html +2 -0
- package/typedoc/modules/animations_animate_js_driver.html +2 -0
- package/typedoc/modules/animations_animate_queue.html +2 -0
- package/typedoc/modules/animations_animate_runner.html +4 -0
- package/typedoc/modules/animations_animate_swap.html +2 -0
- package/typedoc/modules/animations_animation.html +2 -0
- package/typedoc/modules/animations_raf_scheduler.html +5 -0
- package/typedoc/modules/animations_shared.html +45 -0
- package/typedoc/modules/core_cache_cache.html +4 -0
- package/typedoc/modules/core_compile_attributes.html +3 -0
- package/typedoc/modules/core_compile_compile.html +3 -0
- package/typedoc/modules/core_controller_controller.html +3 -0
- package/typedoc/modules/core_di_injector.html +4 -0
- package/typedoc/modules/core_di_internal_injector.html +3 -0
- package/typedoc/modules/core_di_ng_module.html +8 -0
- package/typedoc/modules/core_exception_handler.html +5 -0
- package/typedoc/modules/core_filter_filter.html +2 -0
- package/typedoc/modules/core_interpolate_interpolate.html +2 -0
- package/typedoc/modules/core_interval_interval.html +3 -0
- package/typedoc/modules/core_interval_interval_factory.html +2 -0
- package/typedoc/modules/core_location_location.html +11 -0
- package/typedoc/modules/core_parser_ast.html +4 -0
- package/typedoc/modules/core_parser_ast_type.html +2 -0
- package/typedoc/modules/core_parser_interpreter.html +6 -0
- package/typedoc/modules/core_parser_lexer.html +4 -0
- package/typedoc/modules/core_parser_parse.html +7 -0
- package/typedoc/modules/core_parser_parser.html +3 -0
- package/typedoc/modules/core_pubsub_pubsub.html +3 -0
- package/typedoc/modules/core_q_q.html +6 -0
- package/typedoc/modules/core_sanitize_sanitize_uri.html +2 -0
- package/typedoc/modules/core_sce_sce.html +6 -0
- package/typedoc/modules/core_scope_scope.html +14 -0
- package/typedoc/modules/core_task_tracker_factory.html +3 -0
- package/typedoc/modules/core_timeout_timeout.html +2 -0
- package/typedoc/modules/core_url_utils_url_utils.html +8 -0
- package/typedoc/modules/directive_aria_aria.html +13 -0
- package/typedoc/modules/directive_attrs_attrs.html +3 -0
- package/typedoc/modules/directive_bind_bind.html +4 -0
- package/typedoc/modules/directive_change_change.html +2 -0
- package/typedoc/modules/directive_class_class.html +4 -0
- package/typedoc/modules/directive_cloak_cloak.html +2 -0
- package/typedoc/modules/directive_controller_controller.html +2 -0
- package/typedoc/modules/directive_events_events.html +3 -0
- package/typedoc/modules/directive_form_form.html +9 -0
- package/typedoc/modules/directive_if_if.html +2 -0
- package/typedoc/modules/directive_include_include.html +3 -0
- package/typedoc/modules/directive_init_init.html +2 -0
- package/typedoc/modules/directive_input_input.html +18 -0
- package/typedoc/modules/directive_list_list.html +2 -0
- package/typedoc/modules/directive_messages_messages.html +6 -0
- package/typedoc/modules/directive_model_model.html +4 -0
- package/typedoc/modules/directive_model_options_model_options.html +4 -0
- package/typedoc/modules/directive_non_bindable_non_bindable.html +2 -0
- package/typedoc/modules/directive_options_options.html +2 -0
- package/typedoc/modules/directive_ref_ref.html +2 -0
- package/typedoc/modules/directive_repeat_repeat.html +2 -0
- package/typedoc/modules/directive_script_script.html +2 -0
- package/typedoc/modules/directive_select_select.html +3 -0
- package/typedoc/modules/directive_show_hide_show_hide.html +3 -0
- package/typedoc/modules/directive_style_style.html +2 -0
- package/typedoc/modules/directive_switch_switch.html +4 -0
- package/typedoc/modules/directive_transclude_transclude.html +2 -0
- package/typedoc/modules/directive_validators_validators.html +5 -0
- package/typedoc/modules/filters_filter.html +2 -0
- package/typedoc/modules/filters_filters.html +3 -0
- package/typedoc/modules/filters_limit_to.html +2 -0
- package/typedoc/modules/filters_order_by.html +2 -0
- package/typedoc/modules/index.html +2 -0
- package/typedoc/modules/loader.html +3 -0
- package/typedoc/modules/public.html +3 -0
- package/typedoc/modules/router.html +2 -0
- package/typedoc/modules/router_common_coreservices.html +2 -0
- package/typedoc/modules/router_common_glob.html +103 -0
- package/typedoc/modules/router_common_queue.html +2 -0
- package/typedoc/modules/router_common_trace.html +20 -0
- package/typedoc/modules/router_directives_state_directives.html +4 -0
- package/typedoc/modules/router_directives_view_directive.html +3 -0
- package/typedoc/modules/router_globals.html +2 -0
- package/typedoc/modules/router_hooks_core_resolvables.html +3 -0
- package/typedoc/modules/router_hooks_ignored_transition.html +2 -0
- package/typedoc/modules/router_hooks_invalid_transition.html +2 -0
- package/typedoc/modules/router_hooks_lazy_load.html +3 -0
- package/typedoc/modules/router_hooks_on_enter_exit_retain.html +4 -0
- package/typedoc/modules/router_hooks_redirect_to.html +2 -0
- package/typedoc/modules/router_hooks_resolve.html +5 -0
- package/typedoc/modules/router_hooks_update_globals.html +2 -0
- package/typedoc/modules/router_hooks_url.html +2 -0
- package/typedoc/modules/router_hooks_views.html +3 -0
- package/typedoc/modules/router_params_param.html +3 -0
- package/typedoc/modules/router_params_param_factory.html +2 -0
- package/typedoc/modules/router_params_param_type.html +2 -0
- package/typedoc/modules/router_params_param_types.html +2 -0
- package/typedoc/modules/router_params_state_params.html +2 -0
- package/typedoc/modules/router_path_path_node.html +2 -0
- package/typedoc/modules/router_path_path_utils.html +2 -0
- package/typedoc/modules/router_resolve_resolvable.html +3 -0
- package/typedoc/modules/router_resolve_resolve_context.html +4 -0
- package/typedoc/modules/router_services.html +3 -0
- package/typedoc/modules/router_state_filters.html +3 -0
- package/typedoc/modules/router_state_state_builder.html +3 -0
- package/typedoc/modules/router_state_state_matcher.html +2 -0
- package/typedoc/modules/router_state_state_object.html +2 -0
- package/typedoc/modules/router_state_state_queue_manager.html +2 -0
- package/typedoc/modules/router_state_state_registry.html +3 -0
- package/typedoc/modules/router_state_state_service.html +2 -0
- package/typedoc/modules/router_state_target_state.html +2 -0
- package/typedoc/modules/router_state_views.html +4 -0
- package/typedoc/modules/router_template_factory.html +3 -0
- package/typedoc/modules/router_transition_hook_builder.html +2 -0
- package/typedoc/modules/router_transition_hook_registry.html +4 -0
- package/typedoc/modules/router_transition_interface.html +3 -0
- package/typedoc/modules/router_transition_reject_factory.html +3 -0
- package/typedoc/modules/router_transition_transition.html +2 -0
- package/typedoc/modules/router_transition_transition_event_type.html +2 -0
- package/typedoc/modules/router_transition_transition_hook.html +2 -0
- package/typedoc/modules/router_transition_transition_service.html +3 -0
- package/typedoc/modules/router_url_url_config.html +2 -0
- package/typedoc/modules/router_url_url_matcher.html +2 -0
- package/typedoc/modules/router_url_url_rule.html +3 -0
- package/typedoc/modules/router_url_url_rules.html +2 -0
- package/typedoc/modules/router_url_url_service.html +2 -0
- package/typedoc/modules/router_view_scroll.html +2 -0
- package/typedoc/modules/router_view_view.html +2 -0
- package/typedoc/modules/services_anchor_scroll.html +5 -0
- package/typedoc/modules/services_browser.html +5 -0
- package/typedoc/modules/services_cache_factory.html +3 -0
- package/typedoc/modules/services_cookie_reader.html +2 -0
- package/typedoc/modules/services_http_backend_http_backend.html +3 -0
- package/typedoc/modules/services_http_http.html +5 -0
- package/typedoc/modules/services_log.html +6 -0
- package/typedoc/modules/services_template_request.html +2 -0
- package/typedoc/modules/shared_common.html +39 -0
- package/typedoc/modules/shared_constants.html +12 -0
- package/typedoc/modules/shared_hof.html +18 -0
- package/typedoc/modules/shared_jqlite_jqlite.html +15 -0
- package/typedoc/modules/shared_predicates.html +8 -0
- package/typedoc/modules/shared_strings.html +18 -0
- package/typedoc/modules/shared_utils.html +76 -0
- package/typedoc/modules/types.html +37 -0
- package/typedoc/types/animations_animate.AnimationMethod.html +1 -0
- package/typedoc/types/animations_raf_scheduler.RafScheduler.html +1 -0
- package/typedoc/types/animations_raf_scheduler.RafSchedulerFunction.html +1 -0
- package/typedoc/types/core_compile_compile.CompositeLinkFn.html +1 -0
- package/typedoc/types/core_exception_handler.ErrorHandler.html +3 -0
- package/typedoc/types/core_exception_handler.ExceptionHandlerProvider.html +1 -0
- package/typedoc/types/core_interval_interval.IntervalId.html +2 -0
- package/typedoc/types/core_parser_interpreter.DecoratedASTNode.html +1 -0
- package/typedoc/types/core_parser_parse.CompiledExpression.html +1 -0
- package/typedoc/types/core_parser_parse.CompiledExpressionFunction.html +1 -0
- package/typedoc/types/core_parser_parse.ParseService.html +1 -0
- package/typedoc/types/core_scope_scope.TTL.html +2 -0
- package/typedoc/types/core_scope_scope.WatchExpression.html +1 -0
- package/typedoc/types/core_scope_scope.WatchListener.html +2 -0
- package/typedoc/types/core_url_utils_url_utils.HttpProtocol.html +1 -0
- package/typedoc/types/services_anchor_scroll.AnchorScrollFunction.html +1 -0
- package/typedoc/types/services_anchor_scroll.AnchorScrollService.html +1 -0
- package/typedoc/types/services_browser.UrlChangeListener.html +1 -0
- package/typedoc/types/services_log.LogCall.html +1 -0
- package/typedoc/types/types.AnnotatedFunction.html +1 -0
- package/typedoc/types/types.AsyncModelValidators.html +1 -0
- package/typedoc/types/types.Attributes.html +1 -0
- package/typedoc/types/types.BootstrapConfig.html +1 -0
- package/typedoc/types/types.CloneAttachFunction.html +2 -0
- package/typedoc/types/types.ComponentOptions.html +1 -0
- package/typedoc/types/types.ControllerConstructor.html +1 -0
- package/typedoc/types/types.DirectiveCompileFn.html +3 -0
- package/typedoc/types/types.DirectiveController.html +1 -0
- package/typedoc/types/types.DirectiveFactory.html +1 -0
- package/typedoc/types/types.DirectiveLinkFn.html +1 -0
- package/typedoc/types/types.FilterFactory.html +1 -0
- package/typedoc/types/types.FilterFunction.html +1 -0
- package/typedoc/types/types.Injectable.html +1 -0
- package/typedoc/types/types.ModelValidators.html +1 -0
- package/typedoc/types/types.ServiceProviderFactory.html +1 -0
- package/typedoc/types/types.TAttributes.html +1 -0
- package/typedoc/types/types.TController.html +1 -0
- package/typedoc/types/types.TElement.html +1 -0
- package/typedoc/types/types.TScope.html +1 -0
- package/typedoc/types/types.TranscludeFunction.html +1 -0
- package/typedoc/types/types.transcludeWithScope.html +1 -0
- package/typedoc/types/types.transcludeWithoutScope.html +1 -0
- package/typedoc/variables/animations_shared.ACTIVE_CLASS_SUFFIX.html +1 -0
- package/typedoc/variables/animations_shared.ADD_CLASS_SUFFIX.html +1 -0
- package/typedoc/variables/animations_shared.ANIMATIONEND_EVENT.html +1 -0
- package/typedoc/variables/animations_shared.ANIMATION_DELAY_PROP.html +1 -0
- package/typedoc/variables/animations_shared.ANIMATION_DURATION_PROP.html +1 -0
- package/typedoc/variables/animations_shared.ANIMATION_ITERATION_COUNT_KEY.html +1 -0
- package/typedoc/variables/animations_shared.ANIMATION_PLAYSTATE_KEY.html +1 -0
- package/typedoc/variables/animations_shared.ANIMATION_PROP.html +1 -0
- package/typedoc/variables/animations_shared.CSS_PREFIX.html +1 -0
- package/typedoc/variables/animations_shared.DELAY_KEY.html +1 -0
- package/typedoc/variables/animations_shared.DURATION_KEY.html +1 -0
- package/typedoc/variables/animations_shared.EVENT_CLASS_PREFIX.html +1 -0
- package/typedoc/variables/animations_shared.NG_ANIMATE_CHILDREN_DATA.html +1 -0
- package/typedoc/variables/animations_shared.NG_ANIMATE_CLASSNAME.html +1 -0
- package/typedoc/variables/animations_shared.PREPARE_CLASS_SUFFIX.html +1 -0
- package/typedoc/variables/animations_shared.PROPERTY_KEY.html +1 -0
- package/typedoc/variables/animations_shared.REMOVE_CLASS_SUFFIX.html +1 -0
- package/typedoc/variables/animations_shared.SAFE_FAST_FORWARD_DURATION_VALUE.html +1 -0
- package/typedoc/variables/animations_shared.TIMING_KEY.html +1 -0
- package/typedoc/variables/animations_shared.TRANSITIONEND_EVENT.html +1 -0
- package/typedoc/variables/animations_shared.TRANSITION_DELAY_PROP.html +1 -0
- package/typedoc/variables/animations_shared.TRANSITION_DURATION_PROP.html +1 -0
- package/typedoc/variables/animations_shared.TRANSITION_PROP.html +1 -0
- package/typedoc/variables/core_cache_cache.CACHE.html +5 -0
- package/typedoc/variables/core_cache_cache.EXPANDO.html +1 -0
- package/typedoc/variables/core_di_injector.path.html +1 -0
- package/typedoc/variables/core_di_ng_module.ANIMATION_LITERAL.html +1 -0
- package/typedoc/variables/core_di_ng_module.COMPILE_LITERAL.html +1 -0
- package/typedoc/variables/core_di_ng_module.CONTROLLER_LITERAL.html +1 -0
- package/typedoc/variables/core_di_ng_module.FILTER_LITERAL.html +1 -0
- package/typedoc/variables/core_di_ng_module.INJECTOR_LITERAL.html +1 -0
- package/typedoc/variables/core_di_ng_module.PROVIDE_LITERAL.html +1 -0
- package/typedoc/variables/core_parser_ast.literals.html +1 -0
- package/typedoc/variables/core_parser_interpreter.PURITY_ABSOLUTE.html +1 -0
- package/typedoc/variables/core_parser_interpreter.PURITY_RELATIVE.html +1 -0
- package/typedoc/variables/core_pubsub_pubsub.EventBus.html +1 -0
- package/typedoc/variables/core_sce_sce.SCE_CONTEXTS.html +1 -0
- package/typedoc/variables/core_scope_scope.TTL-1.html +4 -0
- package/typedoc/variables/core_scope_scope.__applyAsyncQueue.html +1 -0
- package/typedoc/variables/core_scope_scope.__asyncQueue.html +1 -0
- package/typedoc/variables/core_scope_scope.__postDigestQueue.html +1 -0
- package/typedoc/variables/directive_attrs_attrs.REGEX_STRING_REGEXP.html +1 -0
- package/typedoc/variables/directive_attrs_attrs.ngAttributeAliasDirectives.html +1 -0
- package/typedoc/variables/directive_bind_bind.ngBindHtmlDirective.html +2 -0
- package/typedoc/variables/directive_class_class.ngClassDirective.html +58 -0
- package/typedoc/variables/directive_class_class.ngClassEvenDirective.html +27 -0
- package/typedoc/variables/directive_class_class.ngClassOddDirective.html +27 -0
- package/typedoc/variables/directive_controller_controller.ngControllerDirective.html +1 -0
- package/typedoc/variables/directive_events_events.ngEventDirectives.html +1 -0
- package/typedoc/variables/directive_form_form.PENDING_CLASS.html +1 -0
- package/typedoc/variables/directive_form_form.formDirective.html +1 -0
- package/typedoc/variables/directive_form_form.ngFormDirective.html +1 -0
- package/typedoc/variables/directive_form_form.nullFormCtrl.html +1 -0
- package/typedoc/variables/directive_include_include.ngIncludeDirective.html +1 -0
- package/typedoc/variables/directive_include_include.ngIncludeFillContentDirective.html +1 -0
- package/typedoc/variables/directive_input_input.EMAIL_REGEXP.html +1 -0
- package/typedoc/variables/directive_input_input.ISO_DATE_REGEXP.html +1 -0
- package/typedoc/variables/directive_input_input.URL_REGEXP.html +1 -0
- package/typedoc/variables/directive_input_input.VALIDITY_STATE_PROPERTY.html +1 -0
- package/typedoc/variables/directive_model_options_model_options.defaultModelOptions.html +1 -0
- package/typedoc/variables/directive_options_options.ngOptionsDirective.html +1 -0
- package/typedoc/variables/directive_ref_ref.ngRefDirective.html +1 -0
- package/typedoc/variables/directive_repeat_repeat.ngRepeatDirective.html +1 -0
- package/typedoc/variables/directive_script_script.scriptDirective.html +1 -0
- package/typedoc/variables/directive_switch_switch.ngSwitchDirective.html +1 -0
- package/typedoc/variables/directive_transclude_transclude.ngTranscludeDirective.html +1 -0
- package/typedoc/variables/directive_validators_validators.maxlengthDirective.html +22 -0
- package/typedoc/variables/directive_validators_validators.minlengthDirective.html +22 -0
- package/typedoc/variables/directive_validators_validators.patternDirective.html +36 -0
- package/typedoc/variables/directive_validators_validators.requiredDirective.html +16 -0
- package/typedoc/variables/index.angular.html +1 -0
- package/typedoc/variables/public.VERSION.html +1 -0
- package/typedoc/variables/router_common_coreservices.services.html +1 -0
- package/typedoc/variables/router_common_trace.Category.html +7 -0
- package/typedoc/variables/router_common_trace.trace-1.html +5 -0
- package/typedoc/variables/router_directives_view_directive.ngView.html +59 -0
- package/typedoc/variables/router_hooks_resolve.RESOLVE_HOOK_PRIORITY.html +1 -0
- package/typedoc/variables/router_params_param.DefType.html +1 -0
- package/typedoc/variables/router_resolve_resolvable.defaultResolvePolicy.html +1 -0
- package/typedoc/variables/router_resolve_resolve_context.NATIVE_INJECTOR_TOKEN.html +1 -0
- package/typedoc/variables/router_resolve_resolve_context.resolvePolicies.html +1 -0
- package/typedoc/variables/router_transition_interface.TransitionHookPhase.html +2 -0
- package/typedoc/variables/router_transition_interface.TransitionHookScope.html +2 -0
- package/typedoc/variables/router_transition_transition_service.defaultTransOpts.html +5 -0
- package/typedoc/variables/services_log.LogService-1.html +1 -0
- package/typedoc/variables/shared_common.fromJson.html +1 -0
- package/typedoc/variables/shared_common.pushTo.html +2 -0
- package/typedoc/variables/shared_common.removeFrom.html +3 -0
- package/typedoc/variables/shared_common.toJson.html +1 -0
- package/typedoc/variables/shared_constants.ALIASED_ATTR.html +1 -0
- package/typedoc/variables/shared_constants.DIRTY_CLASS.html +1 -0
- package/typedoc/variables/shared_constants.EMPTY_CLASS.html +1 -0
- package/typedoc/variables/shared_constants.INVALID_CLASS.html +1 -0
- package/typedoc/variables/shared_constants.NOT_EMPTY_CLASS.html +1 -0
- package/typedoc/variables/shared_constants.PREFIX_REGEXP.html +1 -0
- package/typedoc/variables/shared_constants.PRISTINE_CLASS.html +1 -0
- package/typedoc/variables/shared_constants.SPECIAL_CHARS_REGEXP.html +1 -0
- package/typedoc/variables/shared_constants.TOUCHED_CLASS.html +1 -0
- package/typedoc/variables/shared_constants.UNTOUCHED_CLASS.html +1 -0
- package/typedoc/variables/shared_constants.VALID_CLASS.html +1 -0
- package/typedoc/variables/shared_hof.propEq.html +6 -0
- package/typedoc/variables/shared_jqlite_jqlite.BOOLEAN_ATTR.html +1 -0
- package/typedoc/variables/shared_strings.hostRegex.html +1 -0
- package/typedoc/variables/shared_utils.ngAttrPrefixes.html +1 -0
- package/typedoc.json +6 -0
- package/types/animations/animate.d.ts +1 -17
- package/types/core/compile/attributes.d.ts +0 -20
- package/types/core/compile/compile.d.ts +0 -5
- package/types/core/controller/controller.d.ts +0 -4
- package/types/core/exception-handler.d.ts +1 -1
- package/types/core/interpolate/interpolate.d.ts +0 -6
- package/types/core/q/q.d.ts +0 -5
- package/types/core/sce/sce.d.ts +0 -265
- package/types/core/scope/scope.d.ts +1 -75
- package/types/core/task-tracker-factory.d.ts +3 -3
- package/types/core/url-utils/url-utils.d.ts +1 -47
- package/types/directive/aria/aria.d.ts +0 -6
- package/types/directive/class/class.d.ts +0 -16
- package/types/directive/form/form.d.ts +0 -24
- package/types/directive/model/model.d.ts +5 -49
- package/types/directive/script/script.d.ts +0 -15
- package/types/directive/validators/validators.d.ts +0 -15
- package/types/services/browser.d.ts +0 -8
- package/types/services/cache-factory.d.ts +0 -8
- package/types/services/http/http.d.ts +0 -13
- package/types/services/http-backend/http-backend.d.ts +0 -4
- package/types/services/log.d.ts +29 -36
- package/types/types.d.ts +130 -3
|
@@ -0,0 +1,350 @@
|
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Scope | @angular-wave/angular.ts</title><meta name="description" content="Documentation for @angular-wave/angular.ts"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@angular-wave/angular.ts</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../index.html">@angular-wave/angular.ts</a></li><li><a href="../modules/core_scope_scope.html">core/scope/scope</a></li><li><a href="core_scope_scope.Scope.html">Scope</a></li></ul><h1>Class Scope</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>DESIGN NOTES</p>
|
|
2
|
+
<p>The design decisions behind the scope are heavily favored for speed and memory consumption.</p>
|
|
3
|
+
<p>The typical use of scope is to watch the expressions, which most of the time return the same
|
|
4
|
+
value as last time so we optimize the operation.</p>
|
|
5
|
+
<p>Closures construction is expensive in terms of speed as well as memory:</p>
|
|
6
|
+
<ul>
|
|
7
|
+
<li>No closures, instead use prototypical inheritance for API</li>
|
|
8
|
+
<li>Internal state needs to be stored on scope directly, which means that private state is
|
|
9
|
+
exposed as $$____ properties</li>
|
|
10
|
+
</ul>
|
|
11
|
+
<p>Loop operations are optimized by using while(count--) { ... }</p>
|
|
12
|
+
<ul>
|
|
13
|
+
<li>This means that in order to keep the same order of execution as addition we have to add
|
|
14
|
+
items to the array at the beginning (unshift) instead of at the end (push)</li>
|
|
15
|
+
</ul>
|
|
16
|
+
<p>Child scopes are created and removed often</p>
|
|
17
|
+
<ul>
|
|
18
|
+
<li>Using an array would be slow since inserts in the middle are expensive; so we use linked lists</li>
|
|
19
|
+
</ul>
|
|
20
|
+
<p>There are fewer watches than observers. This is why you don't want the observer to be implemented
|
|
21
|
+
in the same way as watch. Watch requires return of the initialization function which is expensive
|
|
22
|
+
to construct.</p>
|
|
23
|
+
</div><div class="tsd-comment tsd-typography"></div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L144">core/scope/scope.js:144</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="core_scope_scope.Scope.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
|
|
24
|
+
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="core_scope_scope.Scope.html#__ChildScope" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>$$<wbr/>Child<wbr/>Scope</span></a>
|
|
25
|
+
<a href="core_scope_scope.Scope.html#__childHead" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>$$child<wbr/>Head</span></a>
|
|
26
|
+
<a href="core_scope_scope.Scope.html#__childTail" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>$$child<wbr/>Tail</span></a>
|
|
27
|
+
<a href="core_scope_scope.Scope.html#__destroyed" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>$$destroyed</span></a>
|
|
28
|
+
<a href="core_scope_scope.Scope.html#__digestWatchIndex" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>$$digest<wbr/>Watch<wbr/>Index</span></a>
|
|
29
|
+
<a href="core_scope_scope.Scope.html#__isolateBindings" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>$$isolate<wbr/>Bindings</span></a>
|
|
30
|
+
<a href="core_scope_scope.Scope.html#__listenerCount" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>$$listener<wbr/>Count</span></a>
|
|
31
|
+
<a href="core_scope_scope.Scope.html#__listeners" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>$$listeners</span></a>
|
|
32
|
+
<a href="core_scope_scope.Scope.html#__nextSibling" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>$$next<wbr/>Sibling</span></a>
|
|
33
|
+
<a href="core_scope_scope.Scope.html#__phase" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>$$phase</span></a>
|
|
34
|
+
<a href="core_scope_scope.Scope.html#__prevSibling" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>$$prev<wbr/>Sibling</span></a>
|
|
35
|
+
<a href="core_scope_scope.Scope.html#__suspended" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>$$suspended</span></a>
|
|
36
|
+
<a href="core_scope_scope.Scope.html#__watchers" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>$$watchers</span></a>
|
|
37
|
+
<a href="core_scope_scope.Scope.html#__watchersCount" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>$$watchers<wbr/>Count</span></a>
|
|
38
|
+
<a href="core_scope_scope.Scope.html#_id" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>$id</span></a>
|
|
39
|
+
<a href="core_scope_scope.Scope.html#_parent" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>$parent</span></a>
|
|
40
|
+
<a href="core_scope_scope.Scope.html#_root" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>$root</span></a>
|
|
41
|
+
</div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="core_scope_scope.Scope.html#__postDigest" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>$$post<wbr/>Digest</span></a>
|
|
42
|
+
<a href="core_scope_scope.Scope.html#_apply" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>$apply</span></a>
|
|
43
|
+
<a href="core_scope_scope.Scope.html#_applyAsync" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>$apply<wbr/>Async</span></a>
|
|
44
|
+
<a href="core_scope_scope.Scope.html#_broadcast" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>$broadcast</span></a>
|
|
45
|
+
<a href="core_scope_scope.Scope.html#_destroy" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>$destroy</span></a>
|
|
46
|
+
<a href="core_scope_scope.Scope.html#_digest" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>$digest</span></a>
|
|
47
|
+
<a href="core_scope_scope.Scope.html#_emit" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>$emit</span></a>
|
|
48
|
+
<a href="core_scope_scope.Scope.html#_eval" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>$eval</span></a>
|
|
49
|
+
<a href="core_scope_scope.Scope.html#_evalAsync" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>$eval<wbr/>Async</span></a>
|
|
50
|
+
<a href="core_scope_scope.Scope.html#_isSuspended" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>$is<wbr/>Suspended</span></a>
|
|
51
|
+
<a href="core_scope_scope.Scope.html#_new" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>$new</span></a>
|
|
52
|
+
<a href="core_scope_scope.Scope.html#_on" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>$on</span></a>
|
|
53
|
+
<a href="core_scope_scope.Scope.html#_resume" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>$resume</span></a>
|
|
54
|
+
<a href="core_scope_scope.Scope.html#_suspend" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>$suspend</span></a>
|
|
55
|
+
<a href="core_scope_scope.Scope.html#_watch" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>$watch</span></a>
|
|
56
|
+
<a href="core_scope_scope.Scope.html#_watchCollection" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>$watch<wbr/>Collection</span></a>
|
|
57
|
+
<a href="core_scope_scope.Scope.html#_watchGroup" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>$watch<wbr/>Group</span></a>
|
|
58
|
+
<a href="core_scope_scope.Scope.html#beginPhase" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>begin<wbr/>Phase</span></a>
|
|
59
|
+
<a href="core_scope_scope.Scope.html#clearPhase" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>clear<wbr/>Phase</span></a>
|
|
60
|
+
<a href="core_scope_scope.Scope.html#decrementListenerCount" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>decrement<wbr/>Listener<wbr/>Count</span></a>
|
|
61
|
+
<a href="core_scope_scope.Scope.html#incrementWatchersCount" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>increment<wbr/>Watchers<wbr/>Count</span></a>
|
|
62
|
+
</div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Constructors</h2></summary><section><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="constructor.new_Scope" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new <wbr/>Scope</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="core_scope_scope.Scope.html" class="tsd-signature-type tsd-kind-class">Scope</a><a href="#constructor.new_Scope" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <a href="core_scope_scope.Scope.html" class="tsd-signature-type tsd-kind-class">Scope</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L145">core/scope/scope.js:145</a></li></ul></aside></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Properties</h2></summary><section><section class="tsd-panel tsd-member"><a id="__ChildScope" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>$$<wbr/>Child<wbr/>Scope</span><a href="#__ChildScope" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">$$<wbr/>Child<wbr/>Scope</span><span class="tsd-signature-symbol">:</span> <a href="core_scope_scope.Scope.html" class="tsd-signature-type tsd-kind-class">Scope</a></div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L215">core/scope/scope.js:215</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="__childHead" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>$$child<wbr/>Head</span><a href="#__childHead" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">$$child<wbr/>Head</span><span class="tsd-signature-symbol">:</span> <a href="core_scope_scope.Scope.html" class="tsd-signature-type tsd-kind-class">Scope</a></div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L187">core/scope/scope.js:187</a></li><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L1048">core/scope/scope.js:1048</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="__childTail" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>$$child<wbr/>Tail</span><a href="#__childTail" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">$$child<wbr/>Tail</span><span class="tsd-signature-symbol">:</span> <a href="core_scope_scope.Scope.html" class="tsd-signature-type tsd-kind-class">Scope</a></div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L192">core/scope/scope.js:192</a></li><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L1049">core/scope/scope.js:1049</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="__destroyed" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>$$destroyed</span><a href="#__destroyed" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">$$destroyed</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L195">core/scope/scope.js:195</a></li><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L1007">core/scope/scope.js:1007</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="__digestWatchIndex" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>$$digest<wbr/>Watch<wbr/>Index</span><a href="#__digestWatchIndex" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">$$digest<wbr/>Watch<wbr/>Index</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L172">core/scope/scope.js:172</a></li><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L414">core/scope/scope.js:414</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="__isolateBindings" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>$$isolate<wbr/>Bindings</span><a href="#__isolateBindings" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">$$isolate<wbr/>Bindings</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L210">core/scope/scope.js:210</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="__listenerCount" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>$$listener<wbr/>Count</span><a href="#__listenerCount" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">$$listener<wbr/>Count</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L206">core/scope/scope.js:206</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="__listeners" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>$$listeners</span><a href="#__listeners" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">$$listeners</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L203">core/scope/scope.js:203</a></li><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L1041">core/scope/scope.js:1041</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="__nextSibling" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>$$next<wbr/>Sibling</span><a href="#__nextSibling" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">$$next<wbr/>Sibling</span><span class="tsd-signature-symbol">:</span> <a href="core_scope_scope.Scope.html" class="tsd-signature-type tsd-kind-class">Scope</a></div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L177">core/scope/scope.js:177</a></li><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L1044">core/scope/scope.js:1044</a></li><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L1046">core/scope/scope.js:1046</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="__phase" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>$$phase</span><a href="#__phase" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">$$phase</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L152">core/scope/scope.js:152</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="__prevSibling" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>$$prev<wbr/>Sibling</span><a href="#__prevSibling" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">$$prev<wbr/>Sibling</span><span class="tsd-signature-symbol">:</span> <a href="core_scope_scope.Scope.html" class="tsd-signature-type tsd-kind-class">Scope</a></div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L182">core/scope/scope.js:182</a></li><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L1047">core/scope/scope.js:1047</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="__suspended" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>$$suspended</span><a href="#__suspended" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">$$suspended</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L199">core/scope/scope.js:199</a></li><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L941">core/scope/scope.js:941</a></li><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L975">core/scope/scope.js:975</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="__watchers" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>$$watchers</span><a href="#__watchers" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">$$watchers</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L167">core/scope/scope.js:167</a></li><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L1051">core/scope/scope.js:1051</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="__watchersCount" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>$$watchers<wbr/>Count</span><a href="#__watchersCount" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">$$watchers<wbr/>Count</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L209">core/scope/scope.js:209</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="_id" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>$id</span><a href="#_id" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">$id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L149">core/scope/scope.js:149</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="_parent" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>$parent</span><a href="#_parent" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">$parent</span><span class="tsd-signature-symbol">:</span> <a href="core_scope_scope.Scope.html" class="tsd-signature-type tsd-kind-class">Scope</a></div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L157">core/scope/scope.js:157</a></li><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L1045">core/scope/scope.js:1045</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="_root" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>$root</span><a href="#_root" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">$root</span><span class="tsd-signature-symbol">:</span> <a href="core_scope_scope.Scope.html" class="tsd-signature-type tsd-kind-class">Scope</a></div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L162">core/scope/scope.js:162</a></li><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L1050">core/scope/scope.js:1050</a></li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Methods</h2></summary><section><section class="tsd-panel tsd-member"><a id="__postDigest" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>$$post<wbr/>Digest</span><a href="#__postDigest" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="__postDigest.__postDigest-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">$$post<wbr/>Digest</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">fn</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#__postDigest.__postDigest-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">fn</span>: <span class="tsd-signature-type">any</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L1131">core/scope/scope.js:1131</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="_apply" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>$apply</span><a href="#_apply" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="_apply._apply-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">$apply</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">expr</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><a href="#_apply._apply-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p><code>$apply()</code> is used to execute an expression in AngularTS from outside of the AngularTS
|
|
63
|
+
framework. (For example from browser DOM events, setTimeout, XHR or third party libraries).
|
|
64
|
+
Because we are calling into the AngularTS framework we need to perform proper scope life
|
|
65
|
+
cycle of ng.$exceptionHandler exception handling,
|
|
66
|
+
ng.$rootScope.Scope#$digest executing watches.</p>
|
|
67
|
+
<p><strong>Life cycle: Pseudo-Code of <code>$apply()</code></strong></p>
|
|
68
|
+
<pre><code class="js"><span class="hl-1"> </span><span class="hl-11">function</span><span class="hl-1"> </span><span class="hl-0">$apply</span><span class="hl-1">(</span><span class="hl-10">expr</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-8">try</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-0">$eval</span><span class="hl-1">(</span><span class="hl-10">expr</span><span class="hl-1">);</span><br/><span class="hl-1"> } </span><span class="hl-8">catch</span><span class="hl-1"> (</span><span class="hl-10">e</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-0">$exceptionHandler</span><span class="hl-1">(</span><span class="hl-10">e</span><span class="hl-1">);</span><br/><span class="hl-1"> } </span><span class="hl-8">finally</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-10">$root</span><span class="hl-1">.</span><span class="hl-0">$digest</span><span class="hl-1">();</span><br/><span class="hl-1"> }</span><br/><span class="hl-1"> }</span>
|
|
69
|
+
</code><button type="button">Copy</button></pre>
|
|
70
|
+
|
|
71
|
+
<p>Scope's <code>$apply()</code> method transitions through the following stages:</p>
|
|
72
|
+
<ol>
|
|
73
|
+
<li>The guide/expression expression is executed using the
|
|
74
|
+
ng.$rootScope.Scope#$eval $eval() method.</li>
|
|
75
|
+
<li>Any exceptions from the execution of the expression are forwarded to the
|
|
76
|
+
ng.$exceptionHandler $exceptionHandler service.</li>
|
|
77
|
+
<li>The ng.$rootScope.Scope#$watch watch listeners are fired immediately after the
|
|
78
|
+
expression was executed using the ng.$rootScope.Scope#$digest $digest() method.</li>
|
|
79
|
+
</ol>
|
|
80
|
+
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">expr</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">arg0</span><span class="tsd-signature-symbol">: </span><a href="core_scope_scope.Scope.html" class="tsd-signature-type tsd-kind-class">Scope</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span></span><div class="tsd-comment tsd-typography"><p>An AngularTS expression to be executed.</p>
|
|
81
|
+
<ul>
|
|
82
|
+
<li><code>string</code>: execute using the rules as defined in guide/expression expression.</li>
|
|
83
|
+
<li><code>function(scope)</code>: execute the function with current <code>scope</code> parameter.</li>
|
|
84
|
+
</ul>
|
|
85
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><p>The result of evaluating the expression.</p>
|
|
86
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L1174">core/scope/scope.js:1174</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="_applyAsync" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>$apply<wbr/>Async</span><a href="#_applyAsync" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="_applyAsync._applyAsync-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">$apply<wbr/>Async</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">expr</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#_applyAsync._applyAsync-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Schedule the invocation of $apply to occur at a later time. The actual time difference
|
|
87
|
+
varies across browsers, but is typically around ~10 milliseconds.</p>
|
|
88
|
+
<p>This can be used to queue up multiple expressions which need to be evaluated in the same
|
|
89
|
+
digest.</p>
|
|
90
|
+
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">expr</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span></span><div class="tsd-comment tsd-typography"><p>An AngularTS expression to be executed.</p>
|
|
91
|
+
<ul>
|
|
92
|
+
<li><code>string</code>: execute using the rules as defined in guide/expression expression.</li>
|
|
93
|
+
<li><code>function(scope)</code>: execute the function with current <code>scope</code> parameter.</li>
|
|
94
|
+
</ul>
|
|
95
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L1217">core/scope/scope.js:1217</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="_broadcast" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>$broadcast</span><a href="#_broadcast" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="_broadcast._broadcast-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">$broadcast</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">name</span>, <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><a href="#_broadcast._broadcast-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Dispatches an event <code>name</code> downwards to all child scopes (and their children) notifying the
|
|
96
|
+
registered ng.$rootScope.Scope#$on listeners.</p>
|
|
97
|
+
<p>The event life cycle starts at the scope on which <code>$broadcast</code> was called. All
|
|
98
|
+
ng.$rootScope.Scope#$on listeners listening for <code>name</code> event on this scope get
|
|
99
|
+
notified. Afterwards, the event propagates to all direct and indirect scopes of the current
|
|
100
|
+
scope and calls all registered listeners along the way. The event cannot be canceled.</p>
|
|
101
|
+
<p>Any exception emitted from the ng.$rootScope.Scope#$on listeners will be passed
|
|
102
|
+
onto the ng.$exceptionHandler $exceptionHandler service.</p>
|
|
103
|
+
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>Event name to broadcast.</p>
|
|
104
|
+
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Rest</code><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>Optional one or more arguments which will be passed onto the event listeners.</p>
|
|
105
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><p>Event object, see ng.$rootScope.Scope#$on</p>
|
|
106
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L1391">core/scope/scope.js:1391</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="_destroy" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>$destroy</span><a href="#_destroy" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="_destroy._destroy-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">$destroy</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#_destroy._destroy-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Removes the current scope (and all of its children) from the parent scope. Removal implies
|
|
107
|
+
that calls to ng.$rootScope.Scope#$digest $digest() will no longer
|
|
108
|
+
propagate to the current scope and its children. Removal also implies that the current
|
|
109
|
+
scope is eligible for garbage collection.</p>
|
|
110
|
+
<p>The <code>$destroy()</code> is usually used by directives such as
|
|
111
|
+
ng.directive:ngRepeat ngRepeat for managing the
|
|
112
|
+
unrolling of the loop.</p>
|
|
113
|
+
<p>Just before a scope is destroyed, a <code>$destroy</code> event is broadcasted on this scope.
|
|
114
|
+
Application code can register a <code>$destroy</code> event handler that will give it a chance to
|
|
115
|
+
perform any necessary cleanup.</p>
|
|
116
|
+
<p>Note that, in AngularTS, there is also a <code>$destroy</code> event, which can be used to
|
|
117
|
+
clean up DOM bindings before an element is removed from the DOM.</p>
|
|
118
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L1002">core/scope/scope.js:1002</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="_digest" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>$digest</span><a href="#_digest" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="_digest._digest-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">$digest</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#_digest._digest-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Processes all of the ng.$rootScope.Scope#$watch watchers of the current scope and
|
|
119
|
+
its children. Because a ng.$rootScope.Scope#$watch watcher's listener can change
|
|
120
|
+
the model, the <code>$digest()</code> keeps calling the ng.$rootScope.Scope#$watch watchers
|
|
121
|
+
until no more listeners are firing. This means that it is possible to get into an infinite
|
|
122
|
+
loop. This function will throw <code>'Maximum iteration limit exceeded.'</code> if the number of
|
|
123
|
+
iterations exceeds 10.</p>
|
|
124
|
+
<p>Usually, you don't call <code>$digest()</code> directly in
|
|
125
|
+
ng.directive:ngController controllers or in
|
|
126
|
+
ng.$compileProvider#directive directives.
|
|
127
|
+
Instead, you should call ng.$rootScope.Scope#$apply $apply() (typically from within
|
|
128
|
+
a ng.$compileProvider#directive directive), which will force a <code>$digest()</code>.</p>
|
|
129
|
+
<p>If you want to be notified whenever <code>$digest()</code> is called,
|
|
130
|
+
you can register a <code>watchExpression</code> function with
|
|
131
|
+
ng.$rootScope.Scope#$watch $watch() with no <code>listener</code>.</p>
|
|
132
|
+
<p>In unit tests, you may need to call <code>$digest()</code> to simulate the scope life cycle.</p>
|
|
133
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Example" class="tsd-anchor"></a>Example<a href="#Example" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="js"><span class="hl-1"> </span><span class="hl-11">let</span><span class="hl-1"> </span><span class="hl-10">scope</span><span class="hl-1"> = ...;</span><br/><span class="hl-1"> </span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-10">name</span><span class="hl-1"> = </span><span class="hl-2">'misko'</span><span class="hl-1">;</span><br/><span class="hl-1"> </span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-10">counter</span><span class="hl-1"> = </span><span class="hl-12">0</span><span class="hl-1">;</span><br/><br/><span class="hl-1"> </span><span class="hl-0">expect</span><span class="hl-1">(</span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-10">counter</span><span class="hl-1">).</span><span class="hl-0">toEqual</span><span class="hl-1">(</span><span class="hl-12">0</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-0">$watch</span><span class="hl-1">(</span><span class="hl-2">'name'</span><span class="hl-1">, </span><span class="hl-11">function</span><span class="hl-1">(</span><span class="hl-10">newValue</span><span class="hl-1">, </span><span class="hl-10">oldValue</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-10">counter</span><span class="hl-1"> = </span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-10">counter</span><span class="hl-1"> + </span><span class="hl-12">1</span><span class="hl-1">;</span><br/><span class="hl-1"> });</span><br/><span class="hl-1"> </span><span class="hl-0">expect</span><span class="hl-1">(</span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-10">counter</span><span class="hl-1">).</span><span class="hl-0">toEqual</span><span class="hl-1">(</span><span class="hl-12">0</span><span class="hl-1">);</span><br/><br/><span class="hl-1"> </span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-0">$digest</span><span class="hl-1">();</span><br/><span class="hl-1"> </span><span class="hl-9">// the listener is always called during the first $digest loop after it was registered</span><br/><span class="hl-1"> </span><span class="hl-0">expect</span><span class="hl-1">(</span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-10">counter</span><span class="hl-1">).</span><span class="hl-0">toEqual</span><span class="hl-1">(</span><span class="hl-12">1</span><span class="hl-1">);</span><br/><br/><span class="hl-1"> </span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-0">$digest</span><span class="hl-1">();</span><br/><span class="hl-1"> </span><span class="hl-9">// but now it will not be called unless the value changes</span><br/><span class="hl-1"> </span><span class="hl-0">expect</span><span class="hl-1">(</span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-10">counter</span><span class="hl-1">).</span><span class="hl-0">toEqual</span><span class="hl-1">(</span><span class="hl-12">1</span><span class="hl-1">);</span><br/><br/><span class="hl-1"> </span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-10">name</span><span class="hl-1"> = </span><span class="hl-2">'adam'</span><span class="hl-1">;</span><br/><span class="hl-1"> </span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-0">$digest</span><span class="hl-1">();</span><br/><span class="hl-1"> </span><span class="hl-0">expect</span><span class="hl-1">(</span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-10">counter</span><span class="hl-1">).</span><span class="hl-0">toEqual</span><span class="hl-1">(</span><span class="hl-12">2</span><span class="hl-1">);</span>
|
|
134
|
+
</code><button type="button">Copy</button></pre>
|
|
135
|
+
|
|
136
|
+
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L734">core/scope/scope.js:734</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="_emit" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>$emit</span><a href="#_emit" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="_emit._emit-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">$emit</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">name</span>, <span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><a href="#_emit._emit-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Dispatches an event <code>name</code> upwards through the scope hierarchy notifying the
|
|
137
|
+
registered ng.$rootScope.Scope#$on listeners.</p>
|
|
138
|
+
<p>The event life cycle starts at the scope on which <code>$emit</code> was called. All
|
|
139
|
+
ng.$rootScope.Scope#$on listeners listening for <code>name</code> event on this scope get
|
|
140
|
+
notified. Afterwards, the event traverses upwards toward the root scope and calls all
|
|
141
|
+
registered listeners along the way. The event will stop propagating if one of the listeners
|
|
142
|
+
cancels it.</p>
|
|
143
|
+
<p>Any exception emitted from the ng.$rootScope.Scope#$on listeners will be passed
|
|
144
|
+
onto the ng.$exceptionHandler $exceptionHandler service.</p>
|
|
145
|
+
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>Event name to emit.</p>
|
|
146
|
+
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Rest</code><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>Optional one or more arguments which will be passed onto the event listeners.</p>
|
|
147
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><p>Event object (see ng.$rootScope.Scope#$on).</p>
|
|
148
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L1323">core/scope/scope.js:1323</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="_eval" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>$eval</span><a href="#_eval" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="_eval._eval-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">$eval</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">expr</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">locals</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><a href="#_eval._eval-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Executes the <code>expression</code> on the current scope and returns the result. Any exceptions in
|
|
149
|
+
the expression are propagated (uncaught). This is useful when evaluating AngularTS
|
|
150
|
+
expressions.</p>
|
|
151
|
+
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">expr</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">arg0</span><span class="tsd-signature-symbol">: </span><a href="core_scope_scope.Scope.html" class="tsd-signature-type tsd-kind-class">Scope</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span></span><div class="tsd-comment tsd-typography"><p>An AngularTS expression to be executed.</p>
|
|
152
|
+
<ul>
|
|
153
|
+
<li><code>string</code>: execute using the rules as defined in guide/expression expression.</li>
|
|
154
|
+
<li><code>function(scope)</code>: execute the function with the current <code>scope</code> parameter.</li>
|
|
155
|
+
</ul>
|
|
156
|
+
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">locals</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>Local variables object, useful for overriding values in scope.</p>
|
|
157
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><p>The result of evaluating the expression.</p>
|
|
158
|
+
<div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Example-1" class="tsd-anchor"></a>Example<a href="#Example-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="js"><span class="hl-1"> </span><span class="hl-11">let</span><span class="hl-1"> </span><span class="hl-10">scope</span><span class="hl-1"> = </span><span class="hl-11">new</span><span class="hl-1"> </span><span class="hl-0">Scope</span><span class="hl-1">();</span><br/><span class="hl-1"> </span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-10">a</span><span class="hl-1"> = </span><span class="hl-12">1</span><span class="hl-1">;</span><br/><span class="hl-1"> </span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-10">b</span><span class="hl-1"> = </span><span class="hl-12">2</span><span class="hl-1">;</span><br/><br/><span class="hl-1"> </span><span class="hl-0">expect</span><span class="hl-1">(</span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-0">$eval</span><span class="hl-1">(</span><span class="hl-2">'a+b'</span><span class="hl-1">)).</span><span class="hl-0">toEqual</span><span class="hl-1">(</span><span class="hl-12">3</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-0">expect</span><span class="hl-1">(</span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-0">$eval</span><span class="hl-1">(</span><span class="hl-11">function</span><span class="hl-1">(</span><span class="hl-10">scope</span><span class="hl-1">){ </span><span class="hl-8">return</span><span class="hl-1"> </span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-10">a</span><span class="hl-1"> + </span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-10">b</span><span class="hl-1">; })).</span><span class="hl-0">toEqual</span><span class="hl-1">(</span><span class="hl-12">3</span><span class="hl-1">);</span>
|
|
159
|
+
</code><button type="button">Copy</button></pre>
|
|
160
|
+
|
|
161
|
+
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L1077">core/scope/scope.js:1077</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="_evalAsync" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>$eval<wbr/>Async</span><a href="#_evalAsync" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="_evalAsync._evalAsync-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">$eval<wbr/>Async</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">expr</span>, <span class="tsd-kind-parameter">locals</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><a href="#_evalAsync._evalAsync-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Executes the expression on the current scope at a later point in time.</p>
|
|
162
|
+
<p>The <code>$evalAsync</code> makes no guarantees as to when the <code>expression</code> will be executed, only
|
|
163
|
+
that:</p>
|
|
164
|
+
<ul>
|
|
165
|
+
<li>it will execute after the function that scheduled the evaluation (preferably before DOM
|
|
166
|
+
rendering).</li>
|
|
167
|
+
<li>at least one ng.$rootScope.Scope#$digest $digest cycle will be performed after
|
|
168
|
+
<code>expression</code> execution.</li>
|
|
169
|
+
</ul>
|
|
170
|
+
<p>Any exceptions from the execution of the expression are forwarded to the
|
|
171
|
+
ng.$exceptionHandler $exceptionHandler service.</p>
|
|
172
|
+
<p><strong>Note:</strong> if this function is called outside of a <code>$digest</code> cycle, a new <code>$digest</code> cycle
|
|
173
|
+
will be scheduled. However, it is encouraged to always call code that changes the model
|
|
174
|
+
from within an <code>$apply</code> call. That includes code evaluated via <code>$evalAsync</code>.</p>
|
|
175
|
+
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">expr</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">arg0</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span></span><div class="tsd-comment tsd-typography"><p>An AngularTS expression to be executed.</p>
|
|
176
|
+
<ul>
|
|
177
|
+
<li><code>string</code>: execute using the rules as defined in guide/expression expression.</li>
|
|
178
|
+
<li><code>function(scope)</code>: execute the function with the current <code>scope</code> parameter.</li>
|
|
179
|
+
</ul>
|
|
180
|
+
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">locals</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>Local variables object, useful for overriding values in scope.</p>
|
|
181
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L1106">core/scope/scope.js:1106</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="_isSuspended" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>$is<wbr/>Suspended</span><a href="#_isSuspended" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="_isSuspended._isSuspended-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">$is<wbr/>Suspended</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#_isSuspended._isSuspended-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Call this method to determine if this scope has been explicitly suspended. It will not
|
|
182
|
+
tell you whether an ancestor has been suspended.
|
|
183
|
+
To determine if this scope will be excluded from a digest triggered at the $rootScope,
|
|
184
|
+
for example, you must check all its ancestors:</p>
|
|
185
|
+
<pre><code><span class="hl-11">function</span><span class="hl-1"> </span><span class="hl-0">isExcludedFromDigest</span><span class="hl-1">(</span><span class="hl-10">scope</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-8">while</span><span class="hl-1">(</span><span class="hl-10">scope</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">scope</span><span class="hl-1">.</span><span class="hl-0">$isSuspended</span><span class="hl-1">()) </span><span class="hl-8">return</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-10">scope</span><span class="hl-1"> = </span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-10">$parent</span><span class="hl-1">;</span><br/><span class="hl-1"> }</span><br/><span class="hl-1"> </span><span class="hl-8">return</span><span class="hl-1"> </span><span class="hl-11">false</span><span class="hl-1">;</span>
|
|
186
|
+
</code><button>Copy</button></pre>
|
|
187
|
+
|
|
188
|
+
<p>Be aware that a scope may not be included in digests if it has a suspended ancestor,
|
|
189
|
+
even if <code>$isSuspended()</code> returns false.</p>
|
|
190
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><p>true if the current scope has been suspended.</p>
|
|
191
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L965">core/scope/scope.js:965</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="_new" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>$new</span><a href="#_new" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="_new._new-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">$new</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">isolate</span>, <span class="tsd-kind-parameter">parent</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="core_scope_scope.Scope.html" class="tsd-signature-type tsd-kind-class">Scope</a><a href="#_new._new-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Creates a new child <a href="core_scope_scope.Scope.html" class="tsd-kind-class">Scope</a>.</p>
|
|
192
|
+
<p>The parent scope will propagate the ng.$rootScope.Scope#$digest $digest() event.
|
|
193
|
+
The scope can be removed from the scope hierarchy using ng.$rootScope.Scope#$destroy $destroy().</p>
|
|
194
|
+
<p>ng.$rootScope.Scope#$destroy $destroy() must be called on a scope when it is
|
|
195
|
+
desired for the scope and its child scopes to be permanently detached from the parent and
|
|
196
|
+
thus stop participating in model change detection and listener notification by invoking.</p>
|
|
197
|
+
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">isolate</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>If true, then the scope does not prototypically inherit from the
|
|
198
|
+
parent scope. The scope is isolated, as it can not see parent scope properties.
|
|
199
|
+
When creating widgets, it is useful for the widget to not accidentally read parent
|
|
200
|
+
state.</p>
|
|
201
|
+
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">parent</span>: <a href="core_scope_scope.Scope.html" class="tsd-signature-type tsd-kind-class">Scope</a></span><div class="tsd-comment tsd-typography"><p>The ng.$rootScope.Scope <code>Scope</code> that will be the <code>$parent</code>
|
|
202
|
+
of the newly created scope. Defaults to <code>this</code> scope if not provided.
|
|
203
|
+
This is used when creating a transclude scope to correctly place it
|
|
204
|
+
in the scope hierarchy while maintaining the correct prototypical
|
|
205
|
+
inheritance.</p>
|
|
206
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="core_scope_scope.Scope.html" class="tsd-signature-type tsd-kind-class">Scope</a></h4><p>The newly created child scope.</p>
|
|
207
|
+
<div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L242">core/scope/scope.js:242</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="_on" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>$on</span><a href="#_on" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="_on._on-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">$on</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">name</span>, <span class="tsd-kind-parameter">listener</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><a href="#_on._on-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>Event name to listen on.</p>
|
|
208
|
+
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">listener</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">arg0</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span></span><div class="tsd-comment tsd-typography"><p>Function to call when the event is emitted witn angular.IAngularEvent</p>
|
|
209
|
+
</div><div class="tsd-comment tsd-typography"></div><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">arg0</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">arg0</span>: <span class="tsd-signature-type">any</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4></li></ul></li></ul></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span></h4><p>Returns a deregistration function for this listener.</p>
|
|
210
|
+
<ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature" id="_on._on-1.__type.__type-1"><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4></li></ul></li></ul><div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Description" class="tsd-anchor"></a>Description<a href="#Description" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>Listens on events of a given type. See ng.$rootScope.Scope#$emit $emit for
|
|
211
|
+
discussion of event life cycle.</p>
|
|
212
|
+
<p>The event listener function format is: <code>function(event, args...)</code>. The <code>event</code> object
|
|
213
|
+
passed into the listener has the following attributes:</p>
|
|
214
|
+
<ul>
|
|
215
|
+
<li><code>targetScope</code> - <code>{Scope}</code>: the scope on which the event was <code>$emit</code>-ed or
|
|
216
|
+
<code>$broadcast</code>-ed.</li>
|
|
217
|
+
<li><code>currentScope</code> - <code>{Scope}</code>: the scope that is currently handling the event. Once the
|
|
218
|
+
event propagates through the scope hierarchy, this property is set to null.</li>
|
|
219
|
+
<li><code>name</code> - <code>{string}</code>: name of the event.</li>
|
|
220
|
+
<li><code>stopPropagation</code> - <code>{function=}</code>: calling <code>stopPropagation</code> function will cancel
|
|
221
|
+
further event propagation (available only for events that were <code>$emit</code>-ed).</li>
|
|
222
|
+
<li><code>preventDefault</code> - <code>{function}</code>: calling <code>preventDefault</code> sets <code>defaultPrevented</code> flag
|
|
223
|
+
to true.</li>
|
|
224
|
+
<li><code>defaultPrevented</code> - <code>{boolean}</code>: true if <code>preventDefault</code> was called.</li>
|
|
225
|
+
</ul>
|
|
226
|
+
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L1253">core/scope/scope.js:1253</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="_resume" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>$resume</span><a href="#_resume" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="_resume._resume-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">$resume</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#_resume._resume-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Resume watchers of this scope subtree in case it was suspended.</p>
|
|
227
|
+
<p>See $rootScope.Scope#$suspend for information about the dangers of using this approach.</p>
|
|
228
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L974">core/scope/scope.js:974</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="_suspend" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>$suspend</span><a href="#_suspend" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="_suspend._suspend-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">$suspend</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#_suspend._suspend-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Suspend watchers of this scope subtree so that they will not be invoked during digest.</p>
|
|
229
|
+
<p>This can be used to optimize your application when you know that running those watchers
|
|
230
|
+
is redundant.</p>
|
|
231
|
+
<p><strong>Warning</strong></p>
|
|
232
|
+
<p>Suspending scopes from the digest cycle can have unwanted and difficult to debug results.
|
|
233
|
+
Only use this approach if you are confident that you know what you are doing and have
|
|
234
|
+
ample tests to ensure that bindings get updated as you expect.</p>
|
|
235
|
+
<p>Some of the things to consider are:</p>
|
|
236
|
+
<ul>
|
|
237
|
+
<li>Any external event on a directive/component will not trigger a digest while the hosting
|
|
238
|
+
scope is suspended - even if the event handler calls <code>$apply()</code> or <code>$rootScope.$digest()</code>.</li>
|
|
239
|
+
<li>Transcluded content exists on a scope that inherits from outside a directive but exists
|
|
240
|
+
as a child of the directive's containing scope. If the containing scope is suspended the
|
|
241
|
+
transcluded scope will also be suspended, even if the scope from which the transcluded
|
|
242
|
+
scope inherits is not suspended.</li>
|
|
243
|
+
<li>Multiple directives trying to manage the suspended status of a scope can confuse each other:
|
|
244
|
+
<ul>
|
|
245
|
+
<li>A call to <code>$suspend()</code> on an already suspended scope is a no-op.</li>
|
|
246
|
+
<li>A call to <code>$resume()</code> on a non-suspended scope is a no-op.</li>
|
|
247
|
+
<li>If two directives suspend a scope, then one of them resumes the scope, the scope will no
|
|
248
|
+
longer be suspended. This could result in the other directive believing a scope to be
|
|
249
|
+
suspended when it is not.</li>
|
|
250
|
+
</ul>
|
|
251
|
+
</li>
|
|
252
|
+
<li>If a parent scope is suspended then all its descendants will be also excluded from future
|
|
253
|
+
digests whether or not they have been suspended themselves. Note that this also applies to
|
|
254
|
+
isolate child scopes.</li>
|
|
255
|
+
<li>Calling <code>$digest()</code> directly on a descendant of a suspended scope will still run the watchers
|
|
256
|
+
for that scope and its descendants. When digesting we only check whether the current scope is
|
|
257
|
+
locally suspended, rather than checking whether it has a suspended ancestor.</li>
|
|
258
|
+
<li>Calling <code>$resume()</code> on a scope that has a suspended ancestor will not cause the scope to be
|
|
259
|
+
included in future digests until all its ancestors have been resumed.</li>
|
|
260
|
+
<li>Resolved promises, e.g. from explicit <code>$q</code> deferreds and <code>$http</code> calls, trigger <code>$apply()</code>
|
|
261
|
+
against the <code>$rootScope</code> and so will still trigger a global digest even if the promise was
|
|
262
|
+
initiated by a component that lives on a suspended scope.</li>
|
|
263
|
+
</ul>
|
|
264
|
+
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L940">core/scope/scope.js:940</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="_watch" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>$watch</span><a href="#_watch" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="_watch._watch-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">$watch</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">watchExp</span>, <span class="tsd-kind-parameter">listener</span><span class="tsd-signature-symbol">?</span>, <span class="tsd-kind-parameter">objectEquality</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><a href="#_watch._watch-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Registers a <code>listener</code> callback to be executed whenever the <code>watchExpression</code> changes.</p>
|
|
265
|
+
<ul>
|
|
266
|
+
<li>The <code>watchExpression</code> is called on every call to ng.$rootScope.Scope#$digest $digest() and should return the value that will be watched. (<code>watchExpression</code> should not change
|
|
267
|
+
its value when executed multiple times with the same input because it may be executed multiple
|
|
268
|
+
times by ng.$rootScope.Scope#$digest $digest(). That is, <code>watchExpression</code> should be
|
|
269
|
+
<a href="http://en.wikipedia.org/wiki/Idempotence">idempotent</a>.)</li>
|
|
270
|
+
<li>The <code>listener</code> is called only when the value from the current <code>watchExpression</code> and the
|
|
271
|
+
previous call to <code>watchExpression</code> are not equal (with the exception of the initial run,
|
|
272
|
+
see below). Inequality is determined according to reference inequality,
|
|
273
|
+
<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Comparison_Operators">strict comparison</a>
|
|
274
|
+
via the <code>!==</code> Javascript operator, unless <code>objectEquality == true</code>
|
|
275
|
+
(see next point)</li>
|
|
276
|
+
<li>When <code>objectEquality == true</code>, inequality of the <code>watchExpression</code> is determined
|
|
277
|
+
according to the angular.equals function. To save the value of the object for
|
|
278
|
+
later comparison, the structuredClone function is used. This therefore means that
|
|
279
|
+
watching complex objects will have adverse memory and performance implications.</li>
|
|
280
|
+
<li>This should not be used to watch for changes in objects that are (or contain)
|
|
281
|
+
<a href="https://developer.mozilla.org/docs/Web/API/File">File</a> objects due to limitations with structuredClone <code>structuredClone</code>.</li>
|
|
282
|
+
<li>The watch <code>listener</code> may change the model, which may trigger other <code>listener</code>s to fire.
|
|
283
|
+
This is achieved by rerunning the watchers until no changes are detected. The rerun
|
|
284
|
+
iteration limit is 10 to prevent an infinite loop deadlock.</li>
|
|
285
|
+
</ul>
|
|
286
|
+
<p>If you want to be notified whenever ng.$rootScope.Scope#$digest $digest is called,
|
|
287
|
+
you can register a <code>watchExpression</code> function with no <code>listener</code>. (Be prepared for
|
|
288
|
+
multiple calls to your <code>watchExpression</code> because it will execute multiple times in a
|
|
289
|
+
single ng.$rootScope.Scope#$digest $digest cycle if a change is detected.)</p>
|
|
290
|
+
<p>After a watcher is registered with the scope, the <code>listener</code> fn is called asynchronously
|
|
291
|
+
(via ng.$rootScope.Scope#$evalAsync $evalAsync) to initialize the
|
|
292
|
+
watcher. In rare cases, this is undesirable because the listener is called when the result
|
|
293
|
+
of <code>watchExpression</code> didn't change. To detect this scenario within the <code>listener</code> fn, you
|
|
294
|
+
can compare the <code>newVal</code> and <code>oldVal</code>. If these two values are identical (<code>===</code>) then the
|
|
295
|
+
listener was called due to initialization.</p>
|
|
296
|
+
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">watchExp</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a href="../types/core_parser_parse.CompiledExpression.html" class="tsd-signature-type tsd-kind-type-alias">CompiledExpression</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">scope</span><span class="tsd-signature-symbol">: </span><a href="core_scope_scope.Scope.html" class="tsd-signature-type tsd-kind-class">Scope</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span></span><div class="tsd-comment tsd-typography"><p>Expression that is evaluated on each
|
|
297
|
+
ng.$rootScope.Scope#$digest $digest cycle. A change in the return value triggers
|
|
298
|
+
a call to the <code>listener</code>.</p>
|
|
299
|
+
<ul>
|
|
300
|
+
<li><code>string</code>: Evaluated as guide/expression expression</li>
|
|
301
|
+
<li><code>function(scope)</code>: called with current <code>scope</code> as a parameter.</li>
|
|
302
|
+
</ul>
|
|
303
|
+
</div><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">listener</span>: <a href="../types/core_scope_scope.WatchListener.html" class="tsd-signature-type tsd-kind-type-alias">WatchListener</a></span><div class="tsd-comment tsd-typography"></div></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">objectEquality</span>: <span class="tsd-signature-type">boolean</span></span><div class="tsd-comment tsd-typography"><p>Compare for object equality using angular.equals instead of
|
|
304
|
+
comparing for reference equality.</p>
|
|
305
|
+
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span></h4><p>Returns a deregistration function for this listener.</p>
|
|
306
|
+
<ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature" id="_watch._watch-1.__type-2.__type-3"><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4></li></ul></li></ul><div class="tsd-comment tsd-typography"><h4 class="tsd-anchor-link"><a id="Example-2" class="tsd-anchor"></a>Example<a href="#Example-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="js"><span class="hl-1"> </span><span class="hl-9">// let's assume that scope was dependency injected as the $rootScope</span><br/><span class="hl-1"> </span><span class="hl-11">let</span><span class="hl-1"> </span><span class="hl-10">scope</span><span class="hl-1"> = </span><span class="hl-10">$rootScope</span><span class="hl-1">;</span><br/><span class="hl-1"> </span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-10">name</span><span class="hl-1"> = </span><span class="hl-2">'misko'</span><span class="hl-1">;</span><br/><span class="hl-1"> </span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-10">counter</span><span class="hl-1"> = </span><span class="hl-12">0</span><span class="hl-1">;</span><br/><br/><span class="hl-1"> </span><span class="hl-0">expect</span><span class="hl-1">(</span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-10">counter</span><span class="hl-1">).</span><span class="hl-0">toEqual</span><span class="hl-1">(</span><span class="hl-12">0</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-0">$watch</span><span class="hl-1">(</span><span class="hl-2">'name'</span><span class="hl-1">, </span><span class="hl-11">function</span><span class="hl-1">(</span><span class="hl-10">newValue</span><span class="hl-1">, </span><span class="hl-10">oldValue</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-10">counter</span><span class="hl-1"> = </span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-10">counter</span><span class="hl-1"> + </span><span class="hl-12">1</span><span class="hl-1">;</span><br/><span class="hl-1"> });</span><br/><span class="hl-1"> </span><span class="hl-0">expect</span><span class="hl-1">(</span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-10">counter</span><span class="hl-1">).</span><span class="hl-0">toEqual</span><span class="hl-1">(</span><span class="hl-12">0</span><span class="hl-1">);</span><br/><br/><span class="hl-1"> </span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-0">$digest</span><span class="hl-1">();</span><br/><span class="hl-1"> </span><span class="hl-9">// the listener is always called during the first $digest loop after it was registered</span><br/><span class="hl-1"> </span><span class="hl-0">expect</span><span class="hl-1">(</span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-10">counter</span><span class="hl-1">).</span><span class="hl-0">toEqual</span><span class="hl-1">(</span><span class="hl-12">1</span><span class="hl-1">);</span><br/><br/><span class="hl-1"> </span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-0">$digest</span><span class="hl-1">();</span><br/><span class="hl-1"> </span><span class="hl-9">// but now it will not be called unless the value changes</span><br/><span class="hl-1"> </span><span class="hl-0">expect</span><span class="hl-1">(</span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-10">counter</span><span class="hl-1">).</span><span class="hl-0">toEqual</span><span class="hl-1">(</span><span class="hl-12">1</span><span class="hl-1">);</span><br/><br/><span class="hl-1"> </span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-10">name</span><span class="hl-1"> = </span><span class="hl-2">'adam'</span><span class="hl-1">;</span><br/><span class="hl-1"> </span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-0">$digest</span><span class="hl-1">();</span><br/><span class="hl-1"> </span><span class="hl-0">expect</span><span class="hl-1">(</span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-10">counter</span><span class="hl-1">).</span><span class="hl-0">toEqual</span><span class="hl-1">(</span><span class="hl-12">2</span><span class="hl-1">);</span><br/><br/><span class="hl-1"> </span><span class="hl-9">// Using a function as a watchExpression</span><br/><span class="hl-1"> </span><span class="hl-11">let</span><span class="hl-1"> </span><span class="hl-10">food</span><span class="hl-1">;</span><br/><span class="hl-1"> </span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-10">foodCounter</span><span class="hl-1"> = </span><span class="hl-12">0</span><span class="hl-1">;</span><br/><span class="hl-1"> </span><span class="hl-0">expect</span><span class="hl-1">(</span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-10">foodCounter</span><span class="hl-1">).</span><span class="hl-0">toEqual</span><span class="hl-1">(</span><span class="hl-12">0</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-0">$watch</span><span class="hl-1">(</span><br/><span class="hl-1"> </span><span class="hl-9">// This function returns the value being watched. It is called for each turn of the $digest loop</span><br/><span class="hl-1"> </span><span class="hl-11">function</span><span class="hl-1">() { </span><span class="hl-8">return</span><span class="hl-1"> </span><span class="hl-10">food</span><span class="hl-1">; },</span><br/><span class="hl-1"> </span><span class="hl-9">// This is the change listener, called when the value returned from the above function changes</span><br/><span class="hl-1"> </span><span class="hl-11">function</span><span class="hl-1">(</span><span class="hl-10">newValue</span><span class="hl-1">, </span><span class="hl-10">oldValue</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">newValue</span><span class="hl-1"> !== </span><span class="hl-10">oldValue</span><span class="hl-1"> ) {</span><br/><span class="hl-1"> </span><span class="hl-9">// Only increment the counter if the value changed</span><br/><span class="hl-1"> </span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-10">foodCounter</span><span class="hl-1"> = </span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-10">foodCounter</span><span class="hl-1"> + </span><span class="hl-12">1</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/><span class="hl-1"> </span><span class="hl-9">// No digest has been run so the counter will be zero</span><br/><span class="hl-1"> </span><span class="hl-0">expect</span><span class="hl-1">(</span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-10">foodCounter</span><span class="hl-1">).</span><span class="hl-0">toEqual</span><span class="hl-1">(</span><span class="hl-12">0</span><span class="hl-1">);</span><br/><br/><span class="hl-1"> </span><span class="hl-9">// Run the digest but since food has not changed count will still be zero</span><br/><span class="hl-1"> </span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-0">$digest</span><span class="hl-1">();</span><br/><span class="hl-1"> </span><span class="hl-0">expect</span><span class="hl-1">(</span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-10">foodCounter</span><span class="hl-1">).</span><span class="hl-0">toEqual</span><span class="hl-1">(</span><span class="hl-12">0</span><span class="hl-1">);</span><br/><br/><span class="hl-1"> </span><span class="hl-9">// Update food and run digest. Now the counter will increment</span><br/><span class="hl-1"> </span><span class="hl-10">food</span><span class="hl-1"> = </span><span class="hl-2">'cheeseburger'</span><span class="hl-1">;</span><br/><span class="hl-1"> </span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-0">$digest</span><span class="hl-1">();</span><br/><span class="hl-1"> </span><span class="hl-0">expect</span><span class="hl-1">(</span><span class="hl-10">scope</span><span class="hl-1">.</span><span class="hl-10">foodCounter</span><span class="hl-1">).</span><span class="hl-0">toEqual</span><span class="hl-1">(</span><span class="hl-12">1</span><span class="hl-1">);</span><br/>
|
|
307
|
+
</code><button type="button">Copy</button></pre>
|
|
308
|
+
|
|
309
|
+
</div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L395">core/scope/scope.js:395</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="_watchCollection" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>$watch<wbr/>Collection</span><a href="#_watchCollection" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="_watchCollection._watchCollection-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">$watch<wbr/>Collection</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">obj</span>, <span class="tsd-kind-parameter">listener</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><a href="#_watchCollection._watchCollection-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Shallow watches the properties of an object and fires whenever any of the properties change
|
|
310
|
+
(for arrays, this implies watching the array items; for object maps, this implies watching
|
|
311
|
+
the properties). If a change is detected, the <code>listener</code> callback is fired.</p>
|
|
312
|
+
<ul>
|
|
313
|
+
<li>The <code>obj</code> collection is observed via standard $watch operation and is examined on every
|
|
314
|
+
call to $digest() to see if any items have been added, removed, or moved.</li>
|
|
315
|
+
<li>The <code>listener</code> is called whenever anything within the <code>obj</code> has changed. Examples include
|
|
316
|
+
adding, removing, and moving items belonging to an object or array.</li>
|
|
317
|
+
</ul>
|
|
318
|
+
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">obj</span>: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">arg0</span><span class="tsd-signature-symbol">: </span><a href="core_scope_scope.Scope.html" class="tsd-signature-type tsd-kind-class">Scope</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span></span><div class="tsd-comment tsd-typography"><p>Evaluated as guide/expression expression. The
|
|
319
|
+
expression value should evaluate to an object or an array which is observed on each
|
|
320
|
+
ng.$rootScope.Scope#$digest $digest cycle. Any shallow change within the
|
|
321
|
+
collection will trigger a call to the <code>listener</code>.</p>
|
|
322
|
+
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">listener</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">arg0</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span>, <span class="tsd-kind-parameter">arg1</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span>, <span class="tsd-kind-parameter">arg2</span><span class="tsd-signature-symbol">: </span><a href="core_scope_scope.Scope.html" class="tsd-signature-type tsd-kind-class">Scope</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span></span><div class="tsd-comment tsd-typography"><p>a callback function called
|
|
323
|
+
when a change is detected.</p>
|
|
324
|
+
<ul>
|
|
325
|
+
<li>The <code>newCollection</code> object is the newly modified data obtained from the <code>obj</code> expression</li>
|
|
326
|
+
<li>The <code>oldCollection</code> object is a copy of the former collection data.
|
|
327
|
+
Due to performance considerations, the<code>oldCollection</code> value is computed only if the
|
|
328
|
+
<code>listener</code> function declares two or more arguments.</li>
|
|
329
|
+
<li>The <code>scope</code> argument refers to the current scope.</li>
|
|
330
|
+
</ul>
|
|
331
|
+
</div><div class="tsd-comment tsd-typography"></div><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">arg0</span>, <span class="tsd-kind-parameter">arg1</span>, <span class="tsd-kind-parameter">arg2</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">arg0</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></span></li><li><span><span class="tsd-kind-parameter">arg1</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></span></li><li><span><span class="tsd-kind-parameter">arg2</span>: <a href="core_scope_scope.Scope.html" class="tsd-signature-type tsd-kind-class">Scope</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4></li></ul></li></ul></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span></h4><p>Returns a de-registration function for this listener. When the
|
|
332
|
+
de-registration function is executed, the internal watch operation is terminated.</p>
|
|
333
|
+
<ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature" id="_watchCollection._watchCollection-1.__type-4.__type-5"><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4></li></ul></li></ul><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L546">core/scope/scope.js:546</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="_watchGroup" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>$watch<wbr/>Group</span><a href="#_watchGroup" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="_watchGroup._watchGroup-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">$watch<wbr/>Group</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">watchExpressions</span>, <span class="tsd-kind-parameter">listener</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><a href="#_watchGroup._watchGroup-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>A variant of ng.$rootScope.Scope#$watch $watch() where it watches an array of <code>watchExpressions</code>.
|
|
334
|
+
If any one expression in the collection changes the <code>listener</code> is executed.</p>
|
|
335
|
+
<ul>
|
|
336
|
+
<li>The items in the <code>watchExpressions</code> array are observed via the standard <code>$watch</code> operation. Their return
|
|
337
|
+
values are examined for changes on every call to <code>$digest</code>.</li>
|
|
338
|
+
<li>The <code>listener</code> is called whenever any expression in the <code>watchExpressions</code> array changes.</li>
|
|
339
|
+
</ul>
|
|
340
|
+
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">watchExpressions</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">Scope</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span></span><div class="tsd-comment tsd-typography"><p>Array of expressions that will be individually
|
|
341
|
+
watched using ng.$rootScope.Scope#$watch $watch()</p>
|
|
342
|
+
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">listener</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">arg0</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span>, <span class="tsd-kind-parameter">arg1</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span>, <span class="tsd-kind-parameter">arg2</span><span class="tsd-signature-symbol">: </span><a href="core_scope_scope.Scope.html" class="tsd-signature-type tsd-kind-class">Scope</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span></span><div class="tsd-comment tsd-typography"><p>Callback called whenever the return value of any
|
|
343
|
+
expression in <code>watchExpressions</code> changes
|
|
344
|
+
The <code>newValues</code> array contains the current values of the <code>watchExpressions</code>, with the indexes matching
|
|
345
|
+
those of <code>watchExpression</code>
|
|
346
|
+
and the <code>oldValues</code> array contains the previous values of the <code>watchExpressions</code>, with the indexes matching
|
|
347
|
+
those of <code>watchExpression</code>
|
|
348
|
+
The <code>scope</code> refers to the current scope.</p>
|
|
349
|
+
</div><div class="tsd-comment tsd-typography"></div><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">arg0</span>, <span class="tsd-kind-parameter">arg1</span>, <span class="tsd-kind-parameter">arg2</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">arg0</span>: <span class="tsd-signature-type">any</span></span></li><li><span><span class="tsd-kind-parameter">arg1</span>: <span class="tsd-signature-type">any</span></span></li><li><span><span class="tsd-kind-parameter">arg2</span>: <a href="core_scope_scope.Scope.html" class="tsd-signature-type tsd-kind-class">Scope</a></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4></li></ul></li></ul></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span></h4><p>Returns a de-registration function for all listeners.</p>
|
|
350
|
+
<ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature" id="_watchGroup._watchGroup-1.__type-6.__type-7"><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4></li></ul></li></ul><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L454">core/scope/scope.js:454</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="beginPhase" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>begin<wbr/>Phase</span><a href="#beginPhase" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="beginPhase.beginPhase-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">begin<wbr/>Phase</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">phase</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#beginPhase.beginPhase-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">phase</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L890">core/scope/scope.js:890</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="clearPhase" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>clear<wbr/>Phase</span><a href="#clearPhase" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="clearPhase.clearPhase-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">clear<wbr/>Phase</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#clearPhase.clearPhase-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L1201">core/scope/scope.js:1201</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="decrementListenerCount" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>decrement<wbr/>Listener<wbr/>Count</span><a href="#decrementListenerCount" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="decrementListenerCount.decrementListenerCount-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">decrement<wbr/>Listener<wbr/>Count</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">count</span>, <span class="tsd-kind-parameter">name</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#decrementListenerCount.decrementListenerCount-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">count</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">name</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L1292">core/scope/scope.js:1292</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="incrementWatchersCount" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>increment<wbr/>Watchers<wbr/>Count</span><a href="#incrementWatchersCount" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="incrementWatchersCount.incrementWatchersCount-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">increment<wbr/>Watchers<wbr/>Count</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">count</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#incrementWatchersCount.incrementWatchersCount-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">count</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/core/scope/scope.js#L1281">core/scope/scope.js:1281</a></li></ul></aside></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#__ChildScope" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>$$<wbr/>Child<wbr/>Scope</span></a><a href="#__childHead" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>$$child<wbr/>Head</span></a><a href="#__childTail" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>$$child<wbr/>Tail</span></a><a href="#__destroyed" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>$$destroyed</span></a><a href="#__digestWatchIndex" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>$$digest<wbr/>Watch<wbr/>Index</span></a><a href="#__isolateBindings" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>$$isolate<wbr/>Bindings</span></a><a href="#__listenerCount" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>$$listener<wbr/>Count</span></a><a href="#__listeners" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>$$listeners</span></a><a href="#__nextSibling" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>$$next<wbr/>Sibling</span></a><a href="#__phase" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>$$phase</span></a><a href="#__prevSibling" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>$$prev<wbr/>Sibling</span></a><a href="#__suspended" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>$$suspended</span></a><a href="#__watchers" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>$$watchers</span></a><a href="#__watchersCount" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>$$watchers<wbr/>Count</span></a><a href="#_id" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>$id</span></a><a href="#_parent" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>$parent</span></a><a href="#_root" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>$root</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary><div><a href="#__postDigest" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>$$post<wbr/>Digest</span></a><a href="#_apply" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>$apply</span></a><a href="#_applyAsync" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>$apply<wbr/>Async</span></a><a href="#_broadcast" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>$broadcast</span></a><a href="#_destroy" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>$destroy</span></a><a href="#_digest" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>$digest</span></a><a href="#_emit" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>$emit</span></a><a href="#_eval" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>$eval</span></a><a href="#_evalAsync" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>$eval<wbr/>Async</span></a><a href="#_isSuspended" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>$is<wbr/>Suspended</span></a><a href="#_new" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>$new</span></a><a href="#_on" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>$on</span></a><a href="#_resume" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>$resume</span></a><a href="#_suspend" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>$suspend</span></a><a href="#_watch" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>$watch</span></a><a href="#_watchCollection" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>$watch<wbr/>Collection</span></a><a href="#_watchGroup" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>$watch<wbr/>Group</span></a><a href="#beginPhase" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>begin<wbr/>Phase</span></a><a href="#clearPhase" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>clear<wbr/>Phase</span></a><a href="#decrementListenerCount" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>decrement<wbr/>Listener<wbr/>Count</span></a><a href="#incrementWatchersCount" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>increment<wbr/>Watchers<wbr/>Count</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../index.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@angular-wave/angular.ts</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|