Closed btecu closed 3 years ago
Having the action defined using the @action decorator in a class, this works:
@action
<GridStack @onChange={{action this.changeGrid}} ...>
However, this does not work:
<GridStack @onChange={{this.changeGrid}} ...>
Interesting… The following also works as expected: <GridStack @onChange={{fn this.changeGrid}} …>
<GridStack @onChange={{fn this.changeGrid}} …>
It should not because fn expects two arguments.
fn
Having the action defined using the
@action
decorator in a class, this works:However, this does not work: