aboutsummaryrefslogtreecommitdiff
path: root/app/src/web/assets/typings/frost.d.ts
blob: 8f60c9ddd66b23f999f69b10de84dd6795dc124d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
declare interface FrostJSI {
    loadUrl(url: string | null): boolean

    loadVideo(url: string | null, isGif: boolean): boolean

    reloadBaseUrl(animate: boolean)

    contextMenu(url: string | null, text: string | null)

    longClick(start: boolean)

    disableSwipeRefresh(disable: boolean)

    loadLogin()

    loadImage(imageUrl: string, text: string | null)

    emit(flag: number)

    isReady()

    handleHtml(html: string | null)

    handleHeader(html: string | null)
}

declare var Frost: FrostJSI;