Skip to content

Instantly share code, notes, and snippets.

@locks
Last active November 16, 2015 01:41
Show Gist options
  • Save locks/3436379979c8abe57376 to your computer and use it in GitHub Desktop.
Save locks/3436379979c8abe57376 to your computer and use it in GitHub Desktop.
<form>
<label>Youtube Link:
{{input id="videoID" type="text" placeholder="link" value=youtubeLink}}
</label>
<button {{action 'contract' youtubeLink}}>Play</button>
</form>
import Ember from 'ember';
export default Ember.Route.extend({
/*model() {
//return this.store.findAll('friend');
return true;
}*/
actions: {
contract: function(link) {
console.log(link);
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment