aboutsummaryrefslogtreecommitdiff
path: root/app/src/web/typings/frost.d.ts
blob: ae7c97ab2404fcfec99d2886cc78ca6be5200d31 (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
28
29
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)

  allowHorizontalScrolling(enable: boolean)
}

declare var Frost: FrostJSI;