yahoo / ember-gridstack

Ember components to build drag-and-drop multi-column grids powered by gridstack.js
https://yahoo.github.io/ember-gridstack/
Other
37 stars 29 forks source link

Glimmer actions broken #67

Closed btecu closed 3 years ago

btecu commented 4 years ago

Having the action defined using the @action decorator in a class, this works:

<GridStack @onChange={{action this.changeGrid}} ...>

However, this does not work:

<GridStack @onChange={{this.changeGrid}} ...>
ttill commented 4 years ago

Interesting… The following also works as expected: <GridStack @onChange={{fn this.changeGrid}} …>

btecu commented 4 years ago

It should not because fn expects two arguments.