This file contains 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
## Introduction ## | |
I've been a huge fan of [Durandal](http://durandaljs.com/) and [Knockout JS ](http://knockoutjs.com/) for many years now, and I've been closely following Aurelia since I first heard about it. After playing with it for a while, I noticed that one of the features I used with Knockout was missing from Aurelia: a ```focus```binding. I decided to take advantage of the [Custom Attribute](http://aurelia.io/docs.html#custom-attributes) API to develop a ```focus``` custom attribute for Aurelia. | |
## Requirements ## | |
The custom attribute I have in mind would be used this way: | |
``` javascript | |
export class ViewModel { |