angular-ui/ui-grid

Firefox Only - Access event object in rowExpandedStateChanged

已关闭

#6,812 创建于 2018年7月27日

 (0 条评论) (0 个反应) (0 位负责人)JavaScript (2,496 个派生)batch import
Browser Firefoxhelp wantedneeds: analysis

仓库指标

星标
 (5,395 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

gridApi.expandable.on.rowExpandedStateChanged($scope,function(row){ let event = event.target;

    //DO something based on which event fired - Expand single row or Expand all event

});

In Firefox, I cannot access the event.target, event is undefined here. I cannot change the signature of the above function inorder to pass event as an argument. That fails too.

In Chrome, it works.

Anyone encountered this kind ?

贡献者指南