-
Notifications
You must be signed in to change notification settings - Fork 0
/
ev.cljs
42 lines (27 loc) · 925 Bytes
/
ev.cljs
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
34
35
36
37
38
39
40
41
(ns web.viewport.VisualViewport.ev
"VisualViewport Events."
(:refer-clojure :exclude []))
(def resize
"Event.
Fired when the visual viewport is resized.
Also available via the VisualViewport.onresize property."
"resize")
(def scroll
"Event.
Fired when the visual viewport is scrolled.
Also available via the VisualViewport.onscroll property."
"scroll")
(def onresize
"Event.
The onresize event handler of the `web.viewport.VisualViewport`
is called when a viewport is resized, i.e. when the resize event
fired.
See also: `https://developer.mozilla.org/en-US/docs/Web/API/VisualViewport/onresize`"
"onresize")
(def onscroll
"Event.
The onscroll event handler of the `web.viewport.VisualViewport`
is called when a viewport is scrolled, i.e. when the scroll event
fired.
See also: `https://developer.mozilla.org/en-US/docs/Web/API/VisualViewport/onscroll`"
"onscroll")