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> | |
| <select value.bind="selectedValue"> | |
| <option model.bind="1">1</option> | |
| <option model.bind="2">2</option> | |
| <option model.bind="3">3</option> | |
| <option model.bind="4">4</option> | |
| </select> | |
| <h1>Selected Value: ${selectedValue}</h1> |
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
| #!/bin/sh | |
| "/C/Program Files (x86)/Microsoft SDKs/Azure/CLI2/python.exe" -Im azure.cli "$@" | |
| ret=$? | |
| exit $ret |
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="./calls-function"></require> | |
| <calls-function passed-in-function.call="myFunc(paramOne, paramTwo)"></calls-function> | |
| Text: ${text}<br /> | |
| </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> | |
| <div> | |
| <input type="text" focus.trigger="showFirst = true" /> | |
| <div show.bind="showFirst">Here I am!</div> | |
| </div> | |
| <br /> | |
| <div> | |
| <input type="text" focus.trigger="showSecond = true" /> |
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> | |
| <div> | |
| <input type="text" focus.trigger="showFirst = true" /> | |
| <div show.bind="showFirst">Here I am!</div> | |
| </div> | |
| <br /> | |
| <div> | |
| <input type="text" focus.trigger="showSecond = true" /> |
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> | |
| <h1>${message}</h1> | |
| <div repeat.for="i of arr"> | |
| i = ${i} | |
| <br/> | |
| $parent.message = ${$parent.message} | |
| <br/> | |
| $parent.someVar = ${$parent.someVar} |
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="./keyboard"></require> | |
| <div> | |
| <label>Name: </label> | |
| <input type="text" value.bind="name" keyboard /> | |
| </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="./stupid-aurelia-tricks"></require> | |
| <stupid-aurelia-tricks> | |
| <child> | |
| One | |
| </child> | |
| <child> | |
| Two | |
| </child> |
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
| function (user, context, callback) { | |
| // only do this for users from Azure AD | |
| // or maybe for a specific connection | |
| if (user.identities[0].provider !== 'waad') | |
| return callback(null, user, context); | |
| // To call Azure's Graph API we need an access token | |
| // The access token can be either | |
| // - The access token given to the logged in user by the IdP (provided that it has | |
| // the necessary permissions) |
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> | |
| Hello ${data.name}! | |
| </template> |