angular-ui/ui-grid

Firefox Only - Access event object in rowExpandedStateChanged

Open

#6812 aperta il 27 lug 2018

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)JavaScript (2496 fork)batch import
Browser Firefoxhelp wantedneeds: analysis

Metriche repository

Star
 (5395 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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 ?

Guida contributor