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
|
@@ -1,82 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "component",
|
|
3
|
-
"meta": {
|
|
4
|
-
"docsUrl": "https://v2.quasar.dev/vue-components/breadcrumbs"
|
|
5
|
-
},
|
|
6
|
-
"props": {
|
|
7
|
-
"separator": {
|
|
8
|
-
"type": "String",
|
|
9
|
-
"desc": "The string used to separate the breadcrumbs",
|
|
10
|
-
"default": "/",
|
|
11
|
-
"examples": [
|
|
12
|
-
"-",
|
|
13
|
-
"|",
|
|
14
|
-
">"
|
|
15
|
-
],
|
|
16
|
-
"category": "content",
|
|
17
|
-
"required": false
|
|
18
|
-
},
|
|
19
|
-
"active-color": {
|
|
20
|
-
"type": "String",
|
|
21
|
-
"tsType": "NamedColor",
|
|
22
|
-
"desc": "The color of the active breadcrumb, which can be any color from the Quasar Color Palette",
|
|
23
|
-
"examples": [
|
|
24
|
-
"primary",
|
|
25
|
-
"teal",
|
|
26
|
-
"teal-10"
|
|
27
|
-
],
|
|
28
|
-
"category": "style",
|
|
29
|
-
"default": "primary",
|
|
30
|
-
"required": false
|
|
31
|
-
},
|
|
32
|
-
"gutter": {
|
|
33
|
-
"type": "String",
|
|
34
|
-
"desc": "The gutter value allows you control over the space between the breadcrumb elements.",
|
|
35
|
-
"default": "sm",
|
|
36
|
-
"values": [
|
|
37
|
-
"none",
|
|
38
|
-
"xs",
|
|
39
|
-
"sm",
|
|
40
|
-
"md",
|
|
41
|
-
"lg",
|
|
42
|
-
"xl"
|
|
43
|
-
],
|
|
44
|
-
"category": "content",
|
|
45
|
-
"required": false
|
|
46
|
-
},
|
|
47
|
-
"separator-color": {
|
|
48
|
-
"type": "String",
|
|
49
|
-
"tsType": "NamedColor",
|
|
50
|
-
"desc": "The color used to color the separator, which can be any color from the Quasar Color Palette",
|
|
51
|
-
"examples": [
|
|
52
|
-
"primary",
|
|
53
|
-
"teal",
|
|
54
|
-
"teal-10"
|
|
55
|
-
],
|
|
56
|
-
"category": "style"
|
|
57
|
-
},
|
|
58
|
-
"align": {
|
|
59
|
-
"type": "String",
|
|
60
|
-
"default": "left",
|
|
61
|
-
"desc": "Specify how to align the breadcrumbs horizontally",
|
|
62
|
-
"values": [
|
|
63
|
-
"left",
|
|
64
|
-
"center",
|
|
65
|
-
"right",
|
|
66
|
-
"between",
|
|
67
|
-
"around",
|
|
68
|
-
"evenly"
|
|
69
|
-
],
|
|
70
|
-
"category": "content",
|
|
71
|
-
"required": false
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
"slots": {
|
|
75
|
-
"default": {
|
|
76
|
-
"desc": "Default slot in the devland unslotted content of the component"
|
|
77
|
-
},
|
|
78
|
-
"separator": {
|
|
79
|
-
"desc": "HTML or component you can slot in to separate the breadcrumbs"
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
1
|
+
{"type":"component","meta":{"docsUrl":"https://v2.quasar.dev/vue-components/breadcrumbs"},"props":{"separator":{"type":"String","desc":"The string used to separate the breadcrumbs","default":"/","examples":["-","|",">"],"category":"content","required":false},"active-color":{"type":"String","tsType":"NamedColor","desc":"The color of the active breadcrumb, which can be any color from the Quasar Color Palette","examples":["primary","teal","teal-10"],"category":"style","default":"primary","required":false},"gutter":{"type":"String","desc":"The gutter value allows you control over the space between the breadcrumb elements.","default":"sm","values":["none","xs","sm","md","lg","xl"],"category":"content","required":false},"separator-color":{"type":"String","tsType":"NamedColor","desc":"The color used to color the separator, which can be any color from the Quasar Color Palette","examples":["primary","teal","teal-10"],"category":"style"},"align":{"type":"String","default":"left","desc":"Specify how to align the breadcrumbs horizontally","values":["left","center","right","between","around","evenly"],"category":"content","required":false}},"slots":{"default":{"desc":"Default slot in the devland unslotted content of the component"},"separator":{"desc":"HTML or component you can slot in to separate the breadcrumbs"}}}
|
|
@@ -1,162 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "component",
|
|
3
|
-
"meta": {
|
|
4
|
-
"docsUrl": "https://v2.quasar.dev/vue-components/breadcrumbs"
|
|
5
|
-
},
|
|
6
|
-
"props": {
|
|
7
|
-
"to": {
|
|
8
|
-
"type": [
|
|
9
|
-
"String",
|
|
10
|
-
"Object"
|
|
11
|
-
],
|
|
12
|
-
"desc": "Equivalent to Vue Router <router-link> 'to' property; Superseded by 'href' prop if used",
|
|
13
|
-
"examples": [
|
|
14
|
-
"/home/dashboard",
|
|
15
|
-
":to=\"{ name: 'my-route-name' }\""
|
|
16
|
-
],
|
|
17
|
-
"category": "navigation"
|
|
18
|
-
},
|
|
19
|
-
"exact": {
|
|
20
|
-
"type": "Boolean",
|
|
21
|
-
"desc": "Equivalent to Vue Router <router-link> 'exact' property; Superseded by 'href' prop if used",
|
|
22
|
-
"category": "navigation"
|
|
23
|
-
},
|
|
24
|
-
"replace": {
|
|
25
|
-
"type": "Boolean",
|
|
26
|
-
"desc": "Equivalent to Vue Router <router-link> 'replace' property; Superseded by 'href' prop if used",
|
|
27
|
-
"category": "navigation"
|
|
28
|
-
},
|
|
29
|
-
"active-class": {
|
|
30
|
-
"type": "String",
|
|
31
|
-
"desc": "Equivalent to Vue Router <router-link> 'active-class' property; Superseded by 'href' prop if used",
|
|
32
|
-
"examples": [
|
|
33
|
-
"my-active-class"
|
|
34
|
-
],
|
|
35
|
-
"category": "navigation"
|
|
36
|
-
},
|
|
37
|
-
"exact-active-class": {
|
|
38
|
-
"type": "String",
|
|
39
|
-
"desc": "Equivalent to Vue Router <router-link> 'active-class' property; Superseded by 'href' prop if used",
|
|
40
|
-
"examples": [
|
|
41
|
-
"my-exact-active-class"
|
|
42
|
-
],
|
|
43
|
-
"category": "navigation"
|
|
44
|
-
},
|
|
45
|
-
"href": {
|
|
46
|
-
"type": "String",
|
|
47
|
-
"desc": "Native <a> link href attribute; Has priority over the 'to'/'exact'/'replace'/'active-class'/'exact-active-class' props",
|
|
48
|
-
"examples": [
|
|
49
|
-
"https://quasar.dev"
|
|
50
|
-
],
|
|
51
|
-
"category": "navigation",
|
|
52
|
-
"addedIn": "v2.4"
|
|
53
|
-
},
|
|
54
|
-
"target": {
|
|
55
|
-
"type": "String",
|
|
56
|
-
"desc": "Native <a> link target attribute; Use it only along with 'href' prop; Has priority over the 'to'/'exact'/'replace'/'active-class'/'exact-active-class' props",
|
|
57
|
-
"examples": [
|
|
58
|
-
"_blank",
|
|
59
|
-
"_self",
|
|
60
|
-
"_parent",
|
|
61
|
-
"_top"
|
|
62
|
-
],
|
|
63
|
-
"category": "navigation",
|
|
64
|
-
"addedIn": "v2.4"
|
|
65
|
-
},
|
|
66
|
-
"disable": {
|
|
67
|
-
"type": "Boolean",
|
|
68
|
-
"desc": "Put component in disabled mode",
|
|
69
|
-
"category": "state"
|
|
70
|
-
},
|
|
71
|
-
"label": {
|
|
72
|
-
"type": "String",
|
|
73
|
-
"desc": "The label text for the breadcrumb",
|
|
74
|
-
"examples": [
|
|
75
|
-
"Home",
|
|
76
|
-
"Index"
|
|
77
|
-
],
|
|
78
|
-
"category": "content"
|
|
79
|
-
},
|
|
80
|
-
"icon": {
|
|
81
|
-
"type": "String",
|
|
82
|
-
"desc": "Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix; If 'none' (String) is used as value then no icon is rendered (but screen real estate will still be used for it)",
|
|
83
|
-
"examples": [
|
|
84
|
-
"map",
|
|
85
|
-
"ion-add",
|
|
86
|
-
"img:https://cdn.quasar.dev/logo-v2/svg/logo.svg",
|
|
87
|
-
"img:path/to/some_image.png"
|
|
88
|
-
],
|
|
89
|
-
"category": "content"
|
|
90
|
-
},
|
|
91
|
-
"tag": {
|
|
92
|
-
"type": "String",
|
|
93
|
-
"desc": "HTML tag to use",
|
|
94
|
-
"examples": [
|
|
95
|
-
"div",
|
|
96
|
-
"span",
|
|
97
|
-
"div",
|
|
98
|
-
"span"
|
|
99
|
-
],
|
|
100
|
-
"category": "content",
|
|
101
|
-
"default": "span",
|
|
102
|
-
"required": false
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
"slots": {
|
|
106
|
-
"default": {
|
|
107
|
-
"desc": "This is where custom content goes, unless 'icon' and 'label' props are not enough"
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
"events": {
|
|
111
|
-
"click": {
|
|
112
|
-
"desc": "Emitted when the component is clicked",
|
|
113
|
-
"params": {
|
|
114
|
-
"evt": {
|
|
115
|
-
"type": "Event",
|
|
116
|
-
"desc": "JS event object; If you are using route navigation ('to'/'replace' props) and you want to cancel navigation then call evt.preventDefault() synchronously in your event handler"
|
|
117
|
-
},
|
|
118
|
-
"go": {
|
|
119
|
-
"type": "Function",
|
|
120
|
-
"desc": "Available ONLY if you are using route navigation ('to'/'replace' props); When you need to control the time at which the component should trigger the route navigation then call evt.preventDefault() synchronously and then call this function at your convenience; Useful if you have async work to be done before the actual route navigation or if you want to redirect somewhere else",
|
|
121
|
-
"required": false,
|
|
122
|
-
"addedIn": "v2.9",
|
|
123
|
-
"params": {
|
|
124
|
-
"opts": {
|
|
125
|
-
"type": "Object",
|
|
126
|
-
"desc": "Optional options",
|
|
127
|
-
"required": false,
|
|
128
|
-
"definition": {
|
|
129
|
-
"to": {
|
|
130
|
-
"type": [
|
|
131
|
-
"String",
|
|
132
|
-
"Object"
|
|
133
|
-
],
|
|
134
|
-
"desc": "Equivalent to Vue Router <router-link> 'to' property; Specify it explicitly otherwise it will be set with same value as component's 'to' prop",
|
|
135
|
-
"required": false,
|
|
136
|
-
"examples": [
|
|
137
|
-
"/home/dashboard",
|
|
138
|
-
"{ name: 'my-route-name' }"
|
|
139
|
-
]
|
|
140
|
-
},
|
|
141
|
-
"replace": {
|
|
142
|
-
"type": "Boolean",
|
|
143
|
-
"desc": "Equivalent to Vue Router <router-link> 'replace' property; Specify it explicitly otherwise it will be set with same value as component's 'replace' prop",
|
|
144
|
-
"required": false
|
|
145
|
-
},
|
|
146
|
-
"returnRouterError": {
|
|
147
|
-
"type": "Boolean",
|
|
148
|
-
"desc": "Return the router error, if any; Otherwise the returned Promise will always fulfill",
|
|
149
|
-
"required": false
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
},
|
|
154
|
-
"returns": {
|
|
155
|
-
"type": "Promise<any>",
|
|
156
|
-
"desc": "Returns the router's navigation promise"
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
}
|
|
1
|
+
{"type":"component","meta":{"docsUrl":"https://v2.quasar.dev/vue-components/breadcrumbs"},"props":{"to":{"type":["String","Object"],"desc":"Equivalent to Vue Router <router-link> 'to' property; Superseded by 'href' prop if used","examples":["/home/dashboard",":to=\"{ name: 'my-route-name' }\""],"category":"navigation"},"exact":{"type":"Boolean","desc":"Equivalent to Vue Router <router-link> 'exact' property; Superseded by 'href' prop if used","category":"navigation"},"replace":{"type":"Boolean","desc":"Equivalent to Vue Router <router-link> 'replace' property; Superseded by 'href' prop if used","category":"navigation"},"active-class":{"type":"String","desc":"Equivalent to Vue Router <router-link> 'active-class' property; Superseded by 'href' prop if used","examples":["my-active-class"],"category":"navigation"},"exact-active-class":{"type":"String","desc":"Equivalent to Vue Router <router-link> 'active-class' property; Superseded by 'href' prop if used","examples":["my-exact-active-class"],"category":"navigation"},"href":{"type":"String","desc":"Native <a> link href attribute; Has priority over the 'to'/'exact'/'replace'/'active-class'/'exact-active-class' props","examples":["https://quasar.dev"],"category":"navigation","addedIn":"v2.4"},"target":{"type":"String","desc":"Native <a> link target attribute; Use it only along with 'href' prop; Has priority over the 'to'/'exact'/'replace'/'active-class'/'exact-active-class' props","examples":["_blank","_self","_parent","_top"],"category":"navigation","addedIn":"v2.4"},"disable":{"type":"Boolean","desc":"Put component in disabled mode","category":"state"},"label":{"type":"String","desc":"The label text for the breadcrumb","examples":["Home","Index"],"category":"content"},"icon":{"type":"String","desc":"Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix; If 'none' (String) is used as value then no icon is rendered (but screen real estate will still be used for it)","examples":["map","ion-add","img:https://cdn.quasar.dev/logo-v2/svg/logo.svg","img:path/to/some_image.png"],"category":"content"},"tag":{"type":"String","desc":"HTML tag to use","examples":["div","span","div","span"],"category":"content","default":"span","required":false}},"slots":{"default":{"desc":"This is where custom content goes, unless 'icon' and 'label' props are not enough"}},"events":{"click":{"desc":"Emitted when the component is clicked","params":{"evt":{"type":"Event","desc":"JS event object; If you are using route navigation ('to'/'replace' props) and you want to cancel navigation then call evt.preventDefault() synchronously in your event handler"},"go":{"type":"Function","desc":"Available ONLY if you are using route navigation ('to'/'replace' props); When you need to control the time at which the component should trigger the route navigation then call evt.preventDefault() synchronously and then call this function at your convenience; Useful if you have async work to be done before the actual route navigation or if you want to redirect somewhere else","required":false,"addedIn":"v2.9","params":{"opts":{"type":"Object","desc":"Optional options","required":false,"definition":{"to":{"type":["String","Object"],"desc":"Equivalent to Vue Router <router-link> 'to' property; Specify it explicitly otherwise it will be set with same value as component's 'to' prop","required":false,"examples":["/home/dashboard","{ name: 'my-route-name' }"]},"replace":{"type":"Boolean","desc":"Equivalent to Vue Router <router-link> 'replace' property; Specify it explicitly otherwise it will be set with same value as component's 'replace' prop","required":false},"returnRouterError":{"type":"Boolean","desc":"Return the router error, if any; Otherwise the returned Promise will always fulfill","required":false}}}},"returns":{"type":"Promise<any>","desc":"Returns the router's navigation promise"}}}}}}
|
package/dist/api/QBtn.json
CHANGED
|
@@ -1,354 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "component",
|
|
3
|
-
"meta": {
|
|
4
|
-
"docsUrl": "https://v2.quasar.dev/vue-components/button"
|
|
5
|
-
},
|
|
6
|
-
"props": {
|
|
7
|
-
"size": {
|
|
8
|
-
"type": "String",
|
|
9
|
-
"desc": "Size in CSS units, including unit name or standard size name (xs|sm|md|lg|xl)",
|
|
10
|
-
"examples": [
|
|
11
|
-
"16px",
|
|
12
|
-
"2rem",
|
|
13
|
-
"xs",
|
|
14
|
-
"md"
|
|
15
|
-
],
|
|
16
|
-
"category": "style"
|
|
17
|
-
},
|
|
18
|
-
"type": {
|
|
19
|
-
"type": "String",
|
|
20
|
-
"desc": "1) Define the button native type attribute (submit, reset, button) or 2) render component with <a> tag so you can access events even if disable or 3) Use 'href' prop and specify 'type' as a media tag",
|
|
21
|
-
"default": "button",
|
|
22
|
-
"examples": [
|
|
23
|
-
"a",
|
|
24
|
-
"submit",
|
|
25
|
-
"button",
|
|
26
|
-
"reset",
|
|
27
|
-
"image/png",
|
|
28
|
-
"href=\"https://quasar.dev\" target=\"_blank\""
|
|
29
|
-
],
|
|
30
|
-
"category": "general",
|
|
31
|
-
"required": false
|
|
32
|
-
},
|
|
33
|
-
"to": {
|
|
34
|
-
"type": [
|
|
35
|
-
"String",
|
|
36
|
-
"Object"
|
|
37
|
-
],
|
|
38
|
-
"desc": "Equivalent to Vue Router <router-link> 'to' property; Superseded by 'href' prop if used",
|
|
39
|
-
"examples": [
|
|
40
|
-
"/home/dashboard",
|
|
41
|
-
":to=\"{ name: 'my-route-name' }\""
|
|
42
|
-
],
|
|
43
|
-
"category": "navigation"
|
|
44
|
-
},
|
|
45
|
-
"replace": {
|
|
46
|
-
"type": "Boolean",
|
|
47
|
-
"desc": "Equivalent to Vue Router <router-link> 'replace' property; Superseded by 'href' prop if used",
|
|
48
|
-
"category": "navigation"
|
|
49
|
-
},
|
|
50
|
-
"href": {
|
|
51
|
-
"type": "String",
|
|
52
|
-
"desc": "Native <a> link href attribute; Has priority over the 'to' and 'replace' props",
|
|
53
|
-
"examples": [
|
|
54
|
-
"https://quasar.dev",
|
|
55
|
-
"href=\"https://quasar.dev\" target=\"_blank\""
|
|
56
|
-
],
|
|
57
|
-
"category": "navigation",
|
|
58
|
-
"addedIn": "v2.4"
|
|
59
|
-
},
|
|
60
|
-
"target": {
|
|
61
|
-
"type": "String",
|
|
62
|
-
"desc": "Native <a> link target attribute; Use it only with 'to' or 'href' props",
|
|
63
|
-
"examples": [
|
|
64
|
-
"_blank",
|
|
65
|
-
"_self",
|
|
66
|
-
"_parent",
|
|
67
|
-
"_top"
|
|
68
|
-
],
|
|
69
|
-
"category": "navigation",
|
|
70
|
-
"addedIn": "v2.4"
|
|
71
|
-
},
|
|
72
|
-
"label": {
|
|
73
|
-
"type": [
|
|
74
|
-
"String",
|
|
75
|
-
"Number"
|
|
76
|
-
],
|
|
77
|
-
"desc": "The text that will be shown on the button",
|
|
78
|
-
"examples": [
|
|
79
|
-
"Button Label"
|
|
80
|
-
],
|
|
81
|
-
"category": "content"
|
|
82
|
-
},
|
|
83
|
-
"icon": {
|
|
84
|
-
"type": "String",
|
|
85
|
-
"desc": "Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix; If 'none' (String) is used as value then no icon is rendered (but screen real estate will still be used for it)",
|
|
86
|
-
"examples": [
|
|
87
|
-
"map",
|
|
88
|
-
"ion-add",
|
|
89
|
-
"img:https://cdn.quasar.dev/logo-v2/svg/logo.svg",
|
|
90
|
-
"img:path/to/some_image.png"
|
|
91
|
-
],
|
|
92
|
-
"category": "content"
|
|
93
|
-
},
|
|
94
|
-
"icon-right": {
|
|
95
|
-
"type": "String",
|
|
96
|
-
"desc": "Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix; If 'none' (String) is used as value then no icon is rendered (but screen real estate will still be used for it)",
|
|
97
|
-
"examples": [
|
|
98
|
-
"map",
|
|
99
|
-
"ion-add",
|
|
100
|
-
"img:https://cdn.quasar.dev/logo-v2/svg/logo.svg",
|
|
101
|
-
"img:path/to/some_image.png"
|
|
102
|
-
],
|
|
103
|
-
"category": "content"
|
|
104
|
-
},
|
|
105
|
-
"outline": {
|
|
106
|
-
"type": "Boolean",
|
|
107
|
-
"desc": "Use 'outline' design",
|
|
108
|
-
"category": "style"
|
|
109
|
-
},
|
|
110
|
-
"flat": {
|
|
111
|
-
"type": "Boolean",
|
|
112
|
-
"desc": "Use 'flat' design",
|
|
113
|
-
"category": "style"
|
|
114
|
-
},
|
|
115
|
-
"unelevated": {
|
|
116
|
-
"type": "Boolean",
|
|
117
|
-
"desc": "Remove shadow",
|
|
118
|
-
"category": "style"
|
|
119
|
-
},
|
|
120
|
-
"rounded": {
|
|
121
|
-
"type": "Boolean",
|
|
122
|
-
"desc": "Applies a more prominent border-radius for a squared shape button",
|
|
123
|
-
"category": "style"
|
|
124
|
-
},
|
|
125
|
-
"push": {
|
|
126
|
-
"type": "Boolean",
|
|
127
|
-
"desc": "Use 'push' design",
|
|
128
|
-
"category": "style"
|
|
129
|
-
},
|
|
130
|
-
"square": {
|
|
131
|
-
"type": "Boolean",
|
|
132
|
-
"desc": "Removes border-radius so borders are squared",
|
|
133
|
-
"category": "style",
|
|
134
|
-
"addedIn": "v2.7.6"
|
|
135
|
-
},
|
|
136
|
-
"glossy": {
|
|
137
|
-
"type": "Boolean",
|
|
138
|
-
"desc": "Applies a glossy effect",
|
|
139
|
-
"category": "style"
|
|
140
|
-
},
|
|
141
|
-
"fab": {
|
|
142
|
-
"type": "Boolean",
|
|
143
|
-
"desc": "Makes button size and shape to fit a Floating Action Button",
|
|
144
|
-
"category": "style"
|
|
145
|
-
},
|
|
146
|
-
"fab-mini": {
|
|
147
|
-
"type": "Boolean",
|
|
148
|
-
"desc": "Makes button size and shape to fit a small Floating Action Button",
|
|
149
|
-
"category": "style"
|
|
150
|
-
},
|
|
151
|
-
"padding": {
|
|
152
|
-
"type": "String",
|
|
153
|
-
"desc": "Apply custom padding (vertical [horizontal]); Size in CSS units, including unit name or standard size name (none|xs|sm|md|lg|xl); Also removes the min width and height when set",
|
|
154
|
-
"examples": [
|
|
155
|
-
"16px",
|
|
156
|
-
"10px 5px",
|
|
157
|
-
"2rem",
|
|
158
|
-
"xs",
|
|
159
|
-
"md lg",
|
|
160
|
-
"2px 2px 5px 7px"
|
|
161
|
-
],
|
|
162
|
-
"category": "style"
|
|
163
|
-
},
|
|
164
|
-
"color": {
|
|
165
|
-
"type": "String",
|
|
166
|
-
"tsType": "NamedColor",
|
|
167
|
-
"desc": "Color name for component from the Quasar Color Palette",
|
|
168
|
-
"examples": [
|
|
169
|
-
"primary",
|
|
170
|
-
"teal",
|
|
171
|
-
"teal-10"
|
|
172
|
-
],
|
|
173
|
-
"category": "style"
|
|
174
|
-
},
|
|
175
|
-
"text-color": {
|
|
176
|
-
"type": "String",
|
|
177
|
-
"tsType": "NamedColor",
|
|
178
|
-
"desc": "Overrides text color (if needed); Color name from the Quasar Color Palette",
|
|
179
|
-
"examples": [
|
|
180
|
-
"primary",
|
|
181
|
-
"teal",
|
|
182
|
-
"teal-10"
|
|
183
|
-
],
|
|
184
|
-
"category": "style"
|
|
185
|
-
},
|
|
186
|
-
"no-caps": {
|
|
187
|
-
"type": "Boolean",
|
|
188
|
-
"desc": "Avoid turning label text into caps (which happens by default)",
|
|
189
|
-
"category": "content"
|
|
190
|
-
},
|
|
191
|
-
"no-wrap": {
|
|
192
|
-
"type": "Boolean",
|
|
193
|
-
"desc": "Avoid label text wrapping",
|
|
194
|
-
"category": "content"
|
|
195
|
-
},
|
|
196
|
-
"dense": {
|
|
197
|
-
"type": "Boolean",
|
|
198
|
-
"desc": "Dense mode; occupies less space",
|
|
199
|
-
"category": "style"
|
|
200
|
-
},
|
|
201
|
-
"ripple": {
|
|
202
|
-
"type": [
|
|
203
|
-
"Boolean",
|
|
204
|
-
"Object"
|
|
205
|
-
],
|
|
206
|
-
"desc": "Configure material ripple (disable it by setting it to 'false' or supply a config object)",
|
|
207
|
-
"default": true,
|
|
208
|
-
"examples": [
|
|
209
|
-
false,
|
|
210
|
-
"{ early: true, center: true, color: 'teal', keyCodes: [] }"
|
|
211
|
-
],
|
|
212
|
-
"category": "style",
|
|
213
|
-
"required": false
|
|
214
|
-
},
|
|
215
|
-
"tabindex": {
|
|
216
|
-
"type": [
|
|
217
|
-
"Number",
|
|
218
|
-
"String"
|
|
219
|
-
],
|
|
220
|
-
"desc": "Tabindex HTML attribute value",
|
|
221
|
-
"examples": [
|
|
222
|
-
"0",
|
|
223
|
-
"100"
|
|
224
|
-
],
|
|
225
|
-
"category": "general"
|
|
226
|
-
},
|
|
227
|
-
"align": {
|
|
228
|
-
"type": "String",
|
|
229
|
-
"desc": "Label or content alignment",
|
|
230
|
-
"default": "center",
|
|
231
|
-
"values": [
|
|
232
|
-
"left",
|
|
233
|
-
"right",
|
|
234
|
-
"center",
|
|
235
|
-
"around",
|
|
236
|
-
"between",
|
|
237
|
-
"evenly"
|
|
238
|
-
],
|
|
239
|
-
"category": "content",
|
|
240
|
-
"required": false
|
|
241
|
-
},
|
|
242
|
-
"stack": {
|
|
243
|
-
"type": "Boolean",
|
|
244
|
-
"desc": "Stack icon and label vertically instead of on same line (like it is by default)",
|
|
245
|
-
"category": "content"
|
|
246
|
-
},
|
|
247
|
-
"stretch": {
|
|
248
|
-
"type": "Boolean",
|
|
249
|
-
"desc": "When used on flexbox parent, button will stretch to parent's height",
|
|
250
|
-
"category": "content"
|
|
251
|
-
},
|
|
252
|
-
"loading": {
|
|
253
|
-
"type": [
|
|
254
|
-
"Boolean",
|
|
255
|
-
"null"
|
|
256
|
-
],
|
|
257
|
-
"default": null,
|
|
258
|
-
"desc": "Put button into loading state (displays a QSpinner -- can be overridden by using a 'loading' slot)",
|
|
259
|
-
"category": "behavior|state",
|
|
260
|
-
"required": false
|
|
261
|
-
},
|
|
262
|
-
"disable": {
|
|
263
|
-
"type": "Boolean",
|
|
264
|
-
"desc": "Put component in disabled mode",
|
|
265
|
-
"category": "state"
|
|
266
|
-
},
|
|
267
|
-
"round": {
|
|
268
|
-
"type": "Boolean",
|
|
269
|
-
"desc": "Makes a circle shaped button",
|
|
270
|
-
"category": "style"
|
|
271
|
-
},
|
|
272
|
-
"percentage": {
|
|
273
|
-
"type": "Number",
|
|
274
|
-
"desc": "Percentage (0.0 < x < 100.0); To be used along 'loading' prop; Display a progress bar on the background",
|
|
275
|
-
"category": "behavior"
|
|
276
|
-
},
|
|
277
|
-
"dark-percentage": {
|
|
278
|
-
"type": "Boolean",
|
|
279
|
-
"desc": "Progress bar on the background should have dark color; To be used along with 'percentage' and 'loading' props",
|
|
280
|
-
"category": "behavior"
|
|
281
|
-
}
|
|
282
|
-
},
|
|
283
|
-
"slots": {
|
|
284
|
-
"default": {
|
|
285
|
-
"desc": "Use for custom content, instead of relying on 'icon' and 'label' props"
|
|
286
|
-
},
|
|
287
|
-
"loading": {
|
|
288
|
-
"desc": "Override the default QSpinner when in 'loading' state"
|
|
289
|
-
}
|
|
290
|
-
},
|
|
291
|
-
"events": {
|
|
292
|
-
"click": {
|
|
293
|
-
"desc": "Emitted when the component is clicked",
|
|
294
|
-
"params": {
|
|
295
|
-
"evt": {
|
|
296
|
-
"type": "Event",
|
|
297
|
-
"desc": "JS event object; If you are using route navigation ('to'/'replace' props) and you want to cancel navigation then call evt.preventDefault() synchronously in your event handler"
|
|
298
|
-
},
|
|
299
|
-
"go": {
|
|
300
|
-
"type": "Function",
|
|
301
|
-
"desc": "Available ONLY if you are using route navigation ('to'/'replace' props); When you need to control the time at which the component should trigger the route navigation then call evt.preventDefault() synchronously and then call this function at your convenience; Useful if you have async work to be done before the actual route navigation or if you want to redirect somewhere else",
|
|
302
|
-
"required": false,
|
|
303
|
-
"addedIn": "v2.9",
|
|
304
|
-
"params": {
|
|
305
|
-
"opts": {
|
|
306
|
-
"type": "Object",
|
|
307
|
-
"desc": "Optional options",
|
|
308
|
-
"required": false,
|
|
309
|
-
"definition": {
|
|
310
|
-
"to": {
|
|
311
|
-
"type": [
|
|
312
|
-
"String",
|
|
313
|
-
"Object"
|
|
314
|
-
],
|
|
315
|
-
"desc": "Equivalent to Vue Router <router-link> 'to' property; Specify it explicitly otherwise it will be set with same value as component's 'to' prop",
|
|
316
|
-
"required": false,
|
|
317
|
-
"examples": [
|
|
318
|
-
"/home/dashboard",
|
|
319
|
-
"{ name: 'my-route-name' }"
|
|
320
|
-
]
|
|
321
|
-
},
|
|
322
|
-
"replace": {
|
|
323
|
-
"type": "Boolean",
|
|
324
|
-
"desc": "Equivalent to Vue Router <router-link> 'replace' property; Specify it explicitly otherwise it will be set with same value as component's 'replace' prop",
|
|
325
|
-
"required": false
|
|
326
|
-
},
|
|
327
|
-
"returnRouterError": {
|
|
328
|
-
"type": "Boolean",
|
|
329
|
-
"desc": "Return the router error, if any; Otherwise the returned Promise will always fulfill",
|
|
330
|
-
"required": false
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
},
|
|
335
|
-
"returns": {
|
|
336
|
-
"type": "Promise<any>",
|
|
337
|
-
"desc": "Returns the router's navigation promise"
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
},
|
|
343
|
-
"methods": {
|
|
344
|
-
"click": {
|
|
345
|
-
"desc": "Emulate click on QBtn",
|
|
346
|
-
"params": {
|
|
347
|
-
"evt": {
|
|
348
|
-
"type": "Event",
|
|
349
|
-
"desc": "JS event object"
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
}
|
|
1
|
+
{"type":"component","meta":{"docsUrl":"https://v2.quasar.dev/vue-components/button"},"props":{"size":{"type":"String","desc":"Size in CSS units, including unit name or standard size name (xs|sm|md|lg|xl)","examples":["16px","2rem","xs","md"],"category":"style"},"type":{"type":"String","desc":"1) Define the button native type attribute (submit, reset, button) or 2) render component with <a> tag so you can access events even if disable or 3) Use 'href' prop and specify 'type' as a media tag","default":"button","examples":["a","submit","button","reset","image/png","href=\"https://quasar.dev\" target=\"_blank\""],"category":"general","required":false},"to":{"type":["String","Object"],"desc":"Equivalent to Vue Router <router-link> 'to' property; Superseded by 'href' prop if used","examples":["/home/dashboard",":to=\"{ name: 'my-route-name' }\""],"category":"navigation"},"replace":{"type":"Boolean","desc":"Equivalent to Vue Router <router-link> 'replace' property; Superseded by 'href' prop if used","category":"navigation"},"href":{"type":"String","desc":"Native <a> link href attribute; Has priority over the 'to' and 'replace' props","examples":["https://quasar.dev","href=\"https://quasar.dev\" target=\"_blank\""],"category":"navigation","addedIn":"v2.4"},"target":{"type":"String","desc":"Native <a> link target attribute; Use it only with 'to' or 'href' props","examples":["_blank","_self","_parent","_top"],"category":"navigation","addedIn":"v2.4"},"label":{"type":["String","Number"],"desc":"The text that will be shown on the button","examples":["Button Label"],"category":"content"},"icon":{"type":"String","desc":"Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix; If 'none' (String) is used as value then no icon is rendered (but screen real estate will still be used for it)","examples":["map","ion-add","img:https://cdn.quasar.dev/logo-v2/svg/logo.svg","img:path/to/some_image.png"],"category":"content"},"icon-right":{"type":"String","desc":"Icon name following Quasar convention; Make sure you have the icon library installed unless you are using 'img:' prefix; If 'none' (String) is used as value then no icon is rendered (but screen real estate will still be used for it)","examples":["map","ion-add","img:https://cdn.quasar.dev/logo-v2/svg/logo.svg","img:path/to/some_image.png"],"category":"content"},"outline":{"type":"Boolean","desc":"Use 'outline' design","category":"style"},"flat":{"type":"Boolean","desc":"Use 'flat' design","category":"style"},"unelevated":{"type":"Boolean","desc":"Remove shadow","category":"style"},"rounded":{"type":"Boolean","desc":"Applies a more prominent border-radius for a squared shape button","category":"style"},"push":{"type":"Boolean","desc":"Use 'push' design","category":"style"},"square":{"type":"Boolean","desc":"Removes border-radius so borders are squared","category":"style","addedIn":"v2.7.6"},"glossy":{"type":"Boolean","desc":"Applies a glossy effect","category":"style"},"fab":{"type":"Boolean","desc":"Makes button size and shape to fit a Floating Action Button","category":"style"},"fab-mini":{"type":"Boolean","desc":"Makes button size and shape to fit a small Floating Action Button","category":"style"},"padding":{"type":"String","desc":"Apply custom padding (vertical [horizontal]); Size in CSS units, including unit name or standard size name (none|xs|sm|md|lg|xl); Also removes the min width and height when set","examples":["16px","10px 5px","2rem","xs","md lg","2px 2px 5px 7px"],"category":"style"},"color":{"type":"String","tsType":"NamedColor","desc":"Color name for component from the Quasar Color Palette","examples":["primary","teal","teal-10"],"category":"style"},"text-color":{"type":"String","tsType":"NamedColor","desc":"Overrides text color (if needed); Color name from the Quasar Color Palette","examples":["primary","teal","teal-10"],"category":"style"},"no-caps":{"type":"Boolean","desc":"Avoid turning label text into caps (which happens by default)","category":"content"},"no-wrap":{"type":"Boolean","desc":"Avoid label text wrapping","category":"content"},"dense":{"type":"Boolean","desc":"Dense mode; occupies less space","category":"style"},"ripple":{"type":["Boolean","Object"],"desc":"Configure material ripple (disable it by setting it to 'false' or supply a config object)","default":true,"examples":[false,"{ early: true, center: true, color: 'teal', keyCodes: [] }"],"category":"style","required":false},"tabindex":{"type":["Number","String"],"desc":"Tabindex HTML attribute value","examples":["0","100"],"category":"general"},"align":{"type":"String","desc":"Label or content alignment","default":"center","values":["left","right","center","around","between","evenly"],"category":"content","required":false},"stack":{"type":"Boolean","desc":"Stack icon and label vertically instead of on same line (like it is by default)","category":"content"},"stretch":{"type":"Boolean","desc":"When used on flexbox parent, button will stretch to parent's height","category":"content"},"loading":{"type":["Boolean","null"],"default":null,"desc":"Put button into loading state (displays a QSpinner -- can be overridden by using a 'loading' slot)","category":"behavior|state","required":false},"disable":{"type":"Boolean","desc":"Put component in disabled mode","category":"state"},"round":{"type":"Boolean","desc":"Makes a circle shaped button","category":"style"},"percentage":{"type":"Number","desc":"Percentage (0.0 < x < 100.0); To be used along 'loading' prop; Display a progress bar on the background","category":"behavior"},"dark-percentage":{"type":"Boolean","desc":"Progress bar on the background should have dark color; To be used along with 'percentage' and 'loading' props","category":"behavior"}},"slots":{"default":{"desc":"Use for custom content, instead of relying on 'icon' and 'label' props"},"loading":{"desc":"Override the default QSpinner when in 'loading' state"}},"events":{"click":{"desc":"Emitted when the component is clicked","params":{"evt":{"type":"Event","desc":"JS event object; If you are using route navigation ('to'/'replace' props) and you want to cancel navigation then call evt.preventDefault() synchronously in your event handler"},"go":{"type":"Function","desc":"Available ONLY if you are using route navigation ('to'/'replace' props); When you need to control the time at which the component should trigger the route navigation then call evt.preventDefault() synchronously and then call this function at your convenience; Useful if you have async work to be done before the actual route navigation or if you want to redirect somewhere else","required":false,"addedIn":"v2.9","params":{"opts":{"type":"Object","desc":"Optional options","required":false,"definition":{"to":{"type":["String","Object"],"desc":"Equivalent to Vue Router <router-link> 'to' property; Specify it explicitly otherwise it will be set with same value as component's 'to' prop","required":false,"examples":["/home/dashboard","{ name: 'my-route-name' }"]},"replace":{"type":"Boolean","desc":"Equivalent to Vue Router <router-link> 'replace' property; Specify it explicitly otherwise it will be set with same value as component's 'replace' prop","required":false},"returnRouterError":{"type":"Boolean","desc":"Return the router error, if any; Otherwise the returned Promise will always fulfill","required":false}}}},"returns":{"type":"Promise<any>","desc":"Returns the router's navigation promise"}}}}},"methods":{"click":{"desc":"Emulate click on QBtn","params":{"evt":{"type":"Event","desc":"JS event object"}}}}}
|