angular-ui/ui-grid

Firefox Only - Access event object in rowExpandedStateChanged

Fechada

#6.812 aberto em 27 de jul. de 2018

 (0 comentário) (0 reação) (0 responsável)JavaScript (2.496 forks)batch import
Browser Firefoxhelp wantedneeds: analysis

Métricas do repositório

Stars
 (5.395 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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 ?

Guia do colaborador