Sets the bindings that should be added to the generator, should be called after super. It will automatically bind this to the listeners.
super
this
constructor(init: QuestionMetricsInit<Data>) { super(); this.bindings({ 'feature': this.handleFeature, 'input': this.handleInput, 'suggestions': this.handleSuggestions, 'step': this.handleStep, });
Sets the bindings that should be added to the generator, should be called after
super
. It will automatically bindthis
to the listeners.constructor(init: QuestionMetricsInit<Data>) { super(); this.bindings({ 'feature': this.handleFeature, 'input': this.handleInput, 'suggestions': this.handleSuggestions, 'step': this.handleStep, });