Created
June 21, 2018 14:42
-
-
Save jherdman/bcfda6fdb516456c781c99a7df5c8afe to your computer and use it in GitHub Desktop.
Revisions
-
jherdman created this gist
Jun 21, 2018 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ import Ember from 'ember'; export default Ember.Controller.extend({ actions: { onChange() { this.set('msg', 'i heard a change event'); }, }, }); 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ <form> {{input type="radio" onChange=(action 'onChange')}} <button type="reset">Reset</button> </form> <p>{{msg}}</p> 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ { "version": "0.14.1", "EmberENV": { "FEATURES": {} }, "options": { "use_pods": false, "enable-testing": false }, "dependencies": { "jquery": "https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.js", "ember": "2.18.2", "ember-template-compiler": "2.18.2", "ember-testing": "2.18.2" }, "addons": { "ember-data": "2.18.2" } }