dimanche 27 décembre 2015

How to reference an element in route?

I was working on an EmberJS application developing.

I defined a route and a template for it

And there is a little button,which id is "myBtn" in that template

I wonder how and when i can reference that button in my route.js

If there is no way,i think i may wrote a single component and wrap it in that route(template),course,element reference in component is clearly and easily

Hope there is a hint for me

Thanks




Aucun commentaire:

Enregistrer un commentaire