jeudi 26 novembre 2015

Is their any way to call ember-selectize action into controller?

I am new to ember development. I have to call action on the ember-selectize, but I am not getting where to write that action code?

{{ember-selectize
          id = property
          content = contentFromMyComponent
          optionValuePath = "content.id"
          optionLabelPath = "content.display"
          placeholder = "Select a thing"
          select-item=(action 'selectThing')
       }}

Where the action selectThing should be define?

Thanks!




Aucun commentaire:

Enregistrer un commentaire