You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 4, 2017. It is now read-only.
Copy file name to clipboardExpand all lines: modules/angular2/docs/migration/kebab-case.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ Notes:
38
38
-`<my-cmp (my-event)="action()">` should be changed to `<my-cmp (myEvent)="action()">`,
39
39
-`<my-cmp [(my-prop)]="prop">` should be changed to `<my-cmp [(myProp)]="prop">`,
40
40
-`<input #my-input>` should be changed to `<input #myInput>`,
41
-
-`<template ng-for #my-item [ng-for-of]=items #my-index="index">` should be changed to `<template ngFor="#my-item" [ngForOf]=items #myIndex="index">`,
41
+
-`<template ng-for #my-item [ng-for-of]=items #my-index="index">` should be changed to `<template ngFor#my-item [ngForOf]=items #myIndex="index">`,
42
42
43
43
Note: while the tag names are now case-sensitive the best practice is to keep them lower-dash-cased so that the browser
44
44
treat them as custom elements. Using dashes in custom element names is required by the [Custom Element HTML Spec](http://www.w3.org/TR/custom-elements/#concepts).
0 commit comments