본문 바로가기

typescript

File API

File API 정리

File API 찾아보기

  • FileList - 파일 리스트
  • File - 파일 데이터
  • FileReader - 파일 읽기
    • 해당 객체는 비동기적으로 파일의 내용을 읽어들이는데 사용된다.
  • Blob - 바이트 데이터
fileTarget.on('change', function() {
  if (window.FileReader){
    ...
  }

'typescript' 카테고리의 다른 글

attr() 문법  (0) 2021.03.13
input box 자동 포커스  (0) 2021.03.13
typescript jquery .on()  (0) 2021.03.13
window 객체  (0) 2021.03.13
Property 'split' does not exist on type 'string | number | string[]'. Error  (0) 2021.03.13