kvazmatik Posted September 17, 2018 Share Posted September 17, 2018 Probably stupid question but when I declaring Group object, I can create remove/createCallback in config and I'm wondering if there's also Scope to that callback. Like in timer this.time.addEvent({ delay: 1500,callback : this.onCallback,callbackScope : this}); Link to comment Share on other sites More sharing options...
iKest Posted September 18, 2018 Share Posted September 18, 2018 no. only with decorator: createCallback: (item) => createCallback.call(callbackScope, item) Link to comment Share on other sites More sharing options...
Recommended Posts