jeudi 28 décembre 2017

Should the Ember hbs template pass in parameters from an input field to a function and if so how?

I have a form that has an input field and an associated button and I have a function that would like to have the value the user types into the input field. Should I be passing it somehow from the hbs template or should I just go and get it from the DOM in the function.

Is there something like this?






Aucun commentaire:

Enregistrer un commentaire