Options
All
  • Public
  • Public/Protected
  • All
Menu

Module data/downloadFile

Index

Functions

Functions

downloadFile

0.0.35 provide
  • downloadFile(fileName: string, content: BlobPart, type?: string): void
  • 触发设备的文件下载功能

    Parameters

    • fileName: string
    • content: BlobPart
    • type: string = 'text/plain'

    Returns void