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> | |
| <router-view></router-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="./pager"></require> | |
| <div pager="numberOfPages.bind: numberOfPages">Number of pages: ${numberOfPages}</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> | |
| <require from="./pager"></require> | |
| <div pager="numberOfPages.bind: numberOfPages">Number of pages: ${numberOfPages}</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> | |
| <input type="text" value.one-way="firstName" /> | |
| <input type="text" value.one-time="lastName" /> | |
| ${fullName} | |
| <br /><button click.trigger="updateValues()">Update in VM</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> | |
| <label>Two-Way Bound<input type="text" value.two-way="firstName" /></label><br /> | |
| <label>One-Way Bound<input type="text" value.one-way="firstName" /></label><br /> | |
| <label>One-Time Bound<input type="text" value.one-time="firstName" /></label><br /> | |
| firstName: ${firstName} | |
| </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
| using Microsoft.AspNetCore.Http; | |
| using Microsoft.AspNetCore.Mvc.Rendering; | |
| using Microsoft.AspNetCore.Mvc.ViewFeatures; | |
| using Microsoft.AspNetCore.Mvc.ViewFeatures.Internal; | |
| using Microsoft.AspNetCore.Razor.TagHelpers; | |
| using Microsoft.AspNetCore.Mvc.TagHelpers; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Threading.Tasks; |
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> | |
| <style> | |
| .active a { color: red; font-weight: bold; } | |
| </style> | |
| <ul> | |
| <li repeat.for="row of router.navigation" class="${row.isActive ? 'active' : ''}"> | |
| <a href.bind="row.href">${row.title}</a> | |
| </li> | |
| </ul> | |
| <router-view layout-view="shared-parent.html" layout-view-model="shared-parent"></router-view> |
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="foo.html">A Non-Aurelia Page</a><br /> | |
| <a route-href="route: welcome">Welcome</a> | |
| <div> | |
| <router-view></router-view> | |
| </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> | |
| <require from="personnel-row"></require> | |
| Is Compact: <input type="checkbox" checked.bind="isCompact" /> | |
| <table> | |
| <tbody> | |
| <tr as-element="personnel-row" repeat.for="person of personnel" person.bind="person" is-compact.bind="isCompact"></tr> | |
| </tbody> | |
| </table> |