docs(QueryMetadata): fix wrong selectors and improve syntax highlighting
closes #4544 Closes #4958
This commit is contained in:
parent
fdbb505a8a
commit
42ea31b993
|
@ -102,8 +102,8 @@ export class AttributeMetadata extends DependencyMetadata {
|
|||
* <div #findme>...</div>
|
||||
* </seeker>
|
||||
*
|
||||
* @Component({ selector: 'foo' })
|
||||
* class seeker {
|
||||
* @Component({ selector: 'seeker' })
|
||||
* class Seeker {
|
||||
* constructor(@Query('findme') elList: QueryList<ElementRef>) {...}
|
||||
* }
|
||||
* ```
|
||||
|
@ -120,7 +120,7 @@ export class AttributeMetadata extends DependencyMetadata {
|
|||
* </seeker>
|
||||
*
|
||||
* @Component({
|
||||
* selector: 'foo'
|
||||
* selector: 'seeker'
|
||||
* })
|
||||
* class Seeker {
|
||||
* constructor(@Query('findMe, findMeToo') elList: QueryList<ElementRef>) {...}
|
||||
|
|
Loading…
Reference in New Issue