X Tutup
Skip to content

Commit cab69f6

Browse files
committed
docs(cheatsheet): fix typo in <template> syntax description
Closes angular#6051
1 parent 822e83e commit cab69f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/angular2/docs/cheatsheet/template-syntax.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ Creates a local variable `movieplayer` that provides access to the `video` eleme
6262

6363
@cheatsheetItem
6464
syntax:
65-
`<p *my-unless="myExpression">...</p>`|`*my-unless`
65+
`<p *myUnless="myExpression">...</p>`|`*myUnless`
6666
description:
6767
The `*` symbol means that the current element will be turned into an embedded template. Equivalent to:
68-
`<template [myless]="myExpression"><p>...</p></template>`
68+
`<template [myUnless]="myExpression"><p>...</p></template>`
6969

7070
@cheatsheetItem
7171
syntax:

0 commit comments

Comments
 (0)
X Tutup