KendoUI in angular.js - how to update multiple poi

2019-09-13 03:43发布

问题:

I'm trying to use kendo-radialgauge of "kendo.directives" with two pointers but my problem is to update the both pointers from controller. How can I do it ?

Two pointers in UI

 <span kendo-radialgauge   k-options="options"   k-ng-model="menuOptions"    ></span>

angular.module("app", ["kendo.directives"])

回答1:

I don't know kendo but I found this:
http://docs.telerik.com/kendo-ui/AngularJS/introduction#widget-update-upon-option-changes

You can also read about controller-directive communication and about scope.$watch, scope.$on