Created
July 23, 2012 09:17
-
-
Save coop/3162755 to your computer and use it in GitHub Desktop.
Getting access to form properties in Ember.js
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
Recruitment.NewApplicantView = Ember.View.extend({ | |
templateName: 'new_applicant', | |
name: '', | |
file: null, | |
submit: function(event) { | |
event.preventDefault(); | |
console.log(this.get('name')); | |
console.log(this.get('file')); | |
}, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment