[英]Angular Material md-contact-chips callback issue
i am facing some problems about Angular Material md-contact-chips. 我面临有关Angular Material md-contact-chips的一些问题。
How to do 'Return a message' and 'Callback with Remove btn' like md-chip auto-complete. 像md-chip自动完成一样,如何执行“返回消息”和“带删除btn的回调”。 Because i can't use the 'md-on-append' and 'md-on-remove'.
因为我无法使用“添加时md”和“删除时md”。
It's my basic offical code. 这是我的基本官方代码。
<md-contact-chips ng-model="dialogContentCtrl.contacts"
md-contacts="dialogContentCtrl.querySearch($query)"
md-contact-name="name"
md-contact-image="image"
md-require-match="true"
placeholder="Add Tag..."
secondary-placeholder="Add Tag...">
</md-contact-chips>
The only way to watch data change is with $watch or $watchCollection. 监视数据更改的唯一方法是使用$ watch或$ watchCollection。 I'm using the $watchCollection for this component.
我正在使用$ watchCollection这个组件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.