jeudi 14 février 2019

Closure actions in Ember

I'm rewriting some old Ember code to use closure actions, but I'm new to Ember and I can't seem to figure out how to change a sendAction that hasn't got parameters.

This is the code in the component row.js:

 click: function() {
        this.sendAction();
      }

The row.hbs as well as the parent templates are just



so I can't add anything there it seems. Does anyone know how to solve this?




Aucun commentaire:

Enregistrer un commentaire