Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Utils

Index

Properties

autoIncrement

autoIncrement: number

Methods

ajax

  • ajax(options: AjaxOptions): Promise<AsyncResult<any>>
  • Parameters

    • options: AjaxOptions

    Returns Promise<AsyncResult<any>>

download

  • download(params: DownloadParams): any
  • Parameters

    • params: DownloadParams

    Returns any

flow

  • flow(fns: Fns[]): any
  • Parameters

    • fns: Fns[]

    Returns any

getEnvInfo

  • getEnvInfo(): EnvInfo
  • Returns EnvInfo

getFileUrl

  • getFileUrl(fileInputId: string | HTMLInputElement): uri
  • Parameters

    • fileInputId: string | HTMLInputElement

    Returns uri

getUniqueId

  • getUniqueId(): string
  • Returns string

listenNetwork

  • listenNetwork(online: () => any, offline: () => any): void
  • Parameters

    • online: () => any
        • (): any
        • Returns any

    • offline: () => any
        • (): any
        • Returns any

    Returns void

parseDownloadResponse

  • parseDownloadResponse(res: any): string
  • Parameters

    • res: any

    Returns string

uploadFile

  • uploadFile(options: UploadFile): void
  • Parameters

    • options: UploadFile

    Returns void

wxRequest

  • wxRequest(options: AjaxOptions): Promise<AsyncResult<any>>
  • Parameters

    • options: AjaxOptions

    Returns Promise<AsyncResult<any>>

Generated using TypeDoc