Answers for "angular input change event datatype typescript"

-1

angular input change event datatype typescript

public onChange(event: Event): void {
  if ((event.target as HTMLInputElement).files && (event.target as HTMLInputElement).files.length) {
    const [file] = event.target.files;
  }
}
Posted by: Guest on October-30-2020

Code answers related to "angular input change event datatype typescript"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language