This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<a href="#!" click.delegate="selectUser(user.id)" class="collection-item ${user.state}" repeat.for="user of users" id="user-${user.id}"> | |
<span if.bind="!user.lastName">${user}</span> | |
<span if.bind="user.firstName">${user.lastName}, ${user.firstName}</span> | |
</a> | |
</template> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<require from='dynamic-header'></require> | |
<dynamic-header containerless></dynamic-header> | |
</template> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<select> | |
<option repeat.for="user of users" value="{user.id}">${user.firstName} ${user.lastName}</option> | |
</select> | |
</template> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<require from="./list-view"></require> | |
<list-view items.bind='users'></list-view> | |
</template> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<require from="./contentControl.html"></require> | |
<require from="./myCustomComponent"></require> | |
<content-control content-template='myCustomTemplate.html' content='this is content rendered with myCustomTemplate'></content-control> | |
<!-- set a template of a another component--> | |
<!--<content-control content-template='myCustomComponent' content='this doesnt matter'></content-control> --> | |
<!-- set actual content with an instance of another component--> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<a href="#!" click.delegate="selectUser(user.id)" class="collection-item ${user.state}" repeat.for="user of users" id="user-${user.id}"> | |
<span if.bind="!user.lastName">${user}</span> | |
<span if.bind="user.firstName">${user.lastName}, ${user.firstName}</span> | |
</a> | |
</template> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<a href="#!" click.delegate="selectUser(user.id)" class="collection-item ${user.state}" repeat.for="user of users" id="user-${user.id}"> | |
<span if.bind="!user.lastName">${user}</span> | |
<span if.bind="user.firstName">${user.lastName}, ${user.firstName}</span> | |
</a> | |
</template> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<a href="#!" click.delegate="selectUser(user.id)" class="collection-item ${user.state}" repeat.for="user of users" id="user-${user.id}"> | |
<span if.bind="!user.lastName">${user}</span> | |
<span if.bind="user.firstName">${user.lastName}, ${user.firstName}</span> | |
</a> | |
</template> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<require from="./click-to-edit"></require> | |
<click-to-edit> | |
<template replace-part='item-template'> | |
This text node is in DOM only after click | |
</template> | |
</click-to-edit> | |
</template> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<require from="./click-to-edit"></require> | |
<click-to-edit> | |
This text node is in DOM only until after click | |
</click-to-edit> | |
</template> |
OlderNewer