lundi 24 octobre 2016

how to get input parameters on template tag on controllers

I have following on my ember template

"   class="form-control" insert-newline="submitOrder"  value=tracking}}

And my controller is below

 export default Ember.Controller.extend({
    actions: {
      submitOrder: function(value, event) {}
 });

How can I access id inside submitOrder actions?




Aucun commentaire:

Enregistrer un commentaire