You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* `scrollX.current` is a reactive view of `window.scrollX`. On the server it is `undefined`.
9
+
* @since 5.11.0
9
10
*/
10
11
exportconstscrollX=newReactiveValue(
11
12
BROWSER ? ()=>window.scrollX : ()=>undefined,
@@ -14,6 +15,7 @@ export const scrollX = new ReactiveValue(
14
15
15
16
/**
16
17
* `scrollY.current` is a reactive view of `window.scrollY`. On the server it is `undefined`.
18
+
* @since 5.11.0
17
19
*/
18
20
exportconstscrollY=newReactiveValue(
19
21
BROWSER ? ()=>window.scrollY : ()=>undefined,
@@ -22,6 +24,7 @@ export const scrollY = new ReactiveValue(
22
24
23
25
/**
24
26
* `innerWidth.current` is a reactive view of `window.innerWidth`. On the server it is `undefined`.
27
+
* @since 5.11.0
25
28
*/
26
29
exportconstinnerWidth=newReactiveValue(
27
30
BROWSER ? ()=>window.innerWidth : ()=>undefined,
@@ -30,6 +33,7 @@ export const innerWidth = new ReactiveValue(
30
33
31
34
/**
32
35
* `innerHeight.current` is a reactive view of `window.innerHeight`. On the server it is `undefined`.
36
+
* @since 5.11.0
33
37
*/
34
38
exportconstinnerHeight=newReactiveValue(
35
39
BROWSER ? ()=>window.innerHeight : ()=>undefined,
@@ -38,6 +42,7 @@ export const innerHeight = new ReactiveValue(
38
42
39
43
/**
40
44
* `outerWidth.current` is a reactive view of `window.outerWidth`. On the server it is `undefined`.
45
+
* @since 5.11.0
41
46
*/
42
47
exportconstouterWidth=newReactiveValue(
43
48
BROWSER ? ()=>window.outerWidth : ()=>undefined,
@@ -46,6 +51,7 @@ export const outerWidth = new ReactiveValue(
46
51
47
52
/**
48
53
* `outerHeight.current` is a reactive view of `window.outerHeight`. On the server it is `undefined`.
54
+
* @since 5.11.0
49
55
*/
50
56
exportconstouterHeight=newReactiveValue(
51
57
BROWSER ? ()=>window.outerHeight : ()=>undefined,
@@ -54,6 +60,7 @@ export const outerHeight = new ReactiveValue(
54
60
55
61
/**
56
62
* `screenLeft.current` is a reactive view of `window.screenLeft`. It is updated inside a `requestAnimationFrame` callback. On the server it is `undefined`.
63
+
* @since 5.11.0
57
64
*/
58
65
exportconstscreenLeft=newReactiveValue(
59
66
BROWSER ? ()=>window.screenLeft : ()=>undefined,
@@ -76,6 +83,7 @@ export const screenLeft = new ReactiveValue(
76
83
77
84
/**
78
85
* `screenTop.current` is a reactive view of `window.screenTop`. It is updated inside a `requestAnimationFrame` callback. On the server it is `undefined`.
86
+
* @since 5.11.0
79
87
*/
80
88
exportconstscreenTop=newReactiveValue(
81
89
BROWSER ? ()=>window.screenTop : ()=>undefined,
@@ -98,6 +106,7 @@ export const screenTop = new ReactiveValue(
98
106
99
107
/**
100
108
* `online.current` is a reactive view of `navigator.onLine`. On the server it is `undefined`.
109
+
* @since 5.11.0
101
110
*/
102
111
exportconstonline=newReactiveValue(
103
112
BROWSER ? ()=>navigator.onLine : ()=>undefined,
@@ -116,6 +125,7 @@ export const online = new ReactiveValue(
116
125
* Note that behaviour differs between browsers — on Chrome it will respond to the current zoom level,
* `screenLeft.current` is a reactive view of `window.screenLeft`. It is updated inside a `requestAnimationFrame` callback. On the server it is `undefined`.
* `screenTop.current` is a reactive view of `window.screenTop`. It is updated inside a `requestAnimationFrame` callback. On the server it is `undefined`.
0 commit comments