docs(upgrade): add example links to downgradeComponent()
function docs (#34406)
There were some extra examples for `downgradeComponent()` in the upgrade guide. Added a link to the relevant section of the guide in the `downgradeComponent()` docs. Fixes #31584 PR Close #34406
This commit is contained in:
parent
04ab03664d
commit
a186dbc1d4
@ -41,6 +41,9 @@ import {LazyModuleRef, UpgradeAppType, controllerKey, getDowngradedModuleCount,
|
|||||||
*
|
*
|
||||||
* {@example upgrade/static/ts/full/module.ts region="ng2-heroes-wrapper"}
|
* {@example upgrade/static/ts/full/module.ts region="ng2-heroes-wrapper"}
|
||||||
*
|
*
|
||||||
|
* For more details and examples on downgrading Angular components to AngularJS components please
|
||||||
|
* visit the [Upgrade guide](guide/upgrade#using-angular-components-from-angularjs-code).
|
||||||
|
*
|
||||||
* @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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user