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> | |
| <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> |