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="bootstrap/css/bootstrap.css"></require> | |
<require from="font-awesome/css/font-awesome.css"></require> | |
<require from='./small-div'></require> | |
<button id="btnSmallDiv" click.trigger="SmallDivService()"> | |
Small Div Service2 | |
</button> | |
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="./parent"></require> | |
<parent></parent> | |
</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="./sortable-custom-attribute"></require> | |
<ul sortable="array.bind: left; options.bind: { group: 'test' }"> | |
<li repeat.for="item of left">${item}</li> | |
</ul> | |
<ul sortable="array.bind: right; options.bind: { group: 'test' }"> | |
<li repeat.for="item of right">${item}</li> | |
</ul> | |
</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="./my-element"></require> | |
<my-element>Hey</my-element> | |
</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="./my-custom-element"></require> | |
<my-custom-element>Hey</my-custom-element> | |
</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> | |
<ul> | |
<li repeat.for="person of people" click.delegate="changeColor(person, $event)" style="background-color: ${person.color}"> | |
${person.name} | |
<div repeat.for="item of items" click.delegate="changeColor(item, $event)" style="color: ${item.color}"> | |
${item.checked} | |
<input type="checkbox" click.delegate="stopPropagation($event)"/> | |
</div> | |
</li> | |
</ul> |
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="./customel"></require> | |
<customel attribute="0"></customel> | |
<customel attribute="2"></customel> | |
</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> | |
<button click.delegate="prompt()">open dialog</button> | |
<br><br> | |
(app [inline]) inner data:<br> | |
<div repeat.for="s of outer.inner">${s.name}</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> | |
<template repeat.for="app of apps" show.bind="selectedApp === app"> | |
${app.name} | |
</template> | |
</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='./records'></require> | |
<require from='./record-form'></require> | |
<div class="container-fluid"> | |
<div class="row mt-1"> | |
<div class="col-xs-12"> | |
<p class="lead text-muted">${heading}</p> | |
</div> | |
</div> |