quasar 2.3.0 → 2.3.4
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.
- package/dist/api/AppFullscreen.json +15 -8
- package/dist/api/BottomSheet.json +23 -2
- package/dist/api/Cookies.json +4 -3
- package/dist/api/Dialog.json +41 -12
- package/dist/api/Loading.json +4 -2
- package/dist/api/LoadingBar.json +8 -3
- package/dist/api/LocalStorage.json +8 -0
- package/dist/api/Morph.json +14 -7
- package/dist/api/Mutation.json +1 -1
- package/dist/api/Notify.json +41 -27
- package/dist/api/QAjaxBar.json +6 -3
- package/dist/api/QBreadcrumbs.json +8 -4
- package/dist/api/QBreadcrumbsEl.json +4 -2
- package/dist/api/QBtn.json +6 -3
- package/dist/api/QBtnDropdown.json +11 -6
- package/dist/api/QBtnToggle.json +4 -2
- package/dist/api/QCard.json +2 -1
- package/dist/api/QCardActions.json +2 -1
- package/dist/api/QCardSection.json +2 -1
- package/dist/api/QCarousel.json +10 -5
- package/dist/api/QCarouselControl.json +4 -2
- package/dist/api/QChatMessage.json +8 -4
- package/dist/api/QCheckbox.json +8 -4
- package/dist/api/QChip.json +2 -1
- package/dist/api/QCircularProgress.json +14 -7
- package/dist/api/QColor.json +6 -3
- package/dist/api/QDate.json +79 -5
- package/dist/api/QDialog.json +8 -4
- package/dist/api/QDrawer.json +10 -5
- package/dist/api/QEditor.json +17 -7
- package/dist/api/QExpansionItem.json +5 -3
- package/dist/api/QFab.json +11 -6
- package/dist/api/QFabAction.json +4 -2
- package/dist/api/QField.json +2 -1
- package/dist/api/QFile.json +7 -2
- package/dist/api/QFooter.json +3 -2
- package/dist/api/QForm.json +1 -1
- package/dist/api/QHeader.json +5 -3
- package/dist/api/QIcon.json +2 -1
- package/dist/api/QImg.json +8 -4
- package/dist/api/QInfiniteScroll.json +6 -3
- package/dist/api/QInnerLoading.json +8 -4
- package/dist/api/QInput.json +2 -1
- package/dist/api/QIntersection.json +17 -1
- package/dist/api/QItem.json +2 -1
- package/dist/api/QKnob.json +8 -4
- package/dist/api/QLayout.json +9 -1
- package/dist/api/QLinearProgress.json +4 -2
- package/dist/api/QMarkupTable.json +2 -1
- package/dist/api/QMenu.json +8 -4
- package/dist/api/QNoSsr.json +2 -1
- package/dist/api/QOptionGroup.json +2 -1
- package/dist/api/QPage.json +2 -1
- package/dist/api/QPageScroller.json +8 -4
- package/dist/api/QPageSticky.json +2 -1
- package/dist/api/QPagination.json +10 -6
- package/dist/api/QParallax.json +2 -1
- package/dist/api/QPopupEdit.json +5 -2
- package/dist/api/QPopupProxy.json +7 -4
- package/dist/api/QRange.json +8 -4
- package/dist/api/QRating.json +5 -2
- package/dist/api/QResizeObserver.json +4 -1
- package/dist/api/QRouteTab.json +5 -26
- package/dist/api/QScrollArea.json +32 -6
- package/dist/api/QScrollObserver.json +13 -1
- package/dist/api/QSelect.json +141 -47
- package/dist/api/QSeparator.json +2 -1
- package/dist/api/QSkeleton.json +8 -4
- package/dist/api/QSlideItem.json +9 -0
- package/dist/api/QSlideTransition.json +2 -1
- package/dist/api/QSlider.json +8 -4
- package/dist/api/QSpinner.json +2 -1
- package/dist/api/QSplitter.json +4 -2
- package/dist/api/QStep.json +2 -1
- package/dist/api/QStepper.json +6 -3
- package/dist/api/QTab.json +4 -2
- package/dist/api/QTabPanels.json +6 -3
- package/dist/api/QTable.json +216 -93
- package/dist/api/QTabs.json +4 -2
- package/dist/api/QTime.json +16 -4
- package/dist/api/QTimeline.json +4 -2
- package/dist/api/QTimelineEntry.json +4 -2
- package/dist/api/QToggle.json +8 -4
- package/dist/api/QTooltip.json +18 -9
- package/dist/api/QTree.json +34 -19
- package/dist/api/QUploader.json +93 -5
- package/dist/api/QVirtualScroll.json +26 -11
- package/dist/api/ScrollFire.json +1 -1
- package/dist/api/SessionStorage.json +8 -0
- package/dist/api/TouchHold.json +2 -1
- package/dist/api/TouchRepeat.json +2 -1
- package/dist/api/TouchSwipe.json +2 -1
- package/dist/icon-set/bootstrap-icons.umd.prod.js +1 -1
- package/dist/icon-set/eva-icons.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +1 -1
- package/dist/icon-set/fontawesome-v5.umd.prod.js +1 -1
- package/dist/icon-set/ionicons-v4.umd.prod.js +1 -1
- package/dist/icon-set/line-awesome.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-outlined.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-round.umd.prod.js +1 -1
- package/dist/icon-set/material-icons-sharp.umd.prod.js +1 -1
- package/dist/icon-set/material-icons.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v3.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v4.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v5.umd.prod.js +1 -1
- package/dist/icon-set/mdi-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-eva-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v4.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v5.umd.prod.js +1 -1
- package/dist/icon-set/svg-ionicons-v6.umd.prod.js +6 -0
- package/dist/icon-set/svg-line-awesome.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-round.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +1 -1
- package/dist/icon-set/svg-material-icons.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v4.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v5.umd.prod.js +1 -1
- package/dist/icon-set/svg-mdi-v6.umd.prod.js +1 -1
- package/dist/icon-set/svg-themify.umd.prod.js +1 -1
- package/dist/icon-set/themify.umd.prod.js +1 -1
- package/dist/lang/ar.umd.prod.js +1 -1
- package/dist/lang/az-Latn.umd.prod.js +1 -1
- package/dist/lang/bg.umd.prod.js +1 -1
- package/dist/lang/bn.umd.prod.js +1 -1
- package/dist/lang/ca.umd.prod.js +1 -1
- package/dist/lang/cs.umd.prod.js +1 -1
- package/dist/lang/da.umd.prod.js +1 -1
- package/dist/lang/de.umd.prod.js +1 -1
- package/dist/lang/el.umd.prod.js +1 -1
- package/dist/lang/en-GB.umd.prod.js +1 -1
- package/dist/lang/en-US.umd.prod.js +1 -1
- package/dist/lang/eo.umd.prod.js +1 -1
- package/dist/lang/es.umd.prod.js +1 -1
- package/dist/lang/et.umd.prod.js +1 -1
- package/dist/lang/fa-IR.umd.prod.js +1 -1
- package/dist/lang/fa.umd.prod.js +1 -1
- package/dist/lang/fi.umd.prod.js +1 -1
- package/dist/lang/fr.umd.prod.js +1 -1
- package/dist/lang/gn.umd.prod.js +1 -1
- package/dist/lang/he.umd.prod.js +1 -1
- package/dist/lang/hr.umd.prod.js +1 -1
- package/dist/lang/hu.umd.prod.js +1 -1
- package/dist/lang/id.umd.prod.js +1 -1
- package/dist/lang/is.umd.prod.js +1 -1
- package/dist/lang/it.umd.prod.js +1 -1
- package/dist/lang/ja.umd.prod.js +1 -1
- package/dist/lang/km.umd.prod.js +1 -1
- package/dist/lang/ko-KR.umd.prod.js +1 -1
- package/dist/lang/kur-CKB.umd.prod.js +1 -1
- package/dist/lang/lt.umd.prod.js +1 -1
- package/dist/lang/lu.umd.prod.js +1 -1
- package/dist/lang/lv.umd.prod.js +1 -1
- package/dist/lang/ml.umd.prod.js +1 -1
- package/dist/lang/ms.umd.prod.js +1 -1
- package/dist/lang/nb-NO.umd.prod.js +1 -1
- package/dist/lang/nl.umd.prod.js +1 -1
- package/dist/lang/pl.umd.prod.js +1 -1
- package/dist/lang/pt-BR.umd.prod.js +1 -1
- package/dist/lang/pt.umd.prod.js +1 -1
- package/dist/lang/ro.umd.prod.js +1 -1
- package/dist/lang/ru.umd.prod.js +1 -1
- package/dist/lang/sk.umd.prod.js +1 -1
- package/dist/lang/sl.umd.prod.js +1 -1
- package/dist/lang/sr-CYR.umd.prod.js +1 -1
- package/dist/lang/sr.umd.prod.js +1 -1
- package/dist/lang/sv.umd.prod.js +1 -1
- package/dist/lang/ta.umd.prod.js +1 -1
- package/dist/lang/th.umd.prod.js +1 -1
- package/dist/lang/tr.umd.prod.js +1 -1
- package/dist/lang/ug.umd.prod.js +1 -1
- package/dist/lang/uk.umd.prod.js +1 -1
- package/dist/lang/vi.umd.prod.js +1 -1
- package/dist/lang/zh-CN.umd.prod.js +1 -1
- package/dist/lang/zh-TW.umd.prod.js +1 -1
- package/dist/quasar.cjs.prod.js +2 -2
- package/dist/quasar.css +8 -1
- package/dist/quasar.esm.prod.js +2 -2
- package/dist/quasar.prod.css +1 -1
- package/dist/quasar.rtl.css +13 -1
- package/dist/quasar.rtl.prod.css +1 -1
- package/dist/quasar.sass +40 -35
- package/dist/quasar.umd.js +74 -48
- package/dist/quasar.umd.prod.js +2 -2
- package/dist/ssr-directives/Morph.js +1 -1
- package/dist/types/api/cookies.d.ts +1 -1
- package/dist/types/composables.d.ts +5 -1
- package/dist/types/extras/icon-set.d.ts +1 -0
- package/dist/types/index.d.ts +519 -192
- package/dist/vetur/quasar-attributes.json +7 -3
- package/dist/vetur/quasar-tags.json +1 -0
- package/dist/web-types/web-types.json +26 -12
- package/icon-set/svg-ionicons-v6.js +225 -0
- package/package.json +5 -2
- package/src/body.js +14 -4
- package/src/components/btn/QBtn.js +1 -0
- package/src/components/btn-dropdown/QBtnDropdown.json +1 -0
- package/src/components/chip/QChip.json +1 -2
- package/src/components/circular-progress/QCircularProgress.json +1 -1
- package/src/components/date/QDate.json +59 -1
- package/src/components/editor/QEditor.js +2 -2
- package/src/components/editor/QEditor.json +6 -2
- package/src/components/expansion-item/QExpansionItem.json +2 -1
- package/src/components/fab/QFab.json +3 -1
- package/src/components/field/QField.json +3 -3
- package/src/components/file/QFile.json +9 -6
- package/src/components/footer/QFooter.json +1 -1
- package/src/components/form/QForm.json +2 -3
- package/src/components/header/QHeader.json +1 -1
- package/src/components/icon/QIcon.js +2 -2
- package/src/components/intersection/QIntersection.js +9 -1
- package/src/components/intersection/QIntersection.json +9 -0
- package/src/components/layout/QLayout.json +8 -1
- package/src/components/linear-progress/QLinearProgress.js +3 -2
- package/src/components/linear-progress/QLinearProgress.json +1 -1
- package/src/components/linear-progress/QLinearProgress.sass +1 -1
- package/src/components/pagination/QPagination.json +0 -1
- package/src/components/popup-edit/QPopupEdit.json +1 -0
- package/src/components/popup-proxy/QPopupProxy.json +2 -1
- package/src/components/rating/QRating.json +1 -1
- package/src/components/resize-observer/QResizeObserver.json +2 -0
- package/src/components/scroll-area/QScrollArea.js +8 -13
- package/src/components/scroll-area/QScrollArea.json +33 -10
- package/src/components/scroll-observer/QScrollObserver.json +11 -0
- package/src/components/select/QSelect.js +7 -3
- package/src/components/select/QSelect.json +88 -15
- package/src/components/slide-item/QSlideItem.json +9 -0
- package/src/components/slider/use-slider.js +3 -3
- package/src/components/table/QTable.js +1 -1
- package/src/components/table/QTable.json +155 -60
- package/src/components/table/table-pagination.js +4 -0
- package/src/components/tabs/QRouteTab.json +1 -23
- package/src/components/time/QTime.json +8 -0
- package/src/components/tree/QTree.json +26 -21
- package/src/components/tree/QTree.sass +45 -41
- package/src/components/uploader/xhr-uploader-plugin.json +105 -4
- package/src/components/virtual-scroll/QVirtualScroll.json +15 -0
- package/src/components/virtual-scroll/use-virtual-scroll.json +7 -5
- package/src/composables/private/use-field.js +4 -4
- package/src/composables/private/use-refocus-target.js +12 -3
- package/src/composables/private/use-split-attrs.js +10 -7
- package/src/composables/use-dialog-plugin-component.js +1 -0
- package/src/css/core/transitions.sass +3 -1
- package/src/directives/Mutation.json +2 -3
- package/src/directives/ScrollFire.json +2 -3
- package/src/install-quasar.js +1 -0
- package/src/plugins/AppFullscreen.json +8 -8
- package/src/plugins/Cookies.json +2 -2
- package/src/plugins/Dialog.json +6 -5
- package/src/plugins/LoadingBar.json +4 -3
- package/src/plugins/Notify.json +13 -19
- package/src/utils/private/global-dialog.json +16 -2
- package/src/utils/private/web-storage.json +10 -0
- package/wrappers/index.js +4 -0
|
@@ -109,7 +109,8 @@
|
|
|
109
109
|
500,
|
|
110
110
|
":delay=\"550\""
|
|
111
111
|
],
|
|
112
|
-
"category": "behavior"
|
|
112
|
+
"category": "behavior",
|
|
113
|
+
"required": false
|
|
113
114
|
},
|
|
114
115
|
"tabindex": {
|
|
115
116
|
"type": [
|
|
@@ -135,41 +136,52 @@
|
|
|
135
136
|
"params": {
|
|
136
137
|
"info": {
|
|
137
138
|
"type": "Object",
|
|
139
|
+
"desc": "An object containing scroll information",
|
|
138
140
|
"definition": {
|
|
139
141
|
"ref": {
|
|
140
|
-
"type": "
|
|
142
|
+
"type": "Component",
|
|
143
|
+
"tsType": "QScrollArea",
|
|
144
|
+
"required": true,
|
|
141
145
|
"desc": "Vue reference to the QScrollArea which triggered the event"
|
|
142
146
|
},
|
|
143
147
|
"verticalPosition": {
|
|
144
148
|
"type": "Number",
|
|
149
|
+
"required": true,
|
|
145
150
|
"desc": "Vertical scroll position (in px)"
|
|
146
151
|
},
|
|
147
152
|
"verticalPercentage": {
|
|
148
153
|
"type": "Number",
|
|
154
|
+
"required": true,
|
|
149
155
|
"desc": "Vertical scroll percentage (0.0 <= x <= 1.0)"
|
|
150
156
|
},
|
|
151
157
|
"verticalSize": {
|
|
152
158
|
"type": "Number",
|
|
159
|
+
"required": true,
|
|
153
160
|
"desc": "Vertical scroll size (in px)"
|
|
154
161
|
},
|
|
155
162
|
"verticalContainerSize": {
|
|
156
163
|
"type": "Number",
|
|
164
|
+
"required": true,
|
|
157
165
|
"desc": "Height of the container (in px)"
|
|
158
166
|
},
|
|
159
167
|
"horizontalPosition": {
|
|
160
168
|
"type": "Number",
|
|
169
|
+
"required": true,
|
|
161
170
|
"desc": "Horizontal scroll position (in px)"
|
|
162
171
|
},
|
|
163
172
|
"horizontalPercentage": {
|
|
164
173
|
"type": "Number",
|
|
174
|
+
"required": true,
|
|
165
175
|
"desc": "Horizontal scroll percentage (0.0 <= x <= 1.0)"
|
|
166
176
|
},
|
|
167
177
|
"horizontalSize": {
|
|
168
178
|
"type": "Number",
|
|
179
|
+
"required": true,
|
|
169
180
|
"desc": "Horizontal scroll size (in px)"
|
|
170
181
|
},
|
|
171
182
|
"horizontalContainerSize": {
|
|
172
183
|
"type": "Number",
|
|
184
|
+
"required": true,
|
|
173
185
|
"desc": "Width of the container (in px)"
|
|
174
186
|
}
|
|
175
187
|
}
|
|
@@ -181,7 +193,7 @@
|
|
|
181
193
|
"getScrollTarget": {
|
|
182
194
|
"desc": "Get the scrolling DOM element target",
|
|
183
195
|
"returns": {
|
|
184
|
-
"type": "
|
|
196
|
+
"type": "Element",
|
|
185
197
|
"desc": "DOM element upon which scrolling takes place"
|
|
186
198
|
}
|
|
187
199
|
},
|
|
@@ -193,34 +205,42 @@
|
|
|
193
205
|
"definition": {
|
|
194
206
|
"verticalPosition": {
|
|
195
207
|
"type": "Number",
|
|
208
|
+
"required": true,
|
|
196
209
|
"desc": "Vertical scroll position (in px)"
|
|
197
210
|
},
|
|
198
211
|
"verticalPercentage": {
|
|
199
212
|
"type": "Number",
|
|
213
|
+
"required": true,
|
|
200
214
|
"desc": "Vertical scroll percentage (0.0 <= x <= 1.0)"
|
|
201
215
|
},
|
|
202
216
|
"verticalSize": {
|
|
203
217
|
"type": "Number",
|
|
218
|
+
"required": true,
|
|
204
219
|
"desc": "Vertical scroll size (in px)"
|
|
205
220
|
},
|
|
206
221
|
"verticalContainerSize": {
|
|
207
222
|
"type": "Number",
|
|
223
|
+
"required": true,
|
|
208
224
|
"desc": "Height of the container (in px)"
|
|
209
225
|
},
|
|
210
226
|
"horizontalPosition": {
|
|
211
227
|
"type": "Number",
|
|
228
|
+
"required": true,
|
|
212
229
|
"desc": "Horizontal scroll position (in px)"
|
|
213
230
|
},
|
|
214
231
|
"horizontalPercentage": {
|
|
215
232
|
"type": "Number",
|
|
233
|
+
"required": true,
|
|
216
234
|
"desc": "Horizontal scroll percentage (0.0 <= x <= 1.0)"
|
|
217
235
|
},
|
|
218
236
|
"horizontalSize": {
|
|
219
237
|
"type": "Number",
|
|
238
|
+
"required": true,
|
|
220
239
|
"desc": "Horizontal scroll size (in px)"
|
|
221
240
|
},
|
|
222
241
|
"horizontalContainerSize": {
|
|
223
242
|
"type": "Number",
|
|
243
|
+
"required": true,
|
|
224
244
|
"desc": "Width of the container (in px)"
|
|
225
245
|
}
|
|
226
246
|
}
|
|
@@ -230,9 +250,11 @@
|
|
|
230
250
|
"desc": "Get current scroll position",
|
|
231
251
|
"returns": {
|
|
232
252
|
"type": "Object",
|
|
253
|
+
"desc": "An object containing scroll position information",
|
|
233
254
|
"definition": {
|
|
234
255
|
"top": {
|
|
235
256
|
"type": "Number",
|
|
257
|
+
"required": true,
|
|
236
258
|
"desc": "Scroll offset from top (vertical)",
|
|
237
259
|
"examples": [
|
|
238
260
|
120
|
|
@@ -240,6 +262,7 @@
|
|
|
240
262
|
},
|
|
241
263
|
"left": {
|
|
242
264
|
"type": "Number",
|
|
265
|
+
"required": true,
|
|
243
266
|
"desc": "Scroll offset from left (horizontal)",
|
|
244
267
|
"examples": [
|
|
245
268
|
10
|
|
@@ -255,9 +278,11 @@
|
|
|
255
278
|
"desc": "Get current scroll position in percentage (0.0 <= x <= 1.0)",
|
|
256
279
|
"returns": {
|
|
257
280
|
"type": "Object",
|
|
281
|
+
"desc": "An object containing scroll position information in percentage",
|
|
258
282
|
"definition": {
|
|
259
283
|
"top": {
|
|
260
284
|
"type": "Number",
|
|
285
|
+
"required": true,
|
|
261
286
|
"desc": "Scroll percentage (0.0 <= x <= 1.0) offset from top (vertical)",
|
|
262
287
|
"examples": [
|
|
263
288
|
0.12
|
|
@@ -265,6 +290,7 @@
|
|
|
265
290
|
},
|
|
266
291
|
"left": {
|
|
267
292
|
"type": "Number",
|
|
293
|
+
"required": true,
|
|
268
294
|
"desc": "Scroll percentage (0.0 <= x <= 1.0) offset from left (horizontal)",
|
|
269
295
|
"examples": [
|
|
270
296
|
0.92
|
|
@@ -281,17 +307,17 @@
|
|
|
281
307
|
"params": {
|
|
282
308
|
"axis": {
|
|
283
309
|
"type": "String",
|
|
310
|
+
"required": true,
|
|
284
311
|
"desc": "Scroll axis",
|
|
285
312
|
"values": [
|
|
286
313
|
"vertical",
|
|
287
314
|
"horizontal"
|
|
288
|
-
]
|
|
289
|
-
"required": true
|
|
315
|
+
]
|
|
290
316
|
},
|
|
291
317
|
"offset": {
|
|
292
318
|
"type": "Number",
|
|
293
|
-
"desc": "Scroll position offset from top (in pixels)",
|
|
294
319
|
"required": true,
|
|
320
|
+
"desc": "Scroll position offset from top (in pixels)",
|
|
295
321
|
"examples": [
|
|
296
322
|
220
|
|
297
323
|
]
|
|
@@ -25,7 +25,8 @@
|
|
|
25
25
|
"horizontal"
|
|
26
26
|
],
|
|
27
27
|
"default": "vertical",
|
|
28
|
-
"category": "behavior"
|
|
28
|
+
"category": "behavior",
|
|
29
|
+
"required": false
|
|
29
30
|
},
|
|
30
31
|
"scroll-target": {
|
|
31
32
|
"type": [
|
|
@@ -52,10 +53,12 @@
|
|
|
52
53
|
"definition": {
|
|
53
54
|
"position": {
|
|
54
55
|
"type": "Object",
|
|
56
|
+
"required": true,
|
|
55
57
|
"desc": "Scroll offset (from top and left)",
|
|
56
58
|
"definition": {
|
|
57
59
|
"top": {
|
|
58
60
|
"type": "Number",
|
|
61
|
+
"required": true,
|
|
59
62
|
"desc": "Scroll offset from top (vertical)",
|
|
60
63
|
"examples": [
|
|
61
64
|
120
|
|
@@ -63,6 +66,7 @@
|
|
|
63
66
|
},
|
|
64
67
|
"left": {
|
|
65
68
|
"type": "Number",
|
|
69
|
+
"required": true,
|
|
66
70
|
"desc": "Scroll offset from left (horizontal)",
|
|
67
71
|
"examples": [
|
|
68
72
|
10
|
|
@@ -72,6 +76,7 @@
|
|
|
72
76
|
},
|
|
73
77
|
"direction": {
|
|
74
78
|
"type": "String",
|
|
79
|
+
"required": true,
|
|
75
80
|
"desc": "Direction of scroll",
|
|
76
81
|
"values": [
|
|
77
82
|
"up",
|
|
@@ -82,14 +87,17 @@
|
|
|
82
87
|
},
|
|
83
88
|
"directionChanged": {
|
|
84
89
|
"type": "Boolean",
|
|
90
|
+
"required": true,
|
|
85
91
|
"desc": "Has scroll direction changed since event was last emitted?"
|
|
86
92
|
},
|
|
87
93
|
"delta": {
|
|
88
94
|
"type": "Object",
|
|
95
|
+
"required": true,
|
|
89
96
|
"desc": "Delta of distance (in pixels) since event was last emitted",
|
|
90
97
|
"definition": {
|
|
91
98
|
"top": {
|
|
92
99
|
"type": "Number",
|
|
100
|
+
"required": true,
|
|
93
101
|
"desc": "Vertical delta distance since event was last emitted",
|
|
94
102
|
"examples": [
|
|
95
103
|
120
|
|
@@ -97,6 +105,7 @@
|
|
|
97
105
|
},
|
|
98
106
|
"left": {
|
|
99
107
|
"type": "Number",
|
|
108
|
+
"required": true,
|
|
100
109
|
"desc": "Horizontal delta distance since event was last emitted",
|
|
101
110
|
"examples": [
|
|
102
111
|
10
|
|
@@ -106,10 +115,12 @@
|
|
|
106
115
|
},
|
|
107
116
|
"inflectionPoint": {
|
|
108
117
|
"type": "Object",
|
|
118
|
+
"required": true,
|
|
109
119
|
"desc": "Last scroll offset where scroll direction has changed",
|
|
110
120
|
"definition": {
|
|
111
121
|
"top": {
|
|
112
122
|
"type": "Number",
|
|
123
|
+
"required": true,
|
|
113
124
|
"desc": "Scroll offset from top (vertical)",
|
|
114
125
|
"examples": [
|
|
115
126
|
120
|
|
@@ -117,6 +128,7 @@
|
|
|
117
128
|
},
|
|
118
129
|
"left": {
|
|
119
130
|
"type": "Number",
|
|
131
|
+
"required": true,
|
|
120
132
|
"desc": "Scroll offset from left (horizontal)",
|
|
121
133
|
"examples": [
|
|
122
134
|
10
|