xr-frame / Exports / IDownloader
# Interface: IDownloader
下载器。
# Table of contents
# Properties
# Methods
# Properties
# REAL_DOWNLOADER
• REAL_DOWNLOADER: IRealDownloader
# inWX
• inWX: boolean
# Methods
# LOAD
▸ LOAD(options): void
# Parameters
| Name | Type |
|---|---|
options | Object |
options.onError | (error: Error) => void |
options.onLoad | (res: { data: ArrayBuffer ; filePath: string }) => void |
options.encoding | "binary" | "utf-8" |
options.src | string |
# Returns
void