docs: add downgraded output kebab-case example (#35581)
PR Close #35581
This commit is contained in:
parent
2aa940f55c
commit
c91304f191
|
@ -539,12 +539,14 @@ of multiple words. In Angular, you would bind these attributes using camelCase:
|
||||||
|
|
||||||
<code-example format="">
|
<code-example format="">
|
||||||
[myHero]="hero"
|
[myHero]="hero"
|
||||||
|
(heroDeleted)="handleHeroDeleted($event)"
|
||||||
</code-example>
|
</code-example>
|
||||||
|
|
||||||
But when using them from AngularJS templates, you must use kebab-case:
|
But when using them from AngularJS templates, you must use kebab-case:
|
||||||
|
|
||||||
<code-example format="">
|
<code-example format="">
|
||||||
[my-hero]="hero"
|
[my-hero]="hero"
|
||||||
|
(hero-deleted)="handleHeroDeleted($event)"
|
||||||
</code-example>
|
</code-example>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue