Declined
Last Updated: 16 Feb 2022 12:26 by ADMIN
Imported User
Created on: 20 May 2015 11:06
Category: MVVM
Type: Feature Request
1
I think a viewmodel can be binded directly on the DOM element. For example, <div kd-controller='viewmodel'> <button kd-click="click"></
I think a viewmodel can be binded directly on the DOM element.
For example,

<div kd-controller='viewmodel'>
    <button kd-click="click"></button>
</div>

<script>
    var viewmodel = kendo.observable({
        click: function() {
            alert('I am clicked!');
        }
    })
</script>
0 comments