-
Notifications
You must be signed in to change notification settings - Fork 0
Simple expressions
Ilya edited this page Jan 18, 2017
·
1 revision
Simple expressions in all templates
Expressions in parentheses correspond to data in the object
let data = {
one : 'one string',
two : 'two string'
}
// index.html
<div id="test">
<div>{{ one }}</div>
<div>{{ two }}</div>
</div>
// after compile
<div id="test">
<div>one string</div>
<div>two string</div>
</div>