如何添加onSelect& onDeselect事件Kendo多选AngularJS?

时间:2016-11-09 06:44:20

标签: angularjs events kendo-ui multi-select kendo-multiselect

我正在使用Kendo multi-select来实现基于标记的过滤器小部件。我使用Angular作为我的框架。

我一直坚持在用户选择时添加onSelect和onDeSelect事件,取消选择标签。我只能找到this示例。但我无法找到一种方法,我可以用Angular来做到这一点。

有人可以帮忙吗?

2 个答案:

答案 0 :(得分:1)

如何将处理程序放在options对象中,如下所示:

http://dojo.telerik.com/oDanU

答案 1 :(得分:1)

services.Configure<IdentityOptions>(options => { options.SecurityStampValidationInterval = TimeSpan.FromSeconds(0); }); 添加一个函数,并将其指定为HTML中的onSelect方法

onSelect()

为我工作。