docs(upgrade): add API docs for `propagateDigest` (#18487) (#18487)

PR Close #18487

PR Close #18487
This commit is contained in:
Georgios Kalpakas 2017-08-02 17:02:58 +03:00 committed by Jason Aden
parent 0b3d25d67e
commit ca0a55f4ee
1 changed files with 5 additions and 0 deletions

View File

@ -46,6 +46,11 @@ interface Thenable<T> {
* @param info contains information about the Component that is being downgraded: * @param info contains information about the Component that is being downgraded:
* *
* * `component: Type<any>`: The type of the Component that will be downgraded * * `component: Type<any>`: The type of the Component that will be downgraded
* * `propagateDigest?: boolean`: Whether to perform {@link ChangeDetectorRef#detectChanges
* change detection} on the component on every
* [$digest](https://docs.angularjs.org/api/ng/type/$rootScope.Scope#$digest). If set to `false`,
* change detection will still be performed when any of the component's inputs changes.
* (Default: true)
* *
* @returns a factory function that can be used to register the component in an * @returns a factory function that can be used to register the component in an
* AngularJS module. * AngularJS module.