-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathWebapi.res
More file actions
33 lines (25 loc) · 1.01 KB
/
Copy pathWebapi.res
File metadata and controls
33 lines (25 loc) · 1.01 KB
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
module Base64 = Webapi__Base64
module Blob = Webapi__Blob
module Canvas = Webapi__Canvas
module Dom = Webapi__Dom
module File = Webapi__File
module FileList = Webapi__FileList
module Fetch = Webapi__Fetch
module FormData = Webapi__FormData
module TextEncoder = Webapi__TextEncoder
module TextDecoder = Webapi__TextDecoder
module Navigator = Webapi__Navigator
module Iterator = Webapi__Iterator
module Performance = Webapi__Performance
module ReadableStream = Webapi__ReadableStream
module IntersectionObserver = Webapi__IntersectionObserver
module ResizeObserver = Webapi__ResizeObserver
module Url = Webapi__Url
module WebSocket = Webapi__WebSocket
module WorkerGlobalScope = Webapi__WorkerGlobalScope
module WorkerNavigator = Webapi__WorkerNavigator
type rafId
@val external requestAnimationFrame: (float => unit) => unit = "requestAnimationFrame"
@val
external requestCancellableAnimationFrame: (float => unit) => rafId = "requestAnimationFrame"
@val external cancelAnimationFrame: rafId => unit = "cancelAnimationFrame"