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
* Enable the ability to center parallax elements in your viewport
108
+
*/
109
+
center?:boolean;
110
+
111
+
/**
112
+
* Enable horizontal parallax. This feature is intended for panoramic style websites, where users scroll horizontally instead of vertically
113
+
*/
114
+
horizontal?:boolean;
115
+
116
+
/**
117
+
* Allow decimal pixel values
118
+
*/
119
+
round?:boolean;
120
+
121
+
/**
122
+
* A negative value will make it move slower than regular scrolling, and a positive value will make it move faster
123
+
*/
124
+
speed?:number;
125
+
126
+
/**
127
+
* Enable vertical parallax
128
+
*/
129
+
vertical?:boolean;
130
+
131
+
/**
132
+
* By default, the position of parallax elements is determined via the scroll position of the body. Passing in the wrapper property will tell Rellax to watch that element instead
133
+
*/
134
+
wrapper?:string|HTMLElement;
135
+
136
+
/**
137
+
* Do we want rellax element to be relative to the mentioned wrapper.
138
+
*/
139
+
relativeToWrapper?:boolean;
140
+
141
+
/**
142
+
* Each breakpoint value represents the resolution for mobile, tablet, desktop respectively.
143
+
*/
144
+
breakpoints?: [number, number, number];
78
145
}
79
-
interfaceRellaxOptions {
80
-
/**
81
-
* Will run on every animation event
82
-
* @parampositions Object with x and y positions of the rellax element
* Enable the ability to center parallax elements in your viewport
87
-
*/
88
-
center?:boolean;
89
-
/**
90
-
* Enable horizontal parallax. This feature is intended for panoramic style websites, where users scroll horizontally instead of vertically
91
-
*/
92
-
horizontal?:boolean;
93
-
/**
94
-
* Allow decimal pixel values
95
-
*/
96
-
round?:boolean;
97
-
/**
98
-
* A negative value will make it move slower than regular scrolling, and a positive value will make it move faster
99
-
*/
100
-
speed?:number;
101
-
/**
102
-
* Enable vertical parallax
103
-
*/
104
-
vertical?:boolean;
105
-
/**
106
-
* By default, the position of parallax elements is determined via the scroll position of the body. Passing in the wrapper property will tell Rellax to watch that element instead
107
-
*/
108
-
wrapper?:string|HTMLElement;
109
-
/**
110
-
* Do we want rellax element to be relative to the mentioned wrapper.
* Enable the ability to center parallax elements in your viewport
42
+
*/
43
+
center?: boolean;
44
+
45
+
/**
46
+
* Enable horizontal parallax. This feature is intended for panoramic style websites, where users scroll horizontally instead of vertically
47
+
*/
48
+
horizontal?: boolean;
49
+
50
+
/**
51
+
* Allow decimal pixel values
52
+
*/
53
+
round?: boolean;
54
+
55
+
/**
56
+
* A negative value will make it move slower than regular scrolling, and a positive value will make it move faster
57
+
*/
58
+
speed?: number;
59
+
60
+
/**
61
+
* Enable vertical parallax
62
+
*/
63
+
vertical?: boolean;
64
+
65
+
/**
66
+
* By default, the position of parallax elements is determined via the scroll position of the body. Passing in the wrapper property will tell Rellax to watch that element instead
67
+
*/
68
+
wrapper?: string|HTMLElement;
69
+
70
+
/**
71
+
* Do we want rellax element to be relative to the mentioned wrapper.
72
+
*/
73
+
relativeToWrapper?: boolean;
74
+
75
+
/**
76
+
* Each breakpoint value represents the resolution for mobile, tablet, desktop respectively.
0 commit comments