找回密码
 立即注册

QQ登录

只需一步,快速开始

Starry

初级会员

8

主题

37

帖子

274

积分

初级会员

积分
274
Starry
初级会员   /  发表于:2017-4-10 12:01  /   查看:3287  /  回复:4
我使用的是angular2,语法如下:

我的函数如下:
fun= function(){
console.log(123);
}
但是就是不能实现,请问这个点击事件如何去选中呢?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x

4 个回复

倒序浏览
Alice
社区贡献组   /  发表于:2017-4-10 15:17:21
沙发
谢谢您的反馈。
我测试没有重现您的问题。
代码参考:
  1.   <wj-flex-grid [itemsSource]="data" [selectionMode]="Cell" >
  2.     <template wjFlexGridCellTemplate [cellType]="'TopLeft'">
  3.       <i class="material-icons" (click)="showDialog(settingsMenu)" width="*" >settings</i>
  4.     </template>
  5.   </wj-flex-grid>
复制代码

  1. showDialog(dlg: wijmo.input.Popup) {
  2.   if (dlg) {
  3.   dlg.modal = this.modal; // Boolean
  4.   dlg.hideTrigger = dlg.modal ? wijmo.input.PopupTrigger.None : wijmo.input.PopupTrigger.Blur;
  5.   dlg.show();
  6.   }
  7.   };
复制代码
请点击评分,对我的服务做出评价!  5分为非常满意!

葡萄城控件服务团队

官方网站: http://www.gcpowertools.com.cn
回复 使用道具 举报
Starry
初级会员   /  发表于:2017-4-10 15:42:52
板凳
Alice 发表于 2017-4-10 15:17
谢谢您的反馈。
我测试没有重现您的问题。
代码参考:

非常感谢您,我再试试吧
回复 使用道具 举报
Starry
初级会员   /  发表于:2017-4-10 15:54:30
地板
dlg.modal = this.modal;  这个model是什么呢?
回复 使用道具 举报
Alice
社区贡献组   /  发表于:2017-4-10 18:14:11
5#
Starry 发表于 2017-4-10 15:54
dlg.modal = this.modal;  这个model是什么呢?

wijmo的popup中的属性,您可以先看看事件是否触发。
请点击评分,对我的服务做出评价!  5分为非常满意!

葡萄城控件服务团队

官方网站: http://www.gcpowertools.com.cn
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部