docs: add downgraded output kebab-case example (#35581)

PR Close #35581
This commit is contained in:
Esteban Gehring 2020-02-20 15:01:11 +01:00 committed by Miško Hevery
parent 2aa940f55c
commit c91304f191
1 changed files with 2 additions and 0 deletions

View File

@ -539,12 +539,14 @@ of multiple words. In Angular, you would bind these attributes using camelCase:
<code-example format="">
[myHero]="hero"
(heroDeleted)="handleHeroDeleted($event)"
</code-example>
But when using them from AngularJS templates, you must use kebab-case:
<code-example format="">
[my-hero]="hero"
(hero-deleted)="handleHeroDeleted($event)"
</code-example>
</div>