I am not sure what exactly you would like to achieve. In general it is possible to execute a ViewModel method when a certain event occurs - for example when an HTML button is clicked. For example:
Another possible option is to bind a field to a MVVM method which calculates and returns its value. For more information please check the corresponding docs.
In both cases the ViewModel method is called via data-bind attribute.
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI