enyo.bind in Enyo 2.7.0

Hello, when porting to Enyo 2.7.0 I have found out enyo.bind is no longer available.
I have solved it by replacing enyo.bind([object], ....) with [object].bindSafely(...) .
Is this correct replacement of enyo.bind? Thanks.

e.g.
enyo.bind(this, "ontap") --> this.bindSafely("ontap")

Comments

Sign In or Register to comment.