Skip to content

Commit

Permalink
docs: clarify when the ngDoBootstrap hook is invoked (angular#42362)
Browse files Browse the repository at this point in the history
Closes angular#35242.

PR Close angular#42362
  • Loading branch information
AndrewKushnir authored and iRealNirmal committed Jun 4, 2021
1 parent 58627ea commit fe1d6f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/metadata/do_boostrap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import {ApplicationRef} from '../application_ref';

/**
* @description
* Hook for manual bootstrapping of the application instead of using bootstrap array in @NgModule
* annotation.
* Hook for manual bootstrapping of the application instead of using `bootstrap` array in @NgModule
* annotation. This hook is invoked only when the `bootstrap` array is empty or not provided.
*
* Reference to the current application is provided as a parameter.
*
Expand Down

0 comments on commit fe1d6f6

Please sign in to comment.