quasar 2.14.5 → 2.14.7
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-MY.umd.prod.js +7 -0
- 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.addon.prod.css +1 -1
- package/dist/quasar.addon.rtl.prod.css +1 -1
- package/dist/quasar.cjs.prod.js +123 -2
- package/dist/quasar.css +5 -2
- package/dist/quasar.esm.js +16928 -26277
- package/dist/quasar.esm.prod.js +123 -2
- package/dist/quasar.prod.css +1 -1
- package/dist/quasar.rtl.css +5 -2
- package/dist/quasar.rtl.prod.css +1 -1
- package/dist/quasar.sass +9 -7
- package/dist/quasar.umd.js +16732 -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 +48 -166
- 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/ms-MY.js +101 -0
- package/lang/ms-MY.mjs +96 -0
- package/lang/tl.js +98 -0
- package/lang/tl.mjs +93 -0
- package/package.json +17 -21
- 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/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/color/QColor.sass +1 -1
- 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/field/QField.sass +2 -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/input/use-mask.js +3 -3
- package/src/components/menu/QMenu.json +1 -1
- package/src/components/page-sticky/use-page-sticky.js +4 -4
- package/src/components/popup-edit/QPopupEdit.js +1 -1
- package/src/components/scroll-area/QScrollArea.js +1 -1
- package/src/components/select/QSelect.js +9 -9
- package/src/components/table/QTable.sass +2 -2
- 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/css/core/colors.sass +0 -2
- package/src/css/core/visibility.sass +2 -1
- package/src/css/normalize.sass +1 -1
- package/src/directives/Intersection.json +13 -0
- 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/QSlider.json
CHANGED
|
@@ -1,687 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "component",
|
|
3
|
-
"meta": {
|
|
4
|
-
"docsUrl": "https://v2.quasar.dev/vue-components/slider"
|
|
5
|
-
},
|
|
6
|
-
"props": {
|
|
7
|
-
"name": {
|
|
8
|
-
"type": "String",
|
|
9
|
-
"desc": "Used to specify the name of the control; Useful if dealing with forms submitted directly to a URL",
|
|
10
|
-
"examples": [
|
|
11
|
-
"car_id"
|
|
12
|
-
],
|
|
13
|
-
"category": "behavior"
|
|
14
|
-
},
|
|
15
|
-
"min": {
|
|
16
|
-
"type": "Number",
|
|
17
|
-
"desc": "Minimum value of the model; Set track's minimum value",
|
|
18
|
-
"default": 0,
|
|
19
|
-
"examples": [
|
|
20
|
-
":min=\"0\""
|
|
21
|
-
],
|
|
22
|
-
"category": "model",
|
|
23
|
-
"required": false
|
|
24
|
-
},
|
|
25
|
-
"max": {
|
|
26
|
-
"type": "Number",
|
|
27
|
-
"desc": "Maximum value of the model; Set track's maximum value",
|
|
28
|
-
"default": 100,
|
|
29
|
-
"category": "model",
|
|
30
|
-
"required": false
|
|
31
|
-
},
|
|
32
|
-
"inner-min": {
|
|
33
|
-
"type": "Number",
|
|
34
|
-
"desc": "Inner minimum value of the model; Use in case you need the model value to be inside of the track's min-max values; Needs to be higher or equal to 'min' prop; Defaults to 'min' prop",
|
|
35
|
-
"category": "model",
|
|
36
|
-
"addedIn": "v2.4"
|
|
37
|
-
},
|
|
38
|
-
"inner-max": {
|
|
39
|
-
"type": "Number",
|
|
40
|
-
"desc": "Inner maximum value of the model; Use in case you need the model value to be inside of the track's min-max values; Needs to be lower or equal to 'max' prop; Defaults to 'max' prop",
|
|
41
|
-
"category": "model",
|
|
42
|
-
"addedIn": "v2.4"
|
|
43
|
-
},
|
|
44
|
-
"step": {
|
|
45
|
-
"type": "Number",
|
|
46
|
-
"desc": "Specify step amount between valid values (> 0.0); When step equals to 0 it defines infinite granularity",
|
|
47
|
-
"default": 1,
|
|
48
|
-
"category": "model",
|
|
49
|
-
"required": false
|
|
50
|
-
},
|
|
51
|
-
"snap": {
|
|
52
|
-
"type": "Boolean",
|
|
53
|
-
"desc": "Snap on valid values, rather than sliding freely; Suggestion: use with 'step' prop",
|
|
54
|
-
"category": "behavior"
|
|
55
|
-
},
|
|
56
|
-
"reverse": {
|
|
57
|
-
"type": "Boolean",
|
|
58
|
-
"desc": "Work in reverse (changes direction)",
|
|
59
|
-
"category": "behavior"
|
|
60
|
-
},
|
|
61
|
-
"vertical": {
|
|
62
|
-
"type": "Boolean",
|
|
63
|
-
"desc": "Display in vertical direction",
|
|
64
|
-
"category": "behavior"
|
|
65
|
-
},
|
|
66
|
-
"color": {
|
|
67
|
-
"type": "String",
|
|
68
|
-
"tsType": "NamedColor",
|
|
69
|
-
"desc": "Color name for component from the Quasar Color Palette",
|
|
70
|
-
"examples": [
|
|
71
|
-
"primary",
|
|
72
|
-
"teal",
|
|
73
|
-
"teal-10"
|
|
74
|
-
],
|
|
75
|
-
"category": "style"
|
|
76
|
-
},
|
|
77
|
-
"track-color": {
|
|
78
|
-
"type": "String",
|
|
79
|
-
"tsType": "NamedColor",
|
|
80
|
-
"desc": "Color name for the track (can be 'transparent' too) from the Quasar Color Palette",
|
|
81
|
-
"examples": [
|
|
82
|
-
"primary",
|
|
83
|
-
"teal",
|
|
84
|
-
"teal-10"
|
|
85
|
-
],
|
|
86
|
-
"category": "style",
|
|
87
|
-
"addedIn": "v2.4"
|
|
88
|
-
},
|
|
89
|
-
"track-img": {
|
|
90
|
-
"type": "String",
|
|
91
|
-
"desc": "Apply a pattern image on the track",
|
|
92
|
-
"transformAssetUrls": true,
|
|
93
|
-
"examples": [
|
|
94
|
-
"~assets/my-pattern.png"
|
|
95
|
-
],
|
|
96
|
-
"category": "style",
|
|
97
|
-
"addedIn": "v2.4"
|
|
98
|
-
},
|
|
99
|
-
"inner-track-color": {
|
|
100
|
-
"type": "String",
|
|
101
|
-
"tsType": "NamedColor",
|
|
102
|
-
"desc": "Color name for the inner track (can be 'transparent' too) from the Quasar Color Palette",
|
|
103
|
-
"examples": [
|
|
104
|
-
"primary",
|
|
105
|
-
"teal",
|
|
106
|
-
"teal-10"
|
|
107
|
-
],
|
|
108
|
-
"category": "style",
|
|
109
|
-
"addedIn": "v2.4"
|
|
110
|
-
},
|
|
111
|
-
"inner-track-img": {
|
|
112
|
-
"type": "String",
|
|
113
|
-
"desc": "Apply a pattern image on the inner track",
|
|
114
|
-
"transformAssetUrls": true,
|
|
115
|
-
"examples": [
|
|
116
|
-
"~assets/my-pattern.png"
|
|
117
|
-
],
|
|
118
|
-
"category": "style",
|
|
119
|
-
"addedIn": "v2.4"
|
|
120
|
-
},
|
|
121
|
-
"selection-color": {
|
|
122
|
-
"type": "String",
|
|
123
|
-
"tsType": "NamedColor",
|
|
124
|
-
"desc": "Color name for the selection bar (can be 'transparent' too) from the Quasar Color Palette",
|
|
125
|
-
"examples": [
|
|
126
|
-
"primary",
|
|
127
|
-
"teal",
|
|
128
|
-
"teal-10"
|
|
129
|
-
],
|
|
130
|
-
"category": "style",
|
|
131
|
-
"addedIn": "v2.4"
|
|
132
|
-
},
|
|
133
|
-
"selection-img": {
|
|
134
|
-
"type": "String",
|
|
135
|
-
"desc": "Apply a pattern image on the selection bar",
|
|
136
|
-
"transformAssetUrls": true,
|
|
137
|
-
"examples": [
|
|
138
|
-
"~assets/my-pattern.png"
|
|
139
|
-
],
|
|
140
|
-
"category": "style",
|
|
141
|
-
"addedIn": "v2.4"
|
|
142
|
-
},
|
|
143
|
-
"label": {
|
|
144
|
-
"type": "Boolean",
|
|
145
|
-
"desc": "Popup a label when user clicks/taps on the slider thumb and moves it",
|
|
146
|
-
"category": "content"
|
|
147
|
-
},
|
|
148
|
-
"label-color": {
|
|
149
|
-
"type": "String",
|
|
150
|
-
"tsType": "NamedColor",
|
|
151
|
-
"desc": "Color name for component from the Quasar Color Palette",
|
|
152
|
-
"examples": [
|
|
153
|
-
"primary",
|
|
154
|
-
"teal",
|
|
155
|
-
"teal-10"
|
|
156
|
-
],
|
|
157
|
-
"category": "style"
|
|
158
|
-
},
|
|
159
|
-
"label-text-color": {
|
|
160
|
-
"type": "String",
|
|
161
|
-
"tsType": "NamedColor",
|
|
162
|
-
"desc": "Color name for component from the Quasar Color Palette",
|
|
163
|
-
"examples": [
|
|
164
|
-
"primary",
|
|
165
|
-
"teal",
|
|
166
|
-
"teal-10"
|
|
167
|
-
],
|
|
168
|
-
"category": "style"
|
|
169
|
-
},
|
|
170
|
-
"switch-label-side": {
|
|
171
|
-
"type": "Boolean",
|
|
172
|
-
"desc": "Switch the position of the label (top <-> bottom or left <-> right)",
|
|
173
|
-
"category": "style",
|
|
174
|
-
"addedIn": "v2.4"
|
|
175
|
-
},
|
|
176
|
-
"label-always": {
|
|
177
|
-
"type": "Boolean",
|
|
178
|
-
"desc": "Always display the label",
|
|
179
|
-
"category": "behavior|content"
|
|
180
|
-
},
|
|
181
|
-
"markers": {
|
|
182
|
-
"type": [
|
|
183
|
-
"Boolean",
|
|
184
|
-
"Number"
|
|
185
|
-
],
|
|
186
|
-
"desc": "Display markers on the track, one for each possible value for the model or using a custom step (when specifying a Number)",
|
|
187
|
-
"category": "content",
|
|
188
|
-
"examples": [
|
|
189
|
-
"markers",
|
|
190
|
-
":markers=\"5\""
|
|
191
|
-
]
|
|
192
|
-
},
|
|
193
|
-
"marker-labels": {
|
|
194
|
-
"type": [
|
|
195
|
-
"Boolean",
|
|
196
|
-
"Array",
|
|
197
|
-
"Object",
|
|
198
|
-
"Function"
|
|
199
|
-
],
|
|
200
|
-
"tsType": "SliderMarkerLabels",
|
|
201
|
-
"desc": "Configure the marker labels (or show the default ones if 'true'); Array of definition Objects or Object with key-value where key is the model and the value is the marker label definition",
|
|
202
|
-
"definition": {
|
|
203
|
-
"value": {
|
|
204
|
-
"type": "Number",
|
|
205
|
-
"required": true,
|
|
206
|
-
"desc": "Value of equivalent model where to position the marker"
|
|
207
|
-
},
|
|
208
|
-
"label": {
|
|
209
|
-
"type": [
|
|
210
|
-
"Number",
|
|
211
|
-
"String"
|
|
212
|
-
],
|
|
213
|
-
"desc": "Label to use"
|
|
214
|
-
},
|
|
215
|
-
"classes": {
|
|
216
|
-
"type": [
|
|
217
|
-
"String",
|
|
218
|
-
"Array",
|
|
219
|
-
"Object"
|
|
220
|
-
],
|
|
221
|
-
"tsType": "VueClassProp",
|
|
222
|
-
"desc": "CSS classes to be attributed to the marker label",
|
|
223
|
-
"examples": [
|
|
224
|
-
"my-class-name"
|
|
225
|
-
]
|
|
226
|
-
},
|
|
227
|
-
"style": {
|
|
228
|
-
"type": "Object",
|
|
229
|
-
"tsType": "VueStyleObjectProp",
|
|
230
|
-
"desc": "Style definitions to be attributed to the marker label",
|
|
231
|
-
"examples": [
|
|
232
|
-
"{ height: '24px' }"
|
|
233
|
-
]
|
|
234
|
-
}
|
|
235
|
-
},
|
|
236
|
-
"params": {
|
|
237
|
-
"value": {
|
|
238
|
-
"type": "Number",
|
|
239
|
-
"desc": "The marker value to transform",
|
|
240
|
-
"required": true
|
|
241
|
-
}
|
|
242
|
-
},
|
|
243
|
-
"returns": {
|
|
244
|
-
"type": [
|
|
245
|
-
"String",
|
|
246
|
-
"Object"
|
|
247
|
-
],
|
|
248
|
-
"desc": "Marker definition Object or directly a String for the label of the marker",
|
|
249
|
-
"definition": {
|
|
250
|
-
"value": {
|
|
251
|
-
"type": "Number",
|
|
252
|
-
"desc": "Value of equivalent model where to position the marker"
|
|
253
|
-
},
|
|
254
|
-
"label": {
|
|
255
|
-
"type": [
|
|
256
|
-
"Number",
|
|
257
|
-
"String"
|
|
258
|
-
],
|
|
259
|
-
"desc": "Label to use"
|
|
260
|
-
},
|
|
261
|
-
"classes": {
|
|
262
|
-
"type": [
|
|
263
|
-
"String",
|
|
264
|
-
"Array",
|
|
265
|
-
"Object"
|
|
266
|
-
],
|
|
267
|
-
"tsType": "VueClassProp",
|
|
268
|
-
"desc": "CSS classes to be attributed to the marker label",
|
|
269
|
-
"examples": [
|
|
270
|
-
"my-class-name"
|
|
271
|
-
]
|
|
272
|
-
},
|
|
273
|
-
"style": {
|
|
274
|
-
"type": "Object",
|
|
275
|
-
"tsType": "VueStyleObjectProp",
|
|
276
|
-
"desc": "Style definitions to be attributed to the marker label",
|
|
277
|
-
"examples": [
|
|
278
|
-
"{ height: '24px' }"
|
|
279
|
-
]
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
},
|
|
283
|
-
"category": "content",
|
|
284
|
-
"examples": [
|
|
285
|
-
true,
|
|
286
|
-
"[ { value: 0, label: '0%' }, { value: 5, classes: 'my-class', style: { width: '24px' } } ]",
|
|
287
|
-
"{ 0: '0%', 5: { label: '5%', classes: 'my-class', style: { width: '24px' } } }",
|
|
288
|
-
"val => (10 * val) + '%'",
|
|
289
|
-
"val => ({ label: (10 * val) + '%', classes: 'my-class', style: { width: '24px' } })"
|
|
290
|
-
],
|
|
291
|
-
"addedIn": "v2.4"
|
|
292
|
-
},
|
|
293
|
-
"marker-labels-class": {
|
|
294
|
-
"type": "String",
|
|
295
|
-
"desc": "CSS class(es) to apply to the marker labels container",
|
|
296
|
-
"examples": [
|
|
297
|
-
"text-orange"
|
|
298
|
-
],
|
|
299
|
-
"category": "style",
|
|
300
|
-
"addedIn": "v2.4"
|
|
301
|
-
},
|
|
302
|
-
"switch-marker-labels-side": {
|
|
303
|
-
"type": "Boolean",
|
|
304
|
-
"desc": "Switch the position of the marker labels (top <-> bottom or left <-> right)",
|
|
305
|
-
"category": "style",
|
|
306
|
-
"addedIn": "v2.4"
|
|
307
|
-
},
|
|
308
|
-
"track-size": {
|
|
309
|
-
"type": "String",
|
|
310
|
-
"desc": "Track size (including CSS unit)",
|
|
311
|
-
"default": "4px",
|
|
312
|
-
"examples": [
|
|
313
|
-
"35px"
|
|
314
|
-
],
|
|
315
|
-
"category": "style",
|
|
316
|
-
"addedIn": "v2.4",
|
|
317
|
-
"required": false
|
|
318
|
-
},
|
|
319
|
-
"thumb-size": {
|
|
320
|
-
"type": "String",
|
|
321
|
-
"desc": "Thumb size (including CSS unit)",
|
|
322
|
-
"default": "20px",
|
|
323
|
-
"examples": [
|
|
324
|
-
"20px"
|
|
325
|
-
],
|
|
326
|
-
"category": "style",
|
|
327
|
-
"addedIn": "v2.4",
|
|
328
|
-
"required": false
|
|
329
|
-
},
|
|
330
|
-
"thumb-color": {
|
|
331
|
-
"type": "String",
|
|
332
|
-
"tsType": "NamedColor",
|
|
333
|
-
"desc": "Color name for component from the Quasar Color Palette",
|
|
334
|
-
"examples": [
|
|
335
|
-
"primary",
|
|
336
|
-
"teal",
|
|
337
|
-
"teal-10"
|
|
338
|
-
],
|
|
339
|
-
"category": "style",
|
|
340
|
-
"addedIn": "v2.4"
|
|
341
|
-
},
|
|
342
|
-
"thumb-path": {
|
|
343
|
-
"type": "String",
|
|
344
|
-
"desc": "Set custom thumb svg path",
|
|
345
|
-
"default": "M 4, 10 a 6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0",
|
|
346
|
-
"examples": [
|
|
347
|
-
"M5 5 h10 v10 h-10 v-10"
|
|
348
|
-
],
|
|
349
|
-
"category": "style",
|
|
350
|
-
"required": false
|
|
351
|
-
},
|
|
352
|
-
"dark": {
|
|
353
|
-
"type": [
|
|
354
|
-
"Boolean",
|
|
355
|
-
"null"
|
|
356
|
-
],
|
|
357
|
-
"default": null,
|
|
358
|
-
"desc": "Notify the component that the background is a dark color",
|
|
359
|
-
"category": "style",
|
|
360
|
-
"required": false
|
|
361
|
-
},
|
|
362
|
-
"dense": {
|
|
363
|
-
"type": "Boolean",
|
|
364
|
-
"desc": "Dense mode; occupies less space",
|
|
365
|
-
"category": "style"
|
|
366
|
-
},
|
|
367
|
-
"disable": {
|
|
368
|
-
"type": "Boolean",
|
|
369
|
-
"desc": "Put component in disabled mode",
|
|
370
|
-
"category": "state"
|
|
371
|
-
},
|
|
372
|
-
"readonly": {
|
|
373
|
-
"type": "Boolean",
|
|
374
|
-
"desc": "Put component in readonly mode",
|
|
375
|
-
"category": "state"
|
|
376
|
-
},
|
|
377
|
-
"tabindex": {
|
|
378
|
-
"type": [
|
|
379
|
-
"Number",
|
|
380
|
-
"String"
|
|
381
|
-
],
|
|
382
|
-
"desc": "Tabindex HTML attribute value",
|
|
383
|
-
"examples": [
|
|
384
|
-
"0",
|
|
385
|
-
"100"
|
|
386
|
-
],
|
|
387
|
-
"category": "general"
|
|
388
|
-
},
|
|
389
|
-
"model-value": {
|
|
390
|
-
"desc": "Model of the component (must be between min/max); Either use this property (along with a listener for 'update:modelValue' event) OR use v-model directive",
|
|
391
|
-
"required": true,
|
|
392
|
-
"syncable": true,
|
|
393
|
-
"category": "model",
|
|
394
|
-
"type": [
|
|
395
|
-
"Number",
|
|
396
|
-
"null",
|
|
397
|
-
"undefined"
|
|
398
|
-
],
|
|
399
|
-
"examples": [
|
|
400
|
-
"v-model=\"positionModel\""
|
|
401
|
-
]
|
|
402
|
-
},
|
|
403
|
-
"label-value": {
|
|
404
|
-
"type": [
|
|
405
|
-
"String",
|
|
406
|
-
"Number"
|
|
407
|
-
],
|
|
408
|
-
"desc": "Override default label value",
|
|
409
|
-
"examples": [
|
|
410
|
-
":label-value=\"model + 'px'\""
|
|
411
|
-
],
|
|
412
|
-
"category": "content"
|
|
413
|
-
}
|
|
414
|
-
},
|
|
415
|
-
"slots": {
|
|
416
|
-
"marker-label": {
|
|
417
|
-
"desc": "What should the menu display after filtering options and none are left to be displayed; Suggestion: <div>",
|
|
418
|
-
"addedIn": "v2.4",
|
|
419
|
-
"scope": {
|
|
420
|
-
"marker": {
|
|
421
|
-
"type": "Object",
|
|
422
|
-
"tsType": "SliderMarkerLabelConfig",
|
|
423
|
-
"desc": "Config for current marker label",
|
|
424
|
-
"definition": {
|
|
425
|
-
"index": {
|
|
426
|
-
"type": "Number",
|
|
427
|
-
"desc": "Index of the marker label (0-based)"
|
|
428
|
-
},
|
|
429
|
-
"value": {
|
|
430
|
-
"type": "Number",
|
|
431
|
-
"desc": "Equivalent model value for the marker label"
|
|
432
|
-
},
|
|
433
|
-
"label": {
|
|
434
|
-
"type": [
|
|
435
|
-
"Number",
|
|
436
|
-
"String"
|
|
437
|
-
],
|
|
438
|
-
"desc": "Configured label for the marker"
|
|
439
|
-
},
|
|
440
|
-
"classes": {
|
|
441
|
-
"type": "String",
|
|
442
|
-
"desc": "Required CSS classes to be applied to the marker element"
|
|
443
|
-
},
|
|
444
|
-
"style": {
|
|
445
|
-
"type": "Object",
|
|
446
|
-
"tsType": "VueStyleObjectProp",
|
|
447
|
-
"desc": "Style definitions to be attributed to the marker label",
|
|
448
|
-
"examples": [
|
|
449
|
-
"{ height: '24px' }"
|
|
450
|
-
]
|
|
451
|
-
}
|
|
452
|
-
}
|
|
453
|
-
},
|
|
454
|
-
"markerList": {
|
|
455
|
-
"type": "Array",
|
|
456
|
-
"tsType": "SliderMarkerLabelArrayConfig",
|
|
457
|
-
"desc": "Array of marker label configs",
|
|
458
|
-
"definition": {
|
|
459
|
-
"index": {
|
|
460
|
-
"type": "Number",
|
|
461
|
-
"desc": "Index of the marker label (0-based)"
|
|
462
|
-
},
|
|
463
|
-
"value": {
|
|
464
|
-
"type": "Number",
|
|
465
|
-
"desc": "Equivalent model value for the marker label"
|
|
466
|
-
},
|
|
467
|
-
"label": {
|
|
468
|
-
"type": [
|
|
469
|
-
"Number",
|
|
470
|
-
"String"
|
|
471
|
-
],
|
|
472
|
-
"desc": "Configured label for the marker"
|
|
473
|
-
},
|
|
474
|
-
"classes": {
|
|
475
|
-
"type": "String",
|
|
476
|
-
"desc": "Required CSS classes to be applied to the marker element"
|
|
477
|
-
},
|
|
478
|
-
"style": {
|
|
479
|
-
"type": "Object",
|
|
480
|
-
"tsType": "VueStyleObjectProp",
|
|
481
|
-
"desc": "Style definitions to be attributed to the marker label",
|
|
482
|
-
"examples": [
|
|
483
|
-
"{ height: '24px' }"
|
|
484
|
-
]
|
|
485
|
-
}
|
|
486
|
-
}
|
|
487
|
-
},
|
|
488
|
-
"markerMap": {
|
|
489
|
-
"type": "Object",
|
|
490
|
-
"tsType": "SliderMarkerLabelObjectConfig",
|
|
491
|
-
"desc": "Object with key-value where key is the model and the value is the marker label config",
|
|
492
|
-
"definition": {
|
|
493
|
-
"...key": {
|
|
494
|
-
"type": "Object",
|
|
495
|
-
"desc": "Marker label config",
|
|
496
|
-
"definition": {
|
|
497
|
-
"index": {
|
|
498
|
-
"type": "Number",
|
|
499
|
-
"desc": "Index of the marker label (0-based)"
|
|
500
|
-
},
|
|
501
|
-
"value": {
|
|
502
|
-
"type": "Number",
|
|
503
|
-
"desc": "Equivalent model value for the marker label"
|
|
504
|
-
},
|
|
505
|
-
"label": {
|
|
506
|
-
"type": [
|
|
507
|
-
"Number",
|
|
508
|
-
"String"
|
|
509
|
-
],
|
|
510
|
-
"desc": "Configured label for the marker"
|
|
511
|
-
},
|
|
512
|
-
"classes": {
|
|
513
|
-
"type": "String",
|
|
514
|
-
"desc": "Required CSS classes to be applied to the marker element"
|
|
515
|
-
},
|
|
516
|
-
"style": {
|
|
517
|
-
"type": "Object",
|
|
518
|
-
"tsType": "VueStyleObjectProp",
|
|
519
|
-
"desc": "Style definitions to be attributed to the marker label",
|
|
520
|
-
"examples": [
|
|
521
|
-
"{ height: '24px' }"
|
|
522
|
-
]
|
|
523
|
-
}
|
|
524
|
-
}
|
|
525
|
-
}
|
|
526
|
-
}
|
|
527
|
-
},
|
|
528
|
-
"classes": {
|
|
529
|
-
"type": "String",
|
|
530
|
-
"desc": "Required CSS classes to be applied to the marker element"
|
|
531
|
-
},
|
|
532
|
-
"getStyle": {
|
|
533
|
-
"type": "Function",
|
|
534
|
-
"desc": "Get CSS style Object to apply to a marker element at respective model value; For perf reasons, use only if requested model value is not already part of markerMap",
|
|
535
|
-
"params": {
|
|
536
|
-
"value": {
|
|
537
|
-
"type": "Number",
|
|
538
|
-
"desc": "The marker label equivalent model value",
|
|
539
|
-
"required": true
|
|
540
|
-
}
|
|
541
|
-
},
|
|
542
|
-
"returns": {
|
|
543
|
-
"type": "Object",
|
|
544
|
-
"desc": "CSS style Object to apply to a marker element at respective model value"
|
|
545
|
-
}
|
|
546
|
-
}
|
|
547
|
-
}
|
|
548
|
-
},
|
|
549
|
-
"marker-label-group": {
|
|
550
|
-
"desc": "What should the menu display after filtering options and none are left to be displayed; Suggestion: <div>",
|
|
551
|
-
"addedIn": "v2.4",
|
|
552
|
-
"scope": {
|
|
553
|
-
"markerList": {
|
|
554
|
-
"type": "Array",
|
|
555
|
-
"tsType": "SliderMarkerLabelArrayConfig",
|
|
556
|
-
"desc": "Array of marker label configs",
|
|
557
|
-
"definition": {
|
|
558
|
-
"index": {
|
|
559
|
-
"type": "Number",
|
|
560
|
-
"desc": "Index of the marker label (0-based)"
|
|
561
|
-
},
|
|
562
|
-
"value": {
|
|
563
|
-
"type": "Number",
|
|
564
|
-
"desc": "Equivalent model value for the marker label"
|
|
565
|
-
},
|
|
566
|
-
"label": {
|
|
567
|
-
"type": [
|
|
568
|
-
"Number",
|
|
569
|
-
"String"
|
|
570
|
-
],
|
|
571
|
-
"desc": "Configured label for the marker"
|
|
572
|
-
},
|
|
573
|
-
"classes": {
|
|
574
|
-
"type": "String",
|
|
575
|
-
"desc": "Required CSS classes to be applied to the marker element"
|
|
576
|
-
},
|
|
577
|
-
"style": {
|
|
578
|
-
"type": "Object",
|
|
579
|
-
"tsType": "VueStyleObjectProp",
|
|
580
|
-
"desc": "Style definitions to be attributed to the marker label",
|
|
581
|
-
"examples": [
|
|
582
|
-
"{ height: '24px' }"
|
|
583
|
-
]
|
|
584
|
-
}
|
|
585
|
-
}
|
|
586
|
-
},
|
|
587
|
-
"markerMap": {
|
|
588
|
-
"type": "Object",
|
|
589
|
-
"tsType": "SliderMarkerLabelObjectConfig",
|
|
590
|
-
"desc": "Object with key-value where key is the model and the value is the marker label config",
|
|
591
|
-
"definition": {
|
|
592
|
-
"...key": {
|
|
593
|
-
"type": "Object",
|
|
594
|
-
"desc": "Marker label config",
|
|
595
|
-
"definition": {
|
|
596
|
-
"index": {
|
|
597
|
-
"type": "Number",
|
|
598
|
-
"desc": "Index of the marker label (0-based)"
|
|
599
|
-
},
|
|
600
|
-
"value": {
|
|
601
|
-
"type": "Number",
|
|
602
|
-
"desc": "Equivalent model value for the marker label"
|
|
603
|
-
},
|
|
604
|
-
"label": {
|
|
605
|
-
"type": [
|
|
606
|
-
"Number",
|
|
607
|
-
"String"
|
|
608
|
-
],
|
|
609
|
-
"desc": "Configured label for the marker"
|
|
610
|
-
},
|
|
611
|
-
"classes": {
|
|
612
|
-
"type": "String",
|
|
613
|
-
"desc": "Required CSS classes to be applied to the marker element"
|
|
614
|
-
},
|
|
615
|
-
"style": {
|
|
616
|
-
"type": "Object",
|
|
617
|
-
"tsType": "VueStyleObjectProp",
|
|
618
|
-
"desc": "Style definitions to be attributed to the marker label",
|
|
619
|
-
"examples": [
|
|
620
|
-
"{ height: '24px' }"
|
|
621
|
-
]
|
|
622
|
-
}
|
|
623
|
-
}
|
|
624
|
-
}
|
|
625
|
-
}
|
|
626
|
-
},
|
|
627
|
-
"classes": {
|
|
628
|
-
"type": "String",
|
|
629
|
-
"desc": "Required CSS classes to be applied to the marker element"
|
|
630
|
-
},
|
|
631
|
-
"getStyle": {
|
|
632
|
-
"type": "Function",
|
|
633
|
-
"desc": "Get CSS style Object to apply to a marker element at respective model value; For perf reasons, use only if requested model value is not already part of markerMap",
|
|
634
|
-
"params": {
|
|
635
|
-
"value": {
|
|
636
|
-
"type": "Number",
|
|
637
|
-
"desc": "The marker label equivalent model value",
|
|
638
|
-
"required": true
|
|
639
|
-
}
|
|
640
|
-
},
|
|
641
|
-
"returns": {
|
|
642
|
-
"type": "Object",
|
|
643
|
-
"desc": "CSS style Object to apply to a marker element at respective model value"
|
|
644
|
-
}
|
|
645
|
-
}
|
|
646
|
-
}
|
|
647
|
-
}
|
|
648
|
-
},
|
|
649
|
-
"events": {
|
|
650
|
-
"change": {
|
|
651
|
-
"desc": "Emitted on lazy model value change (after user slides then releases the thumb)",
|
|
652
|
-
"params": {
|
|
653
|
-
"value": {
|
|
654
|
-
"type": "Any",
|
|
655
|
-
"desc": "New model value",
|
|
656
|
-
"required": true
|
|
657
|
-
}
|
|
658
|
-
}
|
|
659
|
-
},
|
|
660
|
-
"pan": {
|
|
661
|
-
"desc": "Triggered when user starts panning on the component",
|
|
662
|
-
"params": {
|
|
663
|
-
"phase": {
|
|
664
|
-
"type": "String",
|
|
665
|
-
"desc": "Phase of panning",
|
|
666
|
-
"values": [
|
|
667
|
-
"start",
|
|
668
|
-
"end"
|
|
669
|
-
]
|
|
670
|
-
}
|
|
671
|
-
}
|
|
672
|
-
},
|
|
673
|
-
"update:model-value": {
|
|
674
|
-
"desc": "Emitted when the component needs to change the model; Is also used by v-model",
|
|
675
|
-
"params": {
|
|
676
|
-
"value": {
|
|
677
|
-
"type": [
|
|
678
|
-
"Number",
|
|
679
|
-
"null"
|
|
680
|
-
],
|
|
681
|
-
"desc": "New model value",
|
|
682
|
-
"required": true
|
|
683
|
-
}
|
|
684
|
-
}
|
|
685
|
-
}
|
|
686
|
-
}
|
|
687
|
-
}
|
|
1
|
+
{"type":"component","meta":{"docsUrl":"https://v2.quasar.dev/vue-components/slider"},"props":{"name":{"type":"String","desc":"Used to specify the name of the control; Useful if dealing with forms submitted directly to a URL","examples":["car_id"],"category":"behavior"},"min":{"type":"Number","desc":"Minimum value of the model; Set track's minimum value","default":0,"examples":[":min=\"0\""],"category":"model","required":false},"max":{"type":"Number","desc":"Maximum value of the model; Set track's maximum value","default":100,"category":"model","required":false},"inner-min":{"type":"Number","desc":"Inner minimum value of the model; Use in case you need the model value to be inside of the track's min-max values; Needs to be higher or equal to 'min' prop; Defaults to 'min' prop","category":"model","addedIn":"v2.4"},"inner-max":{"type":"Number","desc":"Inner maximum value of the model; Use in case you need the model value to be inside of the track's min-max values; Needs to be lower or equal to 'max' prop; Defaults to 'max' prop","category":"model","addedIn":"v2.4"},"step":{"type":"Number","desc":"Specify step amount between valid values (> 0.0); When step equals to 0 it defines infinite granularity","default":1,"category":"model","required":false},"snap":{"type":"Boolean","desc":"Snap on valid values, rather than sliding freely; Suggestion: use with 'step' prop","category":"behavior"},"reverse":{"type":"Boolean","desc":"Work in reverse (changes direction)","category":"behavior"},"vertical":{"type":"Boolean","desc":"Display in vertical direction","category":"behavior"},"color":{"type":"String","tsType":"NamedColor","desc":"Color name for component from the Quasar Color Palette","examples":["primary","teal","teal-10"],"category":"style"},"track-color":{"type":"String","tsType":"NamedColor","desc":"Color name for the track (can be 'transparent' too) from the Quasar Color Palette","examples":["primary","teal","teal-10"],"category":"style","addedIn":"v2.4"},"track-img":{"type":"String","desc":"Apply a pattern image on the track","transformAssetUrls":true,"examples":["~assets/my-pattern.png"],"category":"style","addedIn":"v2.4"},"inner-track-color":{"type":"String","tsType":"NamedColor","desc":"Color name for the inner track (can be 'transparent' too) from the Quasar Color Palette","examples":["primary","teal","teal-10"],"category":"style","addedIn":"v2.4"},"inner-track-img":{"type":"String","desc":"Apply a pattern image on the inner track","transformAssetUrls":true,"examples":["~assets/my-pattern.png"],"category":"style","addedIn":"v2.4"},"selection-color":{"type":"String","tsType":"NamedColor","desc":"Color name for the selection bar (can be 'transparent' too) from the Quasar Color Palette","examples":["primary","teal","teal-10"],"category":"style","addedIn":"v2.4"},"selection-img":{"type":"String","desc":"Apply a pattern image on the selection bar","transformAssetUrls":true,"examples":["~assets/my-pattern.png"],"category":"style","addedIn":"v2.4"},"label":{"type":"Boolean","desc":"Popup a label when user clicks/taps on the slider thumb and moves it","category":"content"},"label-color":{"type":"String","tsType":"NamedColor","desc":"Color name for component from the Quasar Color Palette","examples":["primary","teal","teal-10"],"category":"style"},"label-text-color":{"type":"String","tsType":"NamedColor","desc":"Color name for component from the Quasar Color Palette","examples":["primary","teal","teal-10"],"category":"style"},"switch-label-side":{"type":"Boolean","desc":"Switch the position of the label (top <-> bottom or left <-> right)","category":"style","addedIn":"v2.4"},"label-always":{"type":"Boolean","desc":"Always display the label","category":"behavior|content"},"markers":{"type":["Boolean","Number"],"desc":"Display markers on the track, one for each possible value for the model or using a custom step (when specifying a Number)","category":"content","examples":["markers",":markers=\"5\""]},"marker-labels":{"type":["Boolean","Array","Object","Function"],"tsType":"SliderMarkerLabels","desc":"Configure the marker labels (or show the default ones if 'true'); Array of definition Objects or Object with key-value where key is the model and the value is the marker label definition","definition":{"value":{"type":"Number","required":true,"desc":"Value of equivalent model where to position the marker"},"label":{"type":["Number","String"],"desc":"Label to use"},"classes":{"type":["String","Array","Object"],"tsType":"VueClassProp","desc":"CSS classes to be attributed to the marker label","examples":["my-class-name"]},"style":{"type":"Object","tsType":"VueStyleObjectProp","desc":"Style definitions to be attributed to the marker label","examples":["{ height: '24px' }"]}},"params":{"value":{"type":"Number","desc":"The marker value to transform","required":true}},"returns":{"type":["String","Object"],"desc":"Marker definition Object or directly a String for the label of the marker","definition":{"value":{"type":"Number","desc":"Value of equivalent model where to position the marker"},"label":{"type":["Number","String"],"desc":"Label to use"},"classes":{"type":["String","Array","Object"],"tsType":"VueClassProp","desc":"CSS classes to be attributed to the marker label","examples":["my-class-name"]},"style":{"type":"Object","tsType":"VueStyleObjectProp","desc":"Style definitions to be attributed to the marker label","examples":["{ height: '24px' }"]}}},"category":"content","examples":[true,"[ { value: 0, label: '0%' }, { value: 5, classes: 'my-class', style: { width: '24px' } } ]","{ 0: '0%', 5: { label: '5%', classes: 'my-class', style: { width: '24px' } } }","val => (10 * val) + '%'","val => ({ label: (10 * val) + '%', classes: 'my-class', style: { width: '24px' } })"],"addedIn":"v2.4"},"marker-labels-class":{"type":"String","desc":"CSS class(es) to apply to the marker labels container","examples":["text-orange"],"category":"style","addedIn":"v2.4"},"switch-marker-labels-side":{"type":"Boolean","desc":"Switch the position of the marker labels (top <-> bottom or left <-> right)","category":"style","addedIn":"v2.4"},"track-size":{"type":"String","desc":"Track size (including CSS unit)","default":"4px","examples":["35px"],"category":"style","addedIn":"v2.4","required":false},"thumb-size":{"type":"String","desc":"Thumb size (including CSS unit)","default":"20px","examples":["20px"],"category":"style","addedIn":"v2.4","required":false},"thumb-color":{"type":"String","tsType":"NamedColor","desc":"Color name for component from the Quasar Color Palette","examples":["primary","teal","teal-10"],"category":"style","addedIn":"v2.4"},"thumb-path":{"type":"String","desc":"Set custom thumb svg path","default":"M 4, 10 a 6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0","examples":["M5 5 h10 v10 h-10 v-10"],"category":"style","required":false},"dark":{"type":["Boolean","null"],"default":null,"desc":"Notify the component that the background is a dark color","category":"style","required":false},"dense":{"type":"Boolean","desc":"Dense mode; occupies less space","category":"style"},"disable":{"type":"Boolean","desc":"Put component in disabled mode","category":"state"},"readonly":{"type":"Boolean","desc":"Put component in readonly mode","category":"state"},"tabindex":{"type":["Number","String"],"desc":"Tabindex HTML attribute value","examples":["0","100"],"category":"general"},"model-value":{"desc":"Model of the component (must be between min/max); Either use this property (along with a listener for 'update:modelValue' event) OR use v-model directive","required":true,"syncable":true,"category":"model","type":["Number","null","undefined"],"examples":["v-model=\"positionModel\""]},"label-value":{"type":["String","Number"],"desc":"Override default label value","examples":[":label-value=\"model + 'px'\""],"category":"content"}},"slots":{"marker-label":{"desc":"What should the menu display after filtering options and none are left to be displayed; Suggestion: <div>","addedIn":"v2.4","scope":{"marker":{"type":"Object","tsType":"SliderMarkerLabelConfig","desc":"Config for current marker label","definition":{"index":{"type":"Number","desc":"Index of the marker label (0-based)"},"value":{"type":"Number","desc":"Equivalent model value for the marker label"},"label":{"type":["Number","String"],"desc":"Configured label for the marker"},"classes":{"type":"String","desc":"Required CSS classes to be applied to the marker element"},"style":{"type":"Object","tsType":"VueStyleObjectProp","desc":"Style definitions to be attributed to the marker label","examples":["{ height: '24px' }"]}}},"markerList":{"type":"Array","tsType":"SliderMarkerLabelArrayConfig","desc":"Array of marker label configs","definition":{"index":{"type":"Number","desc":"Index of the marker label (0-based)"},"value":{"type":"Number","desc":"Equivalent model value for the marker label"},"label":{"type":["Number","String"],"desc":"Configured label for the marker"},"classes":{"type":"String","desc":"Required CSS classes to be applied to the marker element"},"style":{"type":"Object","tsType":"VueStyleObjectProp","desc":"Style definitions to be attributed to the marker label","examples":["{ height: '24px' }"]}}},"markerMap":{"type":"Object","tsType":"SliderMarkerLabelObjectConfig","desc":"Object with key-value where key is the model and the value is the marker label config","definition":{"...key":{"type":"Object","desc":"Marker label config","definition":{"index":{"type":"Number","desc":"Index of the marker label (0-based)"},"value":{"type":"Number","desc":"Equivalent model value for the marker label"},"label":{"type":["Number","String"],"desc":"Configured label for the marker"},"classes":{"type":"String","desc":"Required CSS classes to be applied to the marker element"},"style":{"type":"Object","tsType":"VueStyleObjectProp","desc":"Style definitions to be attributed to the marker label","examples":["{ height: '24px' }"]}}}}},"classes":{"type":"String","desc":"Required CSS classes to be applied to the marker element"},"getStyle":{"type":"Function","desc":"Get CSS style Object to apply to a marker element at respective model value; For perf reasons, use only if requested model value is not already part of markerMap","params":{"value":{"type":"Number","desc":"The marker label equivalent model value","required":true}},"returns":{"type":"Object","desc":"CSS style Object to apply to a marker element at respective model value"}}}},"marker-label-group":{"desc":"What should the menu display after filtering options and none are left to be displayed; Suggestion: <div>","addedIn":"v2.4","scope":{"markerList":{"type":"Array","tsType":"SliderMarkerLabelArrayConfig","desc":"Array of marker label configs","definition":{"index":{"type":"Number","desc":"Index of the marker label (0-based)"},"value":{"type":"Number","desc":"Equivalent model value for the marker label"},"label":{"type":["Number","String"],"desc":"Configured label for the marker"},"classes":{"type":"String","desc":"Required CSS classes to be applied to the marker element"},"style":{"type":"Object","tsType":"VueStyleObjectProp","desc":"Style definitions to be attributed to the marker label","examples":["{ height: '24px' }"]}}},"markerMap":{"type":"Object","tsType":"SliderMarkerLabelObjectConfig","desc":"Object with key-value where key is the model and the value is the marker label config","definition":{"...key":{"type":"Object","desc":"Marker label config","definition":{"index":{"type":"Number","desc":"Index of the marker label (0-based)"},"value":{"type":"Number","desc":"Equivalent model value for the marker label"},"label":{"type":["Number","String"],"desc":"Configured label for the marker"},"classes":{"type":"String","desc":"Required CSS classes to be applied to the marker element"},"style":{"type":"Object","tsType":"VueStyleObjectProp","desc":"Style definitions to be attributed to the marker label","examples":["{ height: '24px' }"]}}}}},"classes":{"type":"String","desc":"Required CSS classes to be applied to the marker element"},"getStyle":{"type":"Function","desc":"Get CSS style Object to apply to a marker element at respective model value; For perf reasons, use only if requested model value is not already part of markerMap","params":{"value":{"type":"Number","desc":"The marker label equivalent model value","required":true}},"returns":{"type":"Object","desc":"CSS style Object to apply to a marker element at respective model value"}}}}},"events":{"change":{"desc":"Emitted on lazy model value change (after user slides then releases the thumb)","params":{"value":{"type":"Any","desc":"New model value","required":true}}},"pan":{"desc":"Triggered when user starts panning on the component","params":{"phase":{"type":"String","desc":"Phase of panning","values":["start","end"]}}},"update:model-value":{"desc":"Emitted when the component needs to change the model; Is also used by v-model","params":{"value":{"type":["Number","null"],"desc":"New model value","required":true}}}}}
|