Skip to content

Instantly share code, notes, and snippets.

@sunishsheth2009
Last active October 7, 2016 21:42
Show Gist options
  • Save sunishsheth2009/8301b9411de613437e66bfaf356a8a9b to your computer and use it in GitHub Desktop.
Save sunishsheth2009/8301b9411de613437e66bfaf356a8a9b to your computer and use it in GitHub Desktop.
New Twiddle
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
actions: {
update() {
console.log('here');
},
update2() {
console.log('here2');
}
}
});
{{input type="checkbox"
checked=listItem.paginatedViewSelected
change=(action "update")
}}
{{input type="checkbox"
checked=listItem.paginatedViewSelected
change=(action "update2")
}}
{
"version": "0.10.5",
"EmberENV": {
"FEATURES": {}
},
"options": {
"use_pods": false,
"enable-testing": false
},
"dependencies": {
"jquery": "https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.js",
"ember": "2.8.0",
"ember-data": "2.8.0",
"ember-template-compiler": "2.8.0",
"ember-testing": "2.8.0"
},
"addons": {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment