curso-angular icon indicating copy to clipboard operation
curso-angular copied to clipboard

'srcElement' está descontinuado - Aula 135

Open RafaelKC opened this issue 4 years ago • 1 comments

A propriedade srcElement está descontinuada e não funciona mais. Tentei utilizar a propriedade target, que tem função semelhante, mas também só funciona quando dou o tipo any para a propriedade que E representa o evento,

  onChange(e: any ){
    const selectedFiles = <FileList>e.target.files;
    console.log(selectedFiles)
  }

RafaelKC avatar Apr 25 '21 21:04 RafaelKC

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Feb 28 '24 02:02 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Mar 07 '24 02:03 github-actions[bot]