Add Comment Ctrl + /
Refactor Ctrl + .
Get intellisense Ctrl + Space
Format document Ctrl + K, D
| <template> | |
| <h1 innerHtml.bind="title"></h1> | |
| <h2>${title}</h2> | |
| <form submit.trigger="addTodo()"> | |
| <input type="text" value.bind="newTodo"/> | |
| <input type="submit"/> | |
| </form> | |
| <ul> | |
| <li repeat.for="todo of todos"> | |
| <label>${todo.text}</label><input type="checkbox" checked.bind="todo.done" /> |
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>ES2015 Examples</title> | |
| <script data-require="jquery@*" data-semver="2.2.0" src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script> | |
| <link rel="stylesheet" href="styles.css"> | |
| </head> | |
| <body> | |
| <template> | |
| <form action="submit" submit.trigger="AddTask()"> | |
| <h1 style="color:${colour}">${message}</h1> | |
| <input type="text" value.bind="currentTask" focus.bind="hasFocus" /> | |
| <button type="submit">Add Task</button> | |
| <div repeat.for="task of tasks"> | |
| <button type="button" click.trigger="RemoveTask($index)">X</button> ${task} | |
| </div> | |
| </form> | |
| </template> |
| <html> | |
| <head> | |
| <title>Aurelia</title> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| </head> | |
| <body aurelia-app="main"> | |
| <h1>Loading...</h1> | |
| <script src="https://cdn.rawgit.com/jdanyow/aurelia-bundle/v1.0.3/jspm_packages/system.js"></script> | |
| <script src="https://cdn.rawgit.com/jdanyow/aurelia-bundle/v1.0.3/config.js"></script> |