mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
docs(annotations_impl): fix invalid code blocks
This commit is contained in:
parent
65cbcb2f73
commit
2cc2196140
1 changed files with 2 additions and 0 deletions
|
|
@ -565,6 +565,7 @@ export class Directive extends Injectable {
|
|||
* Use `propertyName: eventName` when the event emitter property name is different from the name
|
||||
* of the emitted event:
|
||||
*
|
||||
* ```
|
||||
* @Component({
|
||||
* events: ['status: statusChange']
|
||||
* })
|
||||
|
|
@ -771,6 +772,7 @@ export class Directive extends Injectable {
|
|||
*
|
||||
* ## Simple Example
|
||||
*
|
||||
* ```
|
||||
* @Directive({
|
||||
* selector: 'child-dir',
|
||||
* exportAs: 'child'
|
||||
|
|
|
|||
Loading…
Reference in a new issue