mardi 20 février 2018

Ember.js: access the current component from helper

Looking for any solution (even dirty hacks) to access the current component from a custom helper.

import Ember from 'ember';

export default Ember.Helper.extend({
  compute() {
    ... who is computing me? ...
  }
});




Aucun commentaire:

Enregistrer un commentaire