docs(core): @View annotations are no longer mandatory
@View is [now optional](angular@bd31b01). Closes #5413
This commit is contained in:
parent
5806babb0b
commit
9ca8a35553
|
@ -783,7 +783,7 @@ export class DirectiveMetadata extends InjectableMetadata {
|
|||
/**
|
||||
* Declare reusable UI building blocks for an application.
|
||||
*
|
||||
* Each Angular component requires a single `@Component` and at least one `@View` annotation. The
|
||||
* Each Angular component requires a single `@Component` annotation. The
|
||||
* `@Component`
|
||||
* annotation specifies when a component is instantiated, and which properties and hostListeners it
|
||||
* binds to.
|
||||
|
|
Loading…
Reference in New Issue