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>${title}</h1> | |
| <input ref="customerName"> | |
| <h2>Hello ${customerName.value}, how can I help you?</h2> | |
| </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>${title}</h1> | |
| <input value.bind="name"> | |
| <button click.delegate="sayHello()">Greeting</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> | |
| <require from='my-input'></require> | |
| <h1>${title}</h1> | |
| <form> | |
| <my-input label="Customer Name" | |
| placeholder="Enter your name..." | |
| value.two-way="customerName"></my-input> | |
| <p>${customerName}</p> | |
| </form> | |
| </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-focus'></require> | |
| <h1>${title}</h1> | |
| <form> | |
| <label>First Name</label> | |
| <input value.bind="firstName" | |
| placeholder="First Name" my-focus> | |
| <p>${firstName}</p> | |
| </form> | |
| </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='unique-binding-behavior'></require> | |
| <h1>${title}</h1> | |
| <form> | |
| <label>User Name</label> | |
| <input value.bind="username & unique:uniqueFunc & debounce:800"> | |
| <p class="help-text">${lookupResult}</p> | |
| </form> | |
| </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='unique-binding-behavior'></require> | |
| <h1>${title}</h1> | |
| <form> | |
| <label>User Name</label> | |
| <input value.bind="username & unique:$this:uniqueNames:'lookupResult' & debounce:800"> | |
| <p class="help-text">${lookupResult}</p> | |
| </form> | |
| </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-input'></require> | |
| <h1>${title}</h1> | |
| <form> | |
| <my-input label="Customer Name" | |
| placeholder="Enter your name..." | |
| value.two-way="customerName"></my-input> | |
| <p>${customerName}</p> | |
| </form> | |
| </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='tab-control'></require> | |
| <require from='tab-item'></require> | |
| <tab-control selected-tab="tab2" | |
| selection-changed.delegate="onSelectionChanged($event.detail)"> | |
| <tab-item name="tab2" title="Tab 2" | |
| > | |
| Content for Tab 2 | |
| <input id="tab1Input"> |
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> | |
| </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> | |
| </template> |