Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "module/ajax/readLocal"

Index

Enumerations

Interfaces

Functions

Functions

readLocal

  • readLocal(file: File, __namedParameters?: object): Promise<string | ArrayBuffer | null>
  • 读取本地浏览器选择的文件

    Parameters

    • file: File

      选择的文件

    • Default value __namedParameters: object = {}

    Returns Promise<string | ArrayBuffer | null>

    返回了读取到的内容(异步)

Generated using TypeDoc