| Provider | Singleton | Instantiable | Configurable |
|---|---|---|---|
| Constant | Yes | No | No |
| Value | Yes | No | No |
| Service | Yes | No | No |
| Factory | Yes | Yes | No |
| Decorator | Yes | No? | No |
| Provider | Yes | Yes | Yes |
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
| {macro main()} | |
| {section { | |
| macro : "greetings", | |
| bindRefreshTo : [{ | |
| to : "firstname", | |
| inside : data | |
| },{ | |
| to : "lastname", | |
| inside : data | |
| }] |
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
| {macro main()} | |
| {@aria:TextField { | |
| block: true | |
| }/} | |
| <hr/> | |
| {@aria:Button { | |
| id: "first", | |
| label: "First", | |
| width: 100, | |
| onclick: { |
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
| <script> | |
| function execPolyfill() { | |
| (function(){ | |
| // CustomElementsV1.min.js v1 polyfill from https://github.com/webcomponents/webcomponentsjs/tree/v1/src/CustomElements/v1. | |
| /* | |
| Copyright (c) 2016 The Polymer Project Authors. All rights reserved. | |
| This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt | |
| The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt |
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
| {macro main()} | |
| {@aria:TextField { | |
| onclick: { | |
| fn: __onClick, | |
| scope: this, | |
| args: { | |
| } | |
| } | |
| }/} | |
| {/macro} |
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
| {macro main()} | |
| <h1>Hello Instant Aria Templates</h1> | |
| {@aria:ErrorList { | |
| title: "Error", | |
| bind: { | |
| messages: { | |
| to: "errorMessages", | |
| inside: data | |
| } | |
| } |
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
| {macro main()} | |
| {@aria:Select { | |
| mandatory: true, | |
| sclass: data.sclass, | |
| options: [ | |
| { value: 1, label: "One" }, | |
| { value: 2, label: "Two" }, | |
| { value: 3, label: "Three" } | |
| ] | |
| }/} |
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
| {macro main()} | |
| <div><button {on click toggle /}>Toggle waiting</button></div> | |
| {section { | |
| bindProcessingTo: { | |
| inside: data, | |
| to: "loading" | |
| }, | |
| processingLabel: "Please wait while we retrieve your profile", | |
| macro: "content" | |
| }/} |
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
| {macro main()} | |
| <h1>Vertical Tabbar</h1> | |
| {section { | |
| type: "div", | |
| attributes: { | |
| classList: ["tabbar"] | |
| }, | |
| macro: "tabbar", | |
| bindRefreshTo: [ |
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
| {macro main()} | |
| <table> | |
| <tr> | |
| <td>{@aria:TextField { helptext : "Name", block : true }/}</td> | |
| <td>{@aria:TextField { helptext : "Name", block : true, readOnly : true}/}</td> | |
| <td>{@aria:TextField { helptext : "Name", block : true, disabled: true }/}</td> | |
| <td>{@aria:TextField { helptext : "Name", block : true, mandatory: true }/}</td> | |
| </tr> | |
| </table> | |
| {/macro} |
NewerOlder