Hi La mum,
View events cannot be bound via MVVM bindings (e.g. with data-bind attribute) which is why they are set directly as an object fields. For example:
This is correct, however in this case the init method will not be executed in the context of the ViewModel but in the context of the View. This means that the 'this' keyword will refer to the View which does not have doSomething method.
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI