Created
October 30, 2014 00:57
-
-
Save typeoneerror/424abb160a431047f648 to your computer and use it in GitHub Desktop.
volatile properties with ember.js
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
App.AdminAccountIndexController = Ember.Controller.extend | |
_tabIndex: 0 | |
tabIndex: (-> | |
@incrementProperty('_tabIndex') | |
@get('_tabIndex') | |
).property('_tabIndex').volatile() |
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
= input autocomplete="off" tabindex=tabIndex | |
= input autocomplete="off" tabindex=tabIndex |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment