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> | |
| <h1>${message}</h1> | |
| <div>${'val1' & t} ${'custom:val' & t}</div> | |
| <button click.trigger="changeLocale('de')">de</button> | |
| <button click.trigger="changeLocale('en')">en</button> | |
| </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> | |
| <h1>${message}</h1> | |
| <div>${'val1' & t} ${'custom:val' & t}</div> | |
| <button click.trigger="changeLocale('de')">de</button> | |
| <button click.trigger="changeLocale('en')">en</button> | |
| </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> | |
| <h1>${message}</h1> | |
| <h2>${prop}</h2> | |
| <div if.bind="true">${'val1' & t} ${'custom:val' & t} ${'val1'+prop & t} ${'val1'+getLabel(prop) & t}</div> | |
| <hr/> | |
| <div> | |
| <compose containerless view.bind="'custom-view.html'"></compose> | |
| </div> | |
| <hr/> |
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> | |
| <h1>${message}</h1> | |
| <require from="./object-values-value-converter"></require> | |
| <div repeat.for="value of object | objectValues"> | |
| ${value} | |
| </div> | |
| </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> | |
| <h1>${message}</h1> | |
| <h2>${prop}</h2> | |
| <div>${'val1' & t}</div> | |
| <div>${'val1' & t}</div> | |
| <hr/> | |
| <div> | |
| <!--<compose containerless view.bind="'custom-view.html'"></compose>--> | |
| </div> | |
| <hr/> |
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="value-proxy"></require> | |
| <value-proxy view-model.ref="personJson" value.bind="stringify(person)"></value-proxy> | |
| ${personJson.value} | |
| </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="./stringify"></require> | |
| <table> | |
| <tbody> | |
| <tr><td>1 row ${{row: 1} | stringify}</td></tr> | |
| <tr><td>2 row</td></tr> | |
| </tbody> | |
| </table> |
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="./stringify"></require> | |
| <table> | |
| <tbody> | |
| <tr><td>1 row ${{row: 1} | stringify}</td></tr> | |
| <tr><td>2 row</td></tr> | |
| </tbody> | |
| </table> |
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="./custom"></require> | |
| <h2>Example 1: (rendered)</h2> | |
| <custom> | |
| <div slot="first"> | |
| <p>First slot</p> | |
| </div> | |
| </custom> | |
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="./custom"></require> | |
| <custom> | |
| <button click.delegate="doSmth()">First slot</button> | |
| </custom> | |
| <custom> | |
| <!--comment here--> | |
| </custom> |