quasar 2.14.4 → 2.14.6
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/AddressbarColor.json +1 -22
- package/dist/api/AppFullscreen.json +1 -78
- package/dist/api/AppVisibility.json +1 -15
- package/dist/api/BottomSheet.json +1 -264
- package/dist/api/Brand.json +1 -49
- package/dist/api/ClosePopup.json +1 -21
- package/dist/api/Cookies.json +1 -190
- package/dist/api/Dark.json +1 -63
- package/dist/api/Dialog.json +1 -479
- package/dist/api/Intersection.json +1 -204
- package/dist/api/Lang.json +1 -18
- package/dist/api/Loading.json +1 -317
- package/dist/api/LoadingBar.json +1 -62
- package/dist/api/LocalStorage.json +1 -187
- package/dist/api/Meta.json +1 -6
- package/dist/api/Morph.json +1 -188
- package/dist/api/Mutation.json +1 -122
- package/dist/api/Notify.json +1 -697
- package/dist/api/Platform.json +1 -238
- package/dist/api/QAjaxBar.json +1 -117
- package/dist/api/QAvatar.json +1 -76
- package/dist/api/QBadge.json +1 -82
- package/dist/api/QBanner.json +1 -44
- package/dist/api/QBar.json +1 -28
- package/dist/api/QBreadcrumbs.json +1 -82
- package/dist/api/QBreadcrumbsEl.json +1 -162
- package/dist/api/QBtn.json +1 -354
- package/dist/api/QBtnDropdown.json +1 -560
- package/dist/api/QBtnGroup.json +1 -59
- package/dist/api/QBtnToggle.json +1 -263
- package/dist/api/QCard.json +1 -51
- package/dist/api/QCardActions.json +1 -34
- package/dist/api/QCardSection.json +1 -31
- package/dist/api/QCarousel.json +1 -421
- package/dist/api/QCarouselControl.json +1 -41
- package/dist/api/QCarouselSlide.json +1 -44
- package/dist/api/QChatMessage.json +1 -128
- package/dist/api/QCheckbox.json +1 -211
- package/dist/api/QChip.json +1 -232
- package/dist/api/QCircularProgress.json +1 -145
- package/dist/api/QColor.json +1 -150
- package/dist/api/QDate.json +1 -637
- package/dist/api/QDialog.json +1 -259
- package/dist/api/QDrawer.json +1 -272
- package/dist/api/QEditor.json +1 -485
- package/dist/api/QExpansionItem.json +1 -434
- package/dist/api/QFab.json +1 -352
- package/dist/api/QFabAction.json +1 -241
- package/dist/api/QField.json +1 -448
- package/dist/api/QFile.json +1 -643
- package/dist/api/QFooter.json +1 -60
- package/dist/api/QForm.json +1 -112
- package/dist/api/QFormChildMixin.json +1 -24
- package/dist/api/QHeader.json +1 -67
- package/dist/api/QIcon.json +1 -69
- package/dist/api/QImg.json +1 -279
- package/dist/api/QInfiniteScroll.json +1 -116
- package/dist/api/QInnerLoading.json +1 -117
- package/dist/api/QInput.json +1 -521
- package/dist/api/QIntersection.json +1 -112
- package/dist/api/QItem.json +1 -203
- package/dist/api/QItemLabel.json +1 -36
- package/dist/api/QItemSection.json +1 -38
- package/dist/api/QKnob.json +1 -197
- package/dist/api/QLayout.json +1 -100
- package/dist/api/QLinearProgress.json +1 -113
- package/dist/api/QList.json +1 -58
- package/dist/api/QMarkupTable.json +1 -64
- package/dist/api/QMenu.json +1 -337
- package/dist/api/QNoSsr.json +1 -38
- package/dist/api/QOptionGroup.json +1 -242
- package/dist/api/QPage.json +1 -42
- package/dist/api/QPageContainer.json +1 -11
- package/dist/api/QPageScroller.json +1 -68
- package/dist/api/QPageSticky.json +1 -44
- package/dist/api/QPagination.json +1 -376
- package/dist/api/QParallax.json +1 -74
- package/dist/api/QPopupEdit.json +1 -335
- package/dist/api/QPopupProxy.json +1 -168
- package/dist/api/QPullToRefresh.json +1 -91
- package/dist/api/QRadio.json +1 -163
- package/dist/api/QRange.json +1 -789
- package/dist/api/QRating.json +1 -186
- package/dist/api/QResizeObserver.json +1 -56
- package/dist/api/QResponsive.json +1 -26
- package/dist/api/QRouteTab.json +1 -225
- package/dist/api/QScrollArea.json +1 -354
- package/dist/api/QScrollObserver.json +1 -140
- package/dist/api/QSelect.json +1 -1387
- package/dist/api/QSeparator.json +1 -72
- package/dist/api/QSkeleton.json +1 -127
- package/dist/api/QSlideItem.json +1 -219
- package/dist/api/QSlideTransition.json +1 -33
- package/dist/api/QSlider.json +1 -687
- package/dist/api/QSpace.json +1 -6
- package/dist/api/QSpinner.json +1 -37
- package/dist/api/QSpinnerAudio.json +1 -30
- package/dist/api/QSpinnerBall.json +1 -30
- package/dist/api/QSpinnerBars.json +1 -30
- package/dist/api/QSpinnerBox.json +1 -30
- package/dist/api/QSpinnerClock.json +1 -30
- package/dist/api/QSpinnerComment.json +1 -30
- package/dist/api/QSpinnerCube.json +1 -30
- package/dist/api/QSpinnerDots.json +1 -30
- package/dist/api/QSpinnerFacebook.json +1 -30
- package/dist/api/QSpinnerGears.json +1 -30
- package/dist/api/QSpinnerGrid.json +1 -30
- package/dist/api/QSpinnerHearts.json +1 -30
- package/dist/api/QSpinnerHourglass.json +1 -30
- package/dist/api/QSpinnerInfinity.json +1 -30
- package/dist/api/QSpinnerIos.json +1 -30
- package/dist/api/QSpinnerOrbit.json +1 -30
- package/dist/api/QSpinnerOval.json +1 -30
- package/dist/api/QSpinnerPie.json +1 -30
- package/dist/api/QSpinnerPuff.json +1 -30
- package/dist/api/QSpinnerRadio.json +1 -30
- package/dist/api/QSpinnerRings.json +1 -30
- package/dist/api/QSpinnerTail.json +1 -30
- package/dist/api/QSplitter.json +1 -146
- package/dist/api/QStep.json +1 -167
- package/dist/api/QStepper.json +1 -340
- package/dist/api/QStepperNavigation.json +1 -11
- package/dist/api/QTab.json +1 -113
- package/dist/api/QTabPanel.json +1 -39
- package/dist/api/QTabPanels.json +1 -203
- package/dist/api/QTable.json +1 -2799
- package/dist/api/QTabs.json +1 -179
- package/dist/api/QTd.json +1 -31
- package/dist/api/QTh.json +1 -26
- package/dist/api/QTime.json +1 -317
- package/dist/api/QTimeline.json +1 -57
- package/dist/api/QTimelineEntry.json +1 -105
- package/dist/api/QToggle.json +1 -230
- package/dist/api/QToolbar.json +1 -18
- package/dist/api/QToolbarTitle.json +1 -18
- package/dist/api/QTooltip.json +1 -282
- package/dist/api/QTr.json +1 -26
- package/dist/api/QTree.json +1 -599
- package/dist/api/QUploader.json +1 -665
- package/dist/api/QUploaderAddTrigger.json +1 -6
- package/dist/api/QVideo.json +1 -83
- package/dist/api/QVirtualScroll.json +1 -260
- package/dist/api/Ripple.json +1 -115
- package/dist/api/Screen.json +1 -190
- package/dist/api/Scroll.json +1 -28
- package/dist/api/ScrollFire.json +1 -24
- package/dist/api/SessionStorage.json +1 -187
- package/dist/api/TouchHold.json +1 -81
- package/dist/api/TouchPan.json +1 -178
- package/dist/api/TouchRepeat.json +1 -142
- package/dist/api/TouchSwipe.json +1 -113
- package/dist/icon-set/bootstrap-icons.umd.prod.js +3 -2
- package/dist/icon-set/eva-icons.umd.prod.js +3 -2
- package/dist/icon-set/fontawesome-v5-pro.umd.prod.js +3 -2
- package/dist/icon-set/fontawesome-v5.umd.prod.js +3 -2
- package/dist/icon-set/fontawesome-v6-pro.umd.prod.js +3 -2
- package/dist/icon-set/fontawesome-v6.umd.prod.js +3 -2
- package/dist/icon-set/ionicons-v4.umd.prod.js +3 -2
- package/dist/icon-set/line-awesome.umd.prod.js +3 -2
- package/dist/icon-set/material-icons-outlined.umd.prod.js +3 -2
- package/dist/icon-set/material-icons-round.umd.prod.js +3 -2
- package/dist/icon-set/material-icons-sharp.umd.prod.js +3 -2
- package/dist/icon-set/material-icons.umd.prod.js +3 -2
- package/dist/icon-set/material-symbols-outlined.umd.prod.js +3 -2
- package/dist/icon-set/material-symbols-rounded.umd.prod.js +3 -2
- package/dist/icon-set/material-symbols-sharp.umd.prod.js +3 -2
- package/dist/icon-set/mdi-v3.umd.prod.js +3 -2
- package/dist/icon-set/mdi-v4.umd.prod.js +3 -2
- package/dist/icon-set/mdi-v5.umd.prod.js +3 -2
- package/dist/icon-set/mdi-v6.umd.prod.js +3 -2
- package/dist/icon-set/mdi-v7.umd.prod.js +3 -2
- package/dist/icon-set/svg-bootstrap-icons.umd.prod.js +3 -2
- package/dist/icon-set/svg-eva-icons.umd.prod.js +3 -2
- package/dist/icon-set/svg-fontawesome-v5.umd.prod.js +3 -2
- package/dist/icon-set/svg-fontawesome-v6.umd.prod.js +3 -2
- package/dist/icon-set/svg-ionicons-v4.umd.prod.js +3 -2
- package/dist/icon-set/svg-ionicons-v5.umd.prod.js +3 -2
- package/dist/icon-set/svg-ionicons-v6.umd.prod.js +3 -2
- package/dist/icon-set/svg-line-awesome.umd.prod.js +3 -2
- package/dist/icon-set/svg-material-icons-outlined.umd.prod.js +3 -2
- package/dist/icon-set/svg-material-icons-round.umd.prod.js +3 -2
- package/dist/icon-set/svg-material-icons-sharp.umd.prod.js +3 -2
- package/dist/icon-set/svg-material-icons.umd.prod.js +3 -2
- package/dist/icon-set/svg-material-symbols-outlined.umd.prod.js +3 -2
- package/dist/icon-set/svg-material-symbols-rounded.umd.prod.js +3 -2
- package/dist/icon-set/svg-material-symbols-sharp.umd.prod.js +3 -2
- package/dist/icon-set/svg-mdi-v6.umd.prod.js +3 -2
- package/dist/icon-set/svg-mdi-v7.umd.prod.js +3 -2
- package/dist/icon-set/svg-themify.umd.prod.js +3 -2
- package/dist/icon-set/themify.umd.prod.js +3 -2
- package/dist/lang/ar-TN.umd.prod.js +3 -2
- package/dist/lang/ar.umd.prod.js +3 -2
- package/dist/lang/az-Latn.umd.prod.js +3 -2
- package/dist/lang/bg.umd.prod.js +3 -2
- package/dist/lang/bn.umd.prod.js +3 -2
- package/dist/lang/ca.umd.prod.js +3 -2
- package/dist/lang/cs.umd.prod.js +3 -2
- package/dist/lang/da.umd.prod.js +3 -2
- package/dist/lang/de-CH.umd.prod.js +3 -2
- package/dist/lang/de-DE.umd.prod.js +3 -2
- package/dist/lang/de.umd.prod.js +3 -2
- package/dist/lang/el.umd.prod.js +3 -2
- package/dist/lang/en-GB.umd.prod.js +3 -2
- package/dist/lang/en-US.umd.prod.js +3 -2
- package/dist/lang/eo.umd.prod.js +3 -2
- package/dist/lang/es.umd.prod.js +3 -2
- package/dist/lang/et.umd.prod.js +3 -2
- package/dist/lang/eu.umd.prod.js +3 -2
- package/dist/lang/fa-IR.umd.prod.js +3 -2
- package/dist/lang/fa.umd.prod.js +3 -2
- package/dist/lang/fi.umd.prod.js +3 -2
- package/dist/lang/fr.umd.prod.js +3 -2
- package/dist/lang/gn.umd.prod.js +3 -2
- package/dist/lang/he.umd.prod.js +3 -2
- package/dist/lang/hi.umd.prod.js +3 -2
- package/dist/lang/hr.umd.prod.js +3 -2
- package/dist/lang/hu.umd.prod.js +3 -2
- package/dist/lang/id.umd.prod.js +3 -2
- package/dist/lang/is.umd.prod.js +3 -2
- package/dist/lang/it.umd.prod.js +3 -2
- package/dist/lang/ja.umd.prod.js +3 -2
- package/dist/lang/kk.umd.prod.js +3 -2
- package/dist/lang/km.umd.prod.js +3 -2
- package/dist/lang/ko-KR.umd.prod.js +3 -2
- package/dist/lang/kur-CKB.umd.prod.js +3 -2
- package/dist/lang/lt.umd.prod.js +3 -2
- package/dist/lang/lu.umd.prod.js +3 -2
- package/dist/lang/lv.umd.prod.js +3 -2
- package/dist/lang/mk.umd.prod.js +3 -2
- package/dist/lang/ml.umd.prod.js +3 -2
- package/dist/lang/mm.umd.prod.js +3 -2
- package/dist/lang/ms.umd.prod.js +3 -2
- package/dist/lang/my.umd.prod.js +3 -2
- package/dist/lang/nb-NO.umd.prod.js +3 -2
- package/dist/lang/nl.umd.prod.js +3 -2
- package/dist/lang/pl.umd.prod.js +3 -2
- package/dist/lang/pt-BR.umd.prod.js +3 -2
- package/dist/lang/pt.umd.prod.js +3 -2
- package/dist/lang/ro.umd.prod.js +3 -2
- package/dist/lang/ru.umd.prod.js +3 -2
- package/dist/lang/sk.umd.prod.js +3 -2
- package/dist/lang/sl.umd.prod.js +3 -2
- package/dist/lang/sm.umd.prod.js +3 -2
- package/dist/lang/sr-CYR.umd.prod.js +3 -2
- package/dist/lang/sr.umd.prod.js +3 -2
- package/dist/lang/sv.umd.prod.js +3 -2
- package/dist/lang/ta.umd.prod.js +3 -2
- package/dist/lang/th.umd.prod.js +3 -2
- package/dist/lang/tl.umd.prod.js +7 -0
- package/dist/lang/tr.umd.prod.js +3 -2
- package/dist/lang/ug.umd.prod.js +3 -2
- package/dist/lang/uk.umd.prod.js +3 -2
- package/dist/lang/uz-Cyrl.umd.prod.js +3 -2
- package/dist/lang/uz-Latn.umd.prod.js +3 -2
- package/dist/lang/vi.umd.prod.js +3 -2
- package/dist/lang/zh-CN.umd.prod.js +3 -2
- package/dist/lang/zh-TW.umd.prod.js +3 -2
- package/dist/quasar.cjs.prod.js +123 -2
- package/dist/quasar.css +25 -30
- package/dist/quasar.esm.js +16930 -26278
- package/dist/quasar.esm.prod.js +123 -2
- package/dist/quasar.prod.css +1 -1
- package/dist/quasar.rtl.css +31 -50
- package/dist/quasar.rtl.prod.css +1 -1
- package/dist/quasar.sass +18 -25
- package/dist/quasar.umd.js +16733 -26521
- package/dist/quasar.umd.prod.js +123 -2
- package/dist/transforms/api-list.json +1 -153
- package/dist/transforms/auto-import.json +1 -267
- package/dist/transforms/import-map.json +1 -181
- package/dist/transforms/loader-asset-urls.json +1 -60
- package/dist/types/api/dialog.d.ts +1 -1
- package/dist/types/api/qinput.d.ts +1 -1
- package/dist/types/api/qtable.d.ts +1 -1
- package/dist/types/api/qtree.d.ts +1 -1
- package/dist/types/api/quploader.d.ts +1 -1
- package/dist/types/api/validation.d.ts +1 -1
- package/dist/types/api/web-storage.d.ts +6 -6
- package/dist/types/feature-flag.d.ts +1 -1
- package/dist/types/globals.d.ts +22 -15
- package/dist/types/index.d.ts +45 -36
- package/dist/types/lang.d.ts +3 -3
- package/dist/types/plugin.d.ts +3 -1
- package/dist/types/ts-helpers.d.ts +3 -3
- package/dist/types/utils/colors.d.ts +1 -1
- package/dist/types/utils/date.d.ts +10 -10
- package/dist/types/utils/dom.d.ts +1 -1
- package/dist/types/utils/run-sequential-promises.d.ts +12 -12
- package/dist/types/utils/scroll.d.ts +5 -5
- package/dist/types/utils.d.ts +15 -13
- package/dist/vetur/quasar-attributes.json +1 -5890
- package/dist/vetur/quasar-tags.json +1 -2084
- package/dist/web-types/web-types.json +1 -19595
- package/lang/index.json +1 -266
- package/lang/tl.js +98 -0
- package/lang/tl.mjs +93 -0
- package/package.json +18 -22
- package/src/body.js +6 -14
- package/src/components/ajax-bar/QAjaxBar.js +1 -1
- package/src/components/breadcrumbs/QBreadcrumbs.js +1 -1
- package/src/components/btn/QBtn.js +6 -6
- package/src/components/btn-dropdown/QBtnDropdown.json +1 -1
- package/src/components/card/QCard.sass +17 -24
- package/src/components/checkbox/use-checkbox.js +1 -1
- package/src/components/chip/QChip.js +1 -1
- package/src/components/color/QColor.js +4 -4
- package/src/components/date/QDate.js +1 -1
- package/src/components/dialog/__tests__/DialogWrapper.vue +33 -0
- package/src/components/dialog/__tests__/QDialog.cy.js +450 -36
- package/src/components/drawer/QDrawer.js +1 -1
- package/src/components/drawer/QDrawer.json +1 -1
- package/src/components/file/QFile.js +2 -2
- package/src/components/footer/QFooter.js +2 -2
- package/src/components/form/QForm.js +3 -3
- package/src/components/header/QHeader.js +1 -1
- package/src/components/img/QImg.js +47 -39
- package/src/components/img/QImg.json +9 -0
- package/src/components/inner-loading/QInnerLoading.js +1 -1
- package/src/components/inner-loading/QInnerLoading.sass +1 -0
- package/src/components/input/use-mask.js +3 -3
- package/src/components/menu/QMenu.json +1 -1
- package/src/components/no-ssr/QNoSsr.js +4 -4
- package/src/components/page-sticky/use-page-sticky.js +4 -4
- package/src/components/popup-edit/QPopupEdit.js +1 -1
- package/src/components/resize-observer/QResizeObserver.js +1 -0
- package/src/components/scroll-area/QScrollArea.js +1 -1
- package/src/components/select/QSelect.js +9 -9
- package/src/components/table/QTd.js +1 -1
- package/src/components/table/QTh.js +1 -1
- package/src/components/tabs/QTabs.js +3 -3
- package/src/components/time/QTime.js +3 -3
- package/src/components/tooltip/QTooltip.js +4 -2
- package/src/components/tooltip/QTooltip.json +6 -0
- package/src/components/tree/QTree.js +1 -1
- package/src/components/uploader/uploader-core.js +2 -2
- package/src/components/uploader/xhr-uploader-plugin.js +1 -1
- package/src/components/virtual-scroll/use-virtual-scroll.js +3 -3
- package/src/composables/private/__tests__/use-model-toggle.cy.js +43 -3
- package/src/composables/private/use-anchor.js +1 -1
- package/src/composables/private/use-key-composition.js +1 -1
- package/src/composables/private/use-panel.js +1 -1
- package/src/composables/private/use-portal.js +1 -1
- package/src/composables/private/use-router-link.js +1 -1
- package/src/directives/TouchPan.js +1 -1
- package/src/history.js +1 -1
- package/src/index.umd.js +5 -1
- package/src/lang.js +1 -1
- package/src/plugins/BottomSheet.json +1 -1
- package/src/plugins/Cookies.js +1 -1
- package/src/plugins/Dark.js +1 -1
- package/src/plugins/Loading.js +1 -1
- package/src/plugins/LoadingBar.js +1 -1
- package/src/plugins/Notify.js +4 -4
- package/src/plugins/Platform.js +111 -93
- package/src/plugins/Screen.js +1 -1
- package/src/utils/event.js +1 -1
- package/src/utils/frame-debounce.js +1 -1
- package/src/utils/morph.js +1 -1
- package/src/utils/private/click-outside.js +1 -1
- package/src/utils/private/escape-key.js +1 -1
- package/src/utils/private/focusout.js +1 -1
package/dist/api/Screen.json
CHANGED
|
@@ -1,190 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "plugin",
|
|
3
|
-
"meta": {
|
|
4
|
-
"docsUrl": "https://v2.quasar.dev/options/screen-plugin"
|
|
5
|
-
},
|
|
6
|
-
"injection": "$q.screen",
|
|
7
|
-
"quasarConfOptions": {
|
|
8
|
-
"propName": "screen",
|
|
9
|
-
"type": "Object",
|
|
10
|
-
"definition": {
|
|
11
|
-
"bodyClasses": {
|
|
12
|
-
"type": "Boolean",
|
|
13
|
-
"desc": "Whether to apply CSS classes for the current window breakpoint to the body element"
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
"props": {
|
|
18
|
-
"width": {
|
|
19
|
-
"type": "Number",
|
|
20
|
-
"desc": "Screen width (in pixels)",
|
|
21
|
-
"reactive": true,
|
|
22
|
-
"examples": [
|
|
23
|
-
452
|
|
24
|
-
]
|
|
25
|
-
},
|
|
26
|
-
"height": {
|
|
27
|
-
"type": "Number",
|
|
28
|
-
"desc": "Screen height (in pixels)",
|
|
29
|
-
"reactive": true,
|
|
30
|
-
"examples": [
|
|
31
|
-
721
|
|
32
|
-
]
|
|
33
|
-
},
|
|
34
|
-
"name": {
|
|
35
|
-
"type": "String",
|
|
36
|
-
"desc": "Tells current window breakpoint",
|
|
37
|
-
"values": [
|
|
38
|
-
"xs",
|
|
39
|
-
"sm",
|
|
40
|
-
"md",
|
|
41
|
-
"lg",
|
|
42
|
-
"xl"
|
|
43
|
-
],
|
|
44
|
-
"reactive": true
|
|
45
|
-
},
|
|
46
|
-
"sizes": {
|
|
47
|
-
"type": "Object",
|
|
48
|
-
"desc": "Breakpoints (in pixels)",
|
|
49
|
-
"definition": {
|
|
50
|
-
"sm": {
|
|
51
|
-
"type": "Number",
|
|
52
|
-
"desc": "Breakpoint width size (minimum size)"
|
|
53
|
-
},
|
|
54
|
-
"md": {
|
|
55
|
-
"type": "Number",
|
|
56
|
-
"desc": "Breakpoint width size (minimum size)"
|
|
57
|
-
},
|
|
58
|
-
"lg": {
|
|
59
|
-
"type": "Number",
|
|
60
|
-
"desc": "Breakpoint width size (minimum size)"
|
|
61
|
-
},
|
|
62
|
-
"xl": {
|
|
63
|
-
"type": "Number",
|
|
64
|
-
"desc": "Breakpoint width size (minimum size)"
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
"reactive": true,
|
|
68
|
-
"examples": [
|
|
69
|
-
"{ sm: 600, md: 1024, lg: 1440, xl: 1920 }"
|
|
70
|
-
]
|
|
71
|
-
},
|
|
72
|
-
"lt": {
|
|
73
|
-
"type": "Object",
|
|
74
|
-
"desc": "Tells if current screen width is lower than breakpoint-name",
|
|
75
|
-
"reactive": true,
|
|
76
|
-
"definition": {
|
|
77
|
-
"sm": {
|
|
78
|
-
"type": "Boolean",
|
|
79
|
-
"desc": "Is current screen width lower than this breakpoint's lowest limit?"
|
|
80
|
-
},
|
|
81
|
-
"md": {
|
|
82
|
-
"type": "Boolean",
|
|
83
|
-
"desc": "Is current screen width lower than this breakpoint's lowest limit?"
|
|
84
|
-
},
|
|
85
|
-
"lg": {
|
|
86
|
-
"type": "Boolean",
|
|
87
|
-
"desc": "Is current screen width lower than this breakpoint's lowest limit?"
|
|
88
|
-
},
|
|
89
|
-
"xl": {
|
|
90
|
-
"type": "Boolean",
|
|
91
|
-
"desc": "Is current screen width lower than this breakpoint's lowest limit?"
|
|
92
|
-
}
|
|
93
|
-
},
|
|
94
|
-
"examples": [
|
|
95
|
-
"{ sm: false, md: true, lg: true, xl: true }"
|
|
96
|
-
]
|
|
97
|
-
},
|
|
98
|
-
"gt": {
|
|
99
|
-
"type": "Object",
|
|
100
|
-
"desc": "Tells if current screen width is greater than breakpoint-name",
|
|
101
|
-
"reactive": true,
|
|
102
|
-
"definition": {
|
|
103
|
-
"xs": {
|
|
104
|
-
"type": "Boolean",
|
|
105
|
-
"desc": "Is current screen width greater than this breakpoint's max limit?"
|
|
106
|
-
},
|
|
107
|
-
"sm": {
|
|
108
|
-
"type": "Boolean",
|
|
109
|
-
"desc": "Is current screen width greater than this breakpoint's max limit?"
|
|
110
|
-
},
|
|
111
|
-
"md": {
|
|
112
|
-
"type": "Boolean",
|
|
113
|
-
"desc": "Is current screen width greater than this breakpoint's max limit?"
|
|
114
|
-
},
|
|
115
|
-
"lg": {
|
|
116
|
-
"type": "Boolean",
|
|
117
|
-
"desc": "Is current screen width greater than this breakpoint's max limit?"
|
|
118
|
-
}
|
|
119
|
-
},
|
|
120
|
-
"examples": [
|
|
121
|
-
"{ xs: true, sm: true, md: false, lg: false, xl: false }"
|
|
122
|
-
]
|
|
123
|
-
},
|
|
124
|
-
"xs": {
|
|
125
|
-
"type": "Boolean",
|
|
126
|
-
"desc": "Current screen width fits exactly 'xs' breakpoint",
|
|
127
|
-
"reactive": true
|
|
128
|
-
},
|
|
129
|
-
"sm": {
|
|
130
|
-
"type": "Boolean",
|
|
131
|
-
"desc": "Current screen width fits exactly 'sm' breakpoint",
|
|
132
|
-
"reactive": true
|
|
133
|
-
},
|
|
134
|
-
"md": {
|
|
135
|
-
"type": "Boolean",
|
|
136
|
-
"desc": "Current screen width fits exactly 'md' breakpoint",
|
|
137
|
-
"reactive": true
|
|
138
|
-
},
|
|
139
|
-
"lg": {
|
|
140
|
-
"type": "Boolean",
|
|
141
|
-
"desc": "Current screen width fits exactly 'lg' breakpoint",
|
|
142
|
-
"reactive": true
|
|
143
|
-
},
|
|
144
|
-
"xl": {
|
|
145
|
-
"type": "Boolean",
|
|
146
|
-
"desc": "Current screen width fits exactly 'xl' breakpoint",
|
|
147
|
-
"reactive": true
|
|
148
|
-
}
|
|
149
|
-
},
|
|
150
|
-
"methods": {
|
|
151
|
-
"setSizes": {
|
|
152
|
-
"desc": "Override default breakpoint sizes",
|
|
153
|
-
"params": {
|
|
154
|
-
"breakpoints": {
|
|
155
|
-
"type": "Object",
|
|
156
|
-
"desc": "Pick what you want to override",
|
|
157
|
-
"definition": {
|
|
158
|
-
"sm": {
|
|
159
|
-
"type": "Number",
|
|
160
|
-
"desc": "Breakpoint width size (minimum size)"
|
|
161
|
-
},
|
|
162
|
-
"md": {
|
|
163
|
-
"type": "Number",
|
|
164
|
-
"desc": "Breakpoint width size (minimum size)"
|
|
165
|
-
},
|
|
166
|
-
"lg": {
|
|
167
|
-
"type": "Number",
|
|
168
|
-
"desc": "Breakpoint width size (minimum size)"
|
|
169
|
-
},
|
|
170
|
-
"xl": {
|
|
171
|
-
"type": "Number",
|
|
172
|
-
"desc": "Breakpoint width size (minimum size)"
|
|
173
|
-
}
|
|
174
|
-
},
|
|
175
|
-
"required": true
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
},
|
|
179
|
-
"setDebounce": {
|
|
180
|
-
"desc": "Debounce update of all props when screen width/height changes",
|
|
181
|
-
"params": {
|
|
182
|
-
"amount": {
|
|
183
|
-
"type": "Number",
|
|
184
|
-
"desc": "Amount in milliseconds",
|
|
185
|
-
"required": true
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
}
|
|
1
|
+
{"type":"plugin","meta":{"docsUrl":"https://v2.quasar.dev/options/screen-plugin"},"injection":"$q.screen","quasarConfOptions":{"propName":"screen","type":"Object","definition":{"bodyClasses":{"type":"Boolean","desc":"Whether to apply CSS classes for the current window breakpoint to the body element"}}},"props":{"width":{"type":"Number","desc":"Screen width (in pixels)","reactive":true,"examples":[452]},"height":{"type":"Number","desc":"Screen height (in pixels)","reactive":true,"examples":[721]},"name":{"type":"String","desc":"Tells current window breakpoint","values":["xs","sm","md","lg","xl"],"reactive":true},"sizes":{"type":"Object","desc":"Breakpoints (in pixels)","definition":{"sm":{"type":"Number","desc":"Breakpoint width size (minimum size)"},"md":{"type":"Number","desc":"Breakpoint width size (minimum size)"},"lg":{"type":"Number","desc":"Breakpoint width size (minimum size)"},"xl":{"type":"Number","desc":"Breakpoint width size (minimum size)"}},"reactive":true,"examples":["{ sm: 600, md: 1024, lg: 1440, xl: 1920 }"]},"lt":{"type":"Object","desc":"Tells if current screen width is lower than breakpoint-name","reactive":true,"definition":{"sm":{"type":"Boolean","desc":"Is current screen width lower than this breakpoint's lowest limit?"},"md":{"type":"Boolean","desc":"Is current screen width lower than this breakpoint's lowest limit?"},"lg":{"type":"Boolean","desc":"Is current screen width lower than this breakpoint's lowest limit?"},"xl":{"type":"Boolean","desc":"Is current screen width lower than this breakpoint's lowest limit?"}},"examples":["{ sm: false, md: true, lg: true, xl: true }"]},"gt":{"type":"Object","desc":"Tells if current screen width is greater than breakpoint-name","reactive":true,"definition":{"xs":{"type":"Boolean","desc":"Is current screen width greater than this breakpoint's max limit?"},"sm":{"type":"Boolean","desc":"Is current screen width greater than this breakpoint's max limit?"},"md":{"type":"Boolean","desc":"Is current screen width greater than this breakpoint's max limit?"},"lg":{"type":"Boolean","desc":"Is current screen width greater than this breakpoint's max limit?"}},"examples":["{ xs: true, sm: true, md: false, lg: false, xl: false }"]},"xs":{"type":"Boolean","desc":"Current screen width fits exactly 'xs' breakpoint","reactive":true},"sm":{"type":"Boolean","desc":"Current screen width fits exactly 'sm' breakpoint","reactive":true},"md":{"type":"Boolean","desc":"Current screen width fits exactly 'md' breakpoint","reactive":true},"lg":{"type":"Boolean","desc":"Current screen width fits exactly 'lg' breakpoint","reactive":true},"xl":{"type":"Boolean","desc":"Current screen width fits exactly 'xl' breakpoint","reactive":true}},"methods":{"setSizes":{"desc":"Override default breakpoint sizes","params":{"breakpoints":{"type":"Object","desc":"Pick what you want to override","definition":{"sm":{"type":"Number","desc":"Breakpoint width size (minimum size)"},"md":{"type":"Number","desc":"Breakpoint width size (minimum size)"},"lg":{"type":"Number","desc":"Breakpoint width size (minimum size)"},"xl":{"type":"Number","desc":"Breakpoint width size (minimum size)"}},"required":true}}},"setDebounce":{"desc":"Debounce update of all props when screen width/height changes","params":{"amount":{"type":"Number","desc":"Amount in milliseconds","required":true}}}}}
|
package/dist/api/Scroll.json
CHANGED
|
@@ -1,28 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "directive",
|
|
3
|
-
"meta": {
|
|
4
|
-
"docsUrl": "https://v2.quasar.dev/vue-directives/scroll"
|
|
5
|
-
},
|
|
6
|
-
"value": {
|
|
7
|
-
"type": [
|
|
8
|
-
"Function",
|
|
9
|
-
"undefined"
|
|
10
|
-
],
|
|
11
|
-
"desc": "Function to call when scrolling occurs (use undefined to disable)",
|
|
12
|
-
"params": {
|
|
13
|
-
"verticalScrollPosition": {
|
|
14
|
-
"type": "Number",
|
|
15
|
-
"desc": "Scroll offset from top"
|
|
16
|
-
},
|
|
17
|
-
"horizontalScrollPosition": {
|
|
18
|
-
"type": "Number",
|
|
19
|
-
"desc": "Scroll offset from left"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"returns": null,
|
|
23
|
-
"examples": [
|
|
24
|
-
"v-scroll=\"fnToCall\"",
|
|
25
|
-
"v-scroll=\"undefined\""
|
|
26
|
-
]
|
|
27
|
-
}
|
|
28
|
-
}
|
|
1
|
+
{"type":"directive","meta":{"docsUrl":"https://v2.quasar.dev/vue-directives/scroll"},"value":{"type":["Function","undefined"],"desc":"Function to call when scrolling occurs (use undefined to disable)","params":{"verticalScrollPosition":{"type":"Number","desc":"Scroll offset from top"},"horizontalScrollPosition":{"type":"Number","desc":"Scroll offset from left"}},"returns":null,"examples":["v-scroll=\"fnToCall\"","v-scroll=\"undefined\""]}}
|
package/dist/api/ScrollFire.json
CHANGED
|
@@ -1,24 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "directive",
|
|
3
|
-
"meta": {
|
|
4
|
-
"docsUrl": "https://v2.quasar.dev/vue-directives/scroll-fire"
|
|
5
|
-
},
|
|
6
|
-
"value": {
|
|
7
|
-
"type": [
|
|
8
|
-
"Function",
|
|
9
|
-
"undefined"
|
|
10
|
-
],
|
|
11
|
-
"desc": "Function to call when scrolling and element comes into the viewport (use undefined to disable)",
|
|
12
|
-
"params": {
|
|
13
|
-
"el": {
|
|
14
|
-
"type": "Element",
|
|
15
|
-
"desc": "DOM element that scroll-fire is applied to"
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
"returns": null,
|
|
19
|
-
"examples": [
|
|
20
|
-
"v-scroll-fire=\"fnToCall\"",
|
|
21
|
-
"v-scroll-fire=\"undefined\""
|
|
22
|
-
]
|
|
23
|
-
}
|
|
24
|
-
}
|
|
1
|
+
{"type":"directive","meta":{"docsUrl":"https://v2.quasar.dev/vue-directives/scroll-fire"},"value":{"type":["Function","undefined"],"desc":"Function to call when scrolling and element comes into the viewport (use undefined to disable)","params":{"el":{"type":"Element","desc":"DOM element that scroll-fire is applied to"}},"returns":null,"examples":["v-scroll-fire=\"fnToCall\"","v-scroll-fire=\"undefined\""]}}
|
|
@@ -1,187 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "plugin",
|
|
3
|
-
"meta": {
|
|
4
|
-
"docsUrl": "https://v2.quasar.dev/quasar-plugins/web-storage"
|
|
5
|
-
},
|
|
6
|
-
"injection": "$q.sessionStorage",
|
|
7
|
-
"methods": {
|
|
8
|
-
"has": {
|
|
9
|
-
"desc": "Check if storage item exists",
|
|
10
|
-
"params": {
|
|
11
|
-
"key": {
|
|
12
|
-
"type": "String",
|
|
13
|
-
"desc": "Entry key",
|
|
14
|
-
"required": true,
|
|
15
|
-
"examples": [
|
|
16
|
-
"userId"
|
|
17
|
-
]
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
"returns": {
|
|
21
|
-
"type": "Boolean",
|
|
22
|
-
"desc": "Does the item exists or not?"
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
"getLength": {
|
|
26
|
-
"desc": "Get storage number of entries",
|
|
27
|
-
"returns": {
|
|
28
|
-
"type": "Number",
|
|
29
|
-
"desc": "Number of entries"
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
"getItem": {
|
|
33
|
-
"tsType": "WebStorageGetItemMethodType",
|
|
34
|
-
"desc": "Get a storage item value",
|
|
35
|
-
"params": {
|
|
36
|
-
"key": {
|
|
37
|
-
"type": "String",
|
|
38
|
-
"desc": "Entry key",
|
|
39
|
-
"required": true,
|
|
40
|
-
"examples": [
|
|
41
|
-
"userId"
|
|
42
|
-
]
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
"returns": {
|
|
46
|
-
"type": [
|
|
47
|
-
"Date",
|
|
48
|
-
"RegExp",
|
|
49
|
-
"Number",
|
|
50
|
-
"Boolean",
|
|
51
|
-
"Function",
|
|
52
|
-
"Object",
|
|
53
|
-
"Array",
|
|
54
|
-
"String",
|
|
55
|
-
"null"
|
|
56
|
-
],
|
|
57
|
-
"desc": "Storage item value",
|
|
58
|
-
"examples": [
|
|
59
|
-
"john12",
|
|
60
|
-
702
|
|
61
|
-
]
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
"getIndex": {
|
|
65
|
-
"tsType": "WebStorageGetIndexMethodType",
|
|
66
|
-
"desc": "Get the storage item value at specific index",
|
|
67
|
-
"params": {
|
|
68
|
-
"index": {
|
|
69
|
-
"type": "Number",
|
|
70
|
-
"desc": "Entry index",
|
|
71
|
-
"required": true
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
"returns": {
|
|
75
|
-
"type": [
|
|
76
|
-
"Number",
|
|
77
|
-
"null"
|
|
78
|
-
],
|
|
79
|
-
"desc": "Storage item index"
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
"getKey": {
|
|
83
|
-
"tsType": "WebStorageGetKeyMethodType",
|
|
84
|
-
"desc": "Get the storage key at specific index",
|
|
85
|
-
"params": {
|
|
86
|
-
"index": {
|
|
87
|
-
"type": "Number",
|
|
88
|
-
"desc": "Entry index",
|
|
89
|
-
"required": true
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
"returns": {
|
|
93
|
-
"type": [
|
|
94
|
-
"String",
|
|
95
|
-
"null"
|
|
96
|
-
],
|
|
97
|
-
"desc": "Storage key",
|
|
98
|
-
"examples": [
|
|
99
|
-
"userId"
|
|
100
|
-
]
|
|
101
|
-
}
|
|
102
|
-
},
|
|
103
|
-
"getAll": {
|
|
104
|
-
"desc": "Retrieve all items in storage",
|
|
105
|
-
"returns": {
|
|
106
|
-
"type": "Object",
|
|
107
|
-
"desc": "Object syntax: item name as Object key and its value",
|
|
108
|
-
"examples": [
|
|
109
|
-
"{ userId: 'jon12', timesLoggedIn: 14 }"
|
|
110
|
-
]
|
|
111
|
-
}
|
|
112
|
-
},
|
|
113
|
-
"getAllKeys": {
|
|
114
|
-
"tsType": "WebStorageGetAllKeysMethodType",
|
|
115
|
-
"desc": "Retrieve all keys in storage",
|
|
116
|
-
"returns": {
|
|
117
|
-
"type": "Array",
|
|
118
|
-
"desc": "Storage keys (Array of Strings)",
|
|
119
|
-
"examples": [
|
|
120
|
-
"['userId', 'password']"
|
|
121
|
-
]
|
|
122
|
-
}
|
|
123
|
-
},
|
|
124
|
-
"set": {
|
|
125
|
-
"desc": "Set item in storage",
|
|
126
|
-
"params": {
|
|
127
|
-
"key": {
|
|
128
|
-
"type": "String",
|
|
129
|
-
"desc": "Entry key",
|
|
130
|
-
"required": true,
|
|
131
|
-
"examples": [
|
|
132
|
-
"userId"
|
|
133
|
-
]
|
|
134
|
-
},
|
|
135
|
-
"value": {
|
|
136
|
-
"type": [
|
|
137
|
-
"Date",
|
|
138
|
-
"RegExp",
|
|
139
|
-
"Number",
|
|
140
|
-
"Boolean",
|
|
141
|
-
"Function",
|
|
142
|
-
"Object",
|
|
143
|
-
"Array",
|
|
144
|
-
"String",
|
|
145
|
-
"null"
|
|
146
|
-
],
|
|
147
|
-
"desc": "Entry value",
|
|
148
|
-
"required": true,
|
|
149
|
-
"params": {
|
|
150
|
-
"...params": {
|
|
151
|
-
"type": "Any"
|
|
152
|
-
}
|
|
153
|
-
},
|
|
154
|
-
"returns": {
|
|
155
|
-
"type": "Any"
|
|
156
|
-
},
|
|
157
|
-
"examples": [
|
|
158
|
-
"john12"
|
|
159
|
-
]
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
},
|
|
163
|
-
"remove": {
|
|
164
|
-
"desc": "Remove a storage item",
|
|
165
|
-
"params": {
|
|
166
|
-
"key": {
|
|
167
|
-
"type": "String",
|
|
168
|
-
"desc": "Storage key",
|
|
169
|
-
"required": true,
|
|
170
|
-
"examples": [
|
|
171
|
-
"userId"
|
|
172
|
-
]
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
},
|
|
176
|
-
"clear": {
|
|
177
|
-
"desc": "Remove everything from the storage"
|
|
178
|
-
},
|
|
179
|
-
"isEmpty": {
|
|
180
|
-
"desc": "Determine if storage has any items",
|
|
181
|
-
"returns": {
|
|
182
|
-
"type": "Boolean",
|
|
183
|
-
"desc": "Tells if storage is empty or not"
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
}
|
|
1
|
+
{"type":"plugin","meta":{"docsUrl":"https://v2.quasar.dev/quasar-plugins/web-storage"},"injection":"$q.sessionStorage","methods":{"has":{"desc":"Check if storage item exists","params":{"key":{"type":"String","desc":"Entry key","required":true,"examples":["userId"]}},"returns":{"type":"Boolean","desc":"Does the item exists or not?"}},"getLength":{"desc":"Get storage number of entries","returns":{"type":"Number","desc":"Number of entries"}},"getItem":{"tsType":"WebStorageGetItemMethodType","desc":"Get a storage item value","params":{"key":{"type":"String","desc":"Entry key","required":true,"examples":["userId"]}},"returns":{"type":["Date","RegExp","Number","Boolean","Function","Object","Array","String","null"],"desc":"Storage item value","examples":["john12",702]}},"getIndex":{"tsType":"WebStorageGetIndexMethodType","desc":"Get the storage item value at specific index","params":{"index":{"type":"Number","desc":"Entry index","required":true}},"returns":{"type":["Number","null"],"desc":"Storage item index"}},"getKey":{"tsType":"WebStorageGetKeyMethodType","desc":"Get the storage key at specific index","params":{"index":{"type":"Number","desc":"Entry index","required":true}},"returns":{"type":["String","null"],"desc":"Storage key","examples":["userId"]}},"getAll":{"desc":"Retrieve all items in storage","returns":{"type":"Object","desc":"Object syntax: item name as Object key and its value","examples":["{ userId: 'jon12', timesLoggedIn: 14 }"]}},"getAllKeys":{"tsType":"WebStorageGetAllKeysMethodType","desc":"Retrieve all keys in storage","returns":{"type":"Array","desc":"Storage keys (Array of Strings)","examples":["['userId', 'password']"]}},"set":{"desc":"Set item in storage","params":{"key":{"type":"String","desc":"Entry key","required":true,"examples":["userId"]},"value":{"type":["Date","RegExp","Number","Boolean","Function","Object","Array","String","null"],"desc":"Entry value","required":true,"params":{"...params":{"type":"Any"}},"returns":{"type":"Any"},"examples":["john12"]}}},"remove":{"desc":"Remove a storage item","params":{"key":{"type":"String","desc":"Storage key","required":true,"examples":["userId"]}}},"clear":{"desc":"Remove everything from the storage"},"isEmpty":{"desc":"Determine if storage has any items","returns":{"type":"Boolean","desc":"Tells if storage is empty or not"}}}}
|
package/dist/api/TouchHold.json
CHANGED
|
@@ -1,81 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "directive",
|
|
3
|
-
"meta": {
|
|
4
|
-
"docsUrl": "https://v2.quasar.dev/vue-directives/touch-hold"
|
|
5
|
-
},
|
|
6
|
-
"value": {
|
|
7
|
-
"type": [
|
|
8
|
-
"Function",
|
|
9
|
-
"undefined"
|
|
10
|
-
],
|
|
11
|
-
"desc": "Function to call after user has hold touch/click for the specified amount of time (use undefined to disable)",
|
|
12
|
-
"params": {
|
|
13
|
-
"details": {
|
|
14
|
-
"type": "Object",
|
|
15
|
-
"desc": "Event details",
|
|
16
|
-
"definition": {
|
|
17
|
-
"evt": {
|
|
18
|
-
"type": "Event",
|
|
19
|
-
"desc": "Original JS event Object"
|
|
20
|
-
},
|
|
21
|
-
"touch": {
|
|
22
|
-
"type": "Boolean",
|
|
23
|
-
"desc": "Triggered by a touch event"
|
|
24
|
-
},
|
|
25
|
-
"mouse": {
|
|
26
|
-
"type": "Boolean",
|
|
27
|
-
"desc": "Triggered by a mouse event"
|
|
28
|
-
},
|
|
29
|
-
"position": {
|
|
30
|
-
"type": "Object",
|
|
31
|
-
"desc": "Event Position Object",
|
|
32
|
-
"definition": {
|
|
33
|
-
"top": {
|
|
34
|
-
"type": "Number",
|
|
35
|
-
"desc": "Vertical offset from top of window"
|
|
36
|
-
},
|
|
37
|
-
"left": {
|
|
38
|
-
"type": "Number",
|
|
39
|
-
"desc": "Horizontal offset from left of window"
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
"duration": {
|
|
44
|
-
"type": "Number",
|
|
45
|
-
"desc": "How long it took to trigger the event (in milliseconds)"
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
"returns": null,
|
|
51
|
-
"examples": [
|
|
52
|
-
"v-touch-hold=\"fnToCall\"",
|
|
53
|
-
"v-touch-hold=\"undefined\""
|
|
54
|
-
]
|
|
55
|
-
},
|
|
56
|
-
"arg": {
|
|
57
|
-
"type": "String",
|
|
58
|
-
"desc": "x:y:z, where x is the amount of time to wait (in milliseconds), y is the touch event sensitivity (in pixels) and z is the mouse event sensitivity (in pixels)",
|
|
59
|
-
"default": "600:5:7",
|
|
60
|
-
"examples": [
|
|
61
|
-
"v-touch-hold:400=\"fnToCall\"",
|
|
62
|
-
"v-touch-hold:400:15=\"fnToCall\"",
|
|
63
|
-
"v-touch-hold:400:10:10=\"fnToCall\""
|
|
64
|
-
],
|
|
65
|
-
"required": false
|
|
66
|
-
},
|
|
67
|
-
"modifiers": {
|
|
68
|
-
"capture": {
|
|
69
|
-
"type": "Boolean",
|
|
70
|
-
"desc": "Use capture for touchstart event"
|
|
71
|
-
},
|
|
72
|
-
"mouse": {
|
|
73
|
-
"type": "Boolean",
|
|
74
|
-
"desc": "Listen for mouse events too"
|
|
75
|
-
},
|
|
76
|
-
"mouseCapture": {
|
|
77
|
-
"type": "Boolean",
|
|
78
|
-
"desc": "Use capture for mousedown event"
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
}
|
|
1
|
+
{"type":"directive","meta":{"docsUrl":"https://v2.quasar.dev/vue-directives/touch-hold"},"value":{"type":["Function","undefined"],"desc":"Function to call after user has hold touch/click for the specified amount of time (use undefined to disable)","params":{"details":{"type":"Object","desc":"Event details","definition":{"evt":{"type":"Event","desc":"Original JS event Object"},"touch":{"type":"Boolean","desc":"Triggered by a touch event"},"mouse":{"type":"Boolean","desc":"Triggered by a mouse event"},"position":{"type":"Object","desc":"Event Position Object","definition":{"top":{"type":"Number","desc":"Vertical offset from top of window"},"left":{"type":"Number","desc":"Horizontal offset from left of window"}}},"duration":{"type":"Number","desc":"How long it took to trigger the event (in milliseconds)"}}}},"returns":null,"examples":["v-touch-hold=\"fnToCall\"","v-touch-hold=\"undefined\""]},"arg":{"type":"String","desc":"x:y:z, where x is the amount of time to wait (in milliseconds), y is the touch event sensitivity (in pixels) and z is the mouse event sensitivity (in pixels)","default":"600:5:7","examples":["v-touch-hold:400=\"fnToCall\"","v-touch-hold:400:15=\"fnToCall\"","v-touch-hold:400:10:10=\"fnToCall\""],"required":false},"modifiers":{"capture":{"type":"Boolean","desc":"Use capture for touchstart event"},"mouse":{"type":"Boolean","desc":"Listen for mouse events too"},"mouseCapture":{"type":"Boolean","desc":"Use capture for mousedown event"}}}
|