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 ?

貢獻者指南