aboutsummaryrefslogtreecommitdiff
path: root/app/src/web/typings/frost.d.ts
blob: 9f77ce9e19faacaaba78a6f2aa53b7cbc69c5616 (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
30
31
32
33
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)

  setScrolling(scrolling: boolean)

  isScrolling(): boolean
}

declare var Frost: FrostJSI;