Properties
autoIncrement
autoIncrement: number
Methods
ajax
- ajax(options: AjaxOptions): Promise<AsyncResult<any>>
Parameters
Returns Promise<AsyncResult<any>>
download
- download(params: DownloadParams): any
getFileUrl
- getFileUrl(fileInputId: string | HTMLInputElement): uri
Parameters
fileInputId: string | HTMLInputElement
Returns uri
listenNetwork
- listenNetwork(online: () => any, offline: () => any): void
Parameters
online: () => any
offline: () => any
Returns void
parseDownloadResponse
- parseDownloadResponse(res: any): string
uploadFile
- uploadFile(options: UploadFile): void
wxRequest
- wxRequest(options: AjaxOptions): Promise<AsyncResult<any>>
Parameters
Returns Promise<AsyncResult<any>>