@sankhyalabs/core-docs 0.0.0-feat-dev-KB-32496-2.0 → 0.0.0-feat-dev-KB-32496-2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,33 +2,43 @@
|
|
2
2
|
|
3
3
|
***
|
4
4
|
|
5
|
-
[@sankhyalabs/core](../globals.md) /
|
5
|
+
[@sankhyalabs/core](../globals.md) / OverFlowWatcher
|
6
6
|
|
7
|
-
# Class:
|
7
|
+
# Class: OverFlowWatcher
|
8
8
|
|
9
9
|
## Constructors
|
10
10
|
|
11
|
-
### new
|
11
|
+
### new OverFlowWatcher()
|
12
12
|
|
13
|
-
> **new
|
13
|
+
> **new OverFlowWatcher**(`element`, `callback`, `overFlowDirection`, `deltaSize`): [`OverFlowWatcher`](OverFlowWatcher.md)
|
14
|
+
|
15
|
+
Cria uma instancia do OverflowWatcher
|
14
16
|
|
15
17
|
#### Parameters
|
16
18
|
|
17
19
|
• **element**: `HTMLElement`
|
18
20
|
|
21
|
+
Elemento HTML que o overflow será observado.
|
22
|
+
|
19
23
|
• **callback**: [`OnOverFlowCallBack`](../type-aliases/OnOverFlowCallBack.md)
|
20
24
|
|
21
|
-
|
25
|
+
Função que sera chamada quando ocorrer overflow no elemento.
|
26
|
+
|
27
|
+
• **overFlowDirection**: [`OverFlowDirection`](../enumerations/OverFlowDirection.md)= `OverFlowDirection.HORIZONTAL`
|
28
|
+
|
29
|
+
Indica direção que o overflow será monitorado.
|
22
30
|
|
23
31
|
• **deltaSize**: `number`= `10`
|
24
32
|
|
33
|
+
Variação de tamanho que será considerada como overflow.
|
34
|
+
|
25
35
|
#### Returns
|
26
36
|
|
27
|
-
[`
|
37
|
+
[`OverFlowWatcher`](OverFlowWatcher.md)
|
28
38
|
|
29
39
|
#### Source
|
30
40
|
|
31
|
-
src/utils/
|
41
|
+
src/utils/OverflowWatcher.ts:20
|
32
42
|
|
33
43
|
## Properties
|
34
44
|
|
@@ -38,7 +48,7 @@ src/utils/OverFlowElementWatcher.ts:12
|
|
38
48
|
|
39
49
|
#### Source
|
40
50
|
|
41
|
-
src/utils/
|
51
|
+
src/utils/OverflowWatcher.ts:10
|
42
52
|
|
43
53
|
***
|
44
54
|
|
@@ -48,7 +58,7 @@ src/utils/OverFlowElementWatcher.ts:10
|
|
48
58
|
|
49
59
|
#### Source
|
50
60
|
|
51
|
-
src/utils/
|
61
|
+
src/utils/OverflowWatcher.ts:9
|
52
62
|
|
53
63
|
***
|
54
64
|
|
@@ -58,7 +68,7 @@ src/utils/OverFlowElementWatcher.ts:9
|
|
58
68
|
|
59
69
|
#### Source
|
60
70
|
|
61
|
-
src/utils/
|
71
|
+
src/utils/OverflowWatcher.ts:6
|
62
72
|
|
63
73
|
***
|
64
74
|
|
@@ -68,7 +78,7 @@ src/utils/OverFlowElementWatcher.ts:6
|
|
68
78
|
|
69
79
|
#### Source
|
70
80
|
|
71
|
-
src/utils/
|
81
|
+
src/utils/OverflowWatcher.ts:4
|
72
82
|
|
73
83
|
***
|
74
84
|
|
@@ -78,7 +88,7 @@ src/utils/OverFlowElementWatcher.ts:4
|
|
78
88
|
|
79
89
|
#### Source
|
80
90
|
|
81
|
-
src/utils/
|
91
|
+
src/utils/OverflowWatcher.ts:8
|
82
92
|
|
83
93
|
***
|
84
94
|
|
@@ -88,7 +98,7 @@ src/utils/OverFlowElementWatcher.ts:8
|
|
88
98
|
|
89
99
|
#### Source
|
90
100
|
|
91
|
-
src/utils/
|
101
|
+
src/utils/OverflowWatcher.ts:5
|
92
102
|
|
93
103
|
***
|
94
104
|
|
@@ -98,7 +108,7 @@ src/utils/OverFlowElementWatcher.ts:5
|
|
98
108
|
|
99
109
|
#### Source
|
100
110
|
|
101
|
-
src/utils/
|
111
|
+
src/utils/OverflowWatcher.ts:7
|
102
112
|
|
103
113
|
## Methods
|
104
114
|
|
@@ -116,7 +126,7 @@ src/utils/OverFlowElementWatcher.ts:7
|
|
116
126
|
|
117
127
|
#### Source
|
118
128
|
|
119
|
-
src/utils/
|
129
|
+
src/utils/OverflowWatcher.ts:121
|
120
130
|
|
121
131
|
***
|
122
132
|
|
@@ -134,7 +144,7 @@ src/utils/OverFlowElementWatcher.ts:121
|
|
134
144
|
|
135
145
|
#### Source
|
136
146
|
|
137
|
-
src/utils/
|
147
|
+
src/utils/OverflowWatcher.ts:136
|
138
148
|
|
139
149
|
***
|
140
150
|
|
@@ -148,7 +158,7 @@ src/utils/OverFlowElementWatcher.ts:136
|
|
148
158
|
|
149
159
|
#### Source
|
150
160
|
|
151
|
-
src/utils/
|
161
|
+
src/utils/OverflowWatcher.ts:32
|
152
162
|
|
153
163
|
***
|
154
164
|
|
@@ -162,7 +172,7 @@ src/utils/OverFlowElementWatcher.ts:23
|
|
162
172
|
|
163
173
|
#### Source
|
164
174
|
|
165
|
-
src/utils/
|
175
|
+
src/utils/OverflowWatcher.ts:60
|
166
176
|
|
167
177
|
***
|
168
178
|
|
@@ -180,7 +190,7 @@ src/utils/OverFlowElementWatcher.ts:51
|
|
180
190
|
|
181
191
|
#### Source
|
182
192
|
|
183
|
-
src/utils/
|
193
|
+
src/utils/OverflowWatcher.ts:36
|
184
194
|
|
185
195
|
***
|
186
196
|
|
@@ -198,7 +208,7 @@ src/utils/OverFlowElementWatcher.ts:27
|
|
198
208
|
|
199
209
|
#### Source
|
200
210
|
|
201
|
-
src/utils/
|
211
|
+
src/utils/OverflowWatcher.ts:52
|
202
212
|
|
203
213
|
***
|
204
214
|
|
@@ -218,7 +228,7 @@ src/utils/OverFlowElementWatcher.ts:43
|
|
218
228
|
|
219
229
|
#### Source
|
220
230
|
|
221
|
-
src/utils/
|
231
|
+
src/utils/OverflowWatcher.ts:68
|
222
232
|
|
223
233
|
***
|
224
234
|
|
@@ -238,7 +248,7 @@ src/utils/OverFlowElementWatcher.ts:59
|
|
238
248
|
|
239
249
|
#### Source
|
240
250
|
|
241
|
-
src/utils/
|
251
|
+
src/utils/OverflowWatcher.ts:98
|
242
252
|
|
243
253
|
***
|
244
254
|
|
@@ -256,4 +266,4 @@ src/utils/OverFlowElementWatcher.ts:94
|
|
256
266
|
|
257
267
|
#### Source
|
258
268
|
|
259
|
-
src/utils/
|
269
|
+
src/utils/OverflowWatcher.ts:86
|
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
#### Source
|
16
16
|
|
17
|
-
src/utils/
|
17
|
+
src/utils/OverflowWatcher.ts:152
|
18
18
|
|
19
19
|
***
|
20
20
|
|
@@ -24,4 +24,4 @@ src/utils/OverFlowElementWatcher.ts:152
|
|
24
24
|
|
25
25
|
#### Source
|
26
26
|
|
27
|
-
src/utils/
|
27
|
+
src/utils/OverflowWatcher.ts:151
|
package/globals.md
CHANGED
@@ -43,7 +43,7 @@
|
|
43
43
|
- [NumberUtils](classes/NumberUtils.md)
|
44
44
|
- [ObjectUtils](classes/ObjectUtils.md)
|
45
45
|
- [OnboardingUtils](classes/OnboardingUtils.md)
|
46
|
-
- [
|
46
|
+
- [OverFlowWatcher](classes/OverFlowWatcher.md)
|
47
47
|
- [PromiseSync](classes/PromiseSync.md)
|
48
48
|
- [ReadyUtil](classes/ReadyUtil.md)
|
49
49
|
- [RequestMetadata](classes/RequestMetadata.md)
|
package/package.json
CHANGED