angular-ui/ui-grid

Firefox Only - Access event object in rowExpandedStateChanged

Open

#6 812 ouverte le 27 juil. 2018

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)JavaScript (2 496 forks)batch import
Browser Firefoxhelp wantedneeds: analysis

Métriques du dépôt

Stars
 (5 395 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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 ?

Guide contributeur