vant 3.4.1 → 3.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/action-bar/ActionBar.d.ts +6 -5
- package/es/action-bar/index.css +1 -1
- package/es/action-bar/index.d.ts +6 -5
- package/es/action-bar-button/ActionBarButton.d.ts +11 -21
- package/es/action-bar-button/index.css +1 -1
- package/es/action-bar-button/index.d.ts +11 -21
- package/es/action-bar-icon/ActionBarIcon.d.ts +16 -84
- package/es/action-bar-icon/index.css +1 -1
- package/es/action-bar-icon/index.d.ts +14 -64
- package/es/action-sheet/ActionSheet.d.ts +54 -47
- package/es/action-sheet/index.css +1 -1
- package/es/action-sheet/index.d.ts +54 -47
- package/es/address-edit/AddressEdit.d.ts +48 -48
- package/es/address-edit/AddressEditDetail.d.ts +10 -20
- package/es/address-edit/index.css +1 -1
- package/es/address-edit/index.d.ts +48 -48
- package/es/address-list/AddressList.d.ts +18 -18
- package/es/address-list/AddressListItem.d.ts +9 -12
- package/es/address-list/index.css +1 -1
- package/es/address-list/index.d.ts +18 -18
- package/es/address-list/index.less +1 -1
- package/es/area/Area.d.ts +41 -33
- package/es/area/index.d.ts +41 -33
- package/es/badge/Badge.d.ts +19 -20
- package/es/badge/index.css +1 -1
- package/es/badge/index.d.ts +19 -20
- package/es/button/Button.d.ts +39 -47
- package/es/button/index.css +1 -1
- package/es/button/index.d.ts +39 -47
- package/es/calendar/Calendar.d.ts +85 -62
- package/es/calendar/Calendar.js +6 -1
- package/es/calendar/CalendarDay.d.ts +13 -14
- package/es/calendar/CalendarHeader.d.ts +7 -14
- package/es/calendar/CalendarMonth.d.ts +25 -32
- package/es/calendar/index.css +1 -1
- package/es/calendar/index.d.ts +85 -62
- package/es/card/Card.d.ts +16 -26
- package/es/card/index.css +1 -1
- package/es/card/index.d.ts +16 -26
- package/es/cascader/Cascader.d.ts +36 -22
- package/es/cascader/Cascader.js +3 -2
- package/es/cascader/index.css +1 -1
- package/es/cascader/index.d.ts +32 -22
- package/es/cell/Cell.d.ts +27 -41
- package/es/cell/index.css +1 -1
- package/es/cell/index.d.ts +27 -41
- package/es/cell-group/CellGroup.d.ts +8 -10
- package/es/cell-group/index.css +1 -1
- package/es/cell-group/index.d.ts +8 -10
- package/es/checkbox/Checkbox.d.ts +17 -21
- package/es/checkbox/Checker.d.ts +24 -29
- package/es/checkbox/index.css +1 -1
- package/es/checkbox/index.d.ts +17 -21
- package/es/checkbox-group/CheckboxGroup.d.ts +11 -16
- package/es/checkbox-group/index.css +1 -1
- package/es/checkbox-group/index.d.ts +11 -16
- package/es/circle/Circle.d.ts +35 -28
- package/es/circle/index.css +1 -1
- package/es/circle/index.d.ts +35 -28
- package/es/col/Col.d.ts +11 -10
- package/es/col/index.css +1 -1
- package/es/col/index.d.ts +11 -10
- package/es/collapse/Collapse.d.ts +11 -9
- package/es/collapse/index.d.ts +11 -9
- package/es/collapse-item/CollapseItem.d.ts +31 -41
- package/es/collapse-item/index.css +1 -1
- package/es/collapse-item/index.d.ts +31 -41
- package/es/composables/use-height.js +6 -2
- package/es/config-provider/ConfigProvider.d.ts +8 -10
- package/es/config-provider/index.d.ts +8 -10
- package/es/contact-card/ContactCard.d.ts +13 -14
- package/es/contact-card/index.css +1 -1
- package/es/contact-card/index.d.ts +13 -14
- package/es/contact-edit/ContactEdit.d.ts +15 -18
- package/es/contact-edit/index.css +1 -1
- package/es/contact-edit/index.d.ts +15 -18
- package/es/contact-list/ContactList.d.ts +6 -11
- package/es/contact-list/index.css +1 -1
- package/es/contact-list/index.d.ts +6 -11
- package/es/count-down/CountDown.d.ts +15 -11
- package/es/count-down/index.css +1 -1
- package/es/count-down/index.d.ts +15 -11
- package/es/coupon/Coupon.d.ts +12 -11
- package/es/coupon/index.css +1 -1
- package/es/coupon/index.d.ts +12 -11
- package/es/coupon-cell/CouponCell.d.ts +23 -16
- package/es/coupon-cell/index.css +1 -1
- package/es/coupon-cell/index.d.ts +23 -16
- package/es/coupon-list/CouponList.d.ts +53 -40
- package/es/coupon-list/index.css +1 -1
- package/es/coupon-list/index.d.ts +53 -40
- package/es/datetime-picker/DatePicker.d.ts +45 -36
- package/es/datetime-picker/TimePicker.d.ts +47 -38
- package/es/dialog/Dialog.d.ts +52 -59
- package/es/dialog/function-call.d.ts +52 -59
- package/es/dialog/index.css +1 -1
- package/es/divider/Divider.d.ts +11 -9
- package/es/divider/index.css +1 -1
- package/es/divider/index.d.ts +11 -9
- package/es/dropdown-item/DropdownItem.d.ts +15 -18
- package/es/dropdown-item/index.css +1 -1
- package/es/dropdown-item/index.d.ts +15 -18
- package/es/dropdown-menu/DropdownMenu.d.ts +24 -18
- package/es/dropdown-menu/index.css +1 -1
- package/es/dropdown-menu/index.d.ts +24 -18
- package/es/empty/Empty.d.ts +8 -10
- package/es/empty/index.css +1 -1
- package/es/empty/index.d.ts +8 -10
- package/es/field/Field.d.ts +80 -90
- package/es/field/index.css +1 -1
- package/es/field/index.d.ts +80 -90
- package/es/form/Form.d.ts +24 -30
- package/es/form/index.d.ts +24 -30
- package/es/grid/Grid.d.ts +20 -22
- package/es/grid/index.css +1 -1
- package/es/grid/index.d.ts +20 -22
- package/es/grid-item/GridItem.d.ts +15 -82
- package/es/grid-item/index.css +1 -1
- package/es/grid-item/index.d.ts +13 -62
- package/es/icon/Icon.d.ts +16 -79
- package/es/icon/index.css +1 -1
- package/es/icon/index.d.ts +14 -59
- package/es/image/Image.d.ts +32 -32
- package/es/image/Image.js +13 -4
- package/es/image/index.css +1 -1
- package/es/image/index.d.ts +30 -32
- package/es/image-preview/ImagePreview.d.ts +54 -42
- package/es/image-preview/ImagePreviewItem.d.ts +21 -18
- package/es/image-preview/ImagePreviewItem.js +12 -4
- package/es/image-preview/function-call.d.ts +54 -42
- package/es/image-preview/index.css +1 -1
- package/es/index-anchor/IndexAnchor.d.ts +3 -5
- package/es/index-anchor/index.css +1 -1
- package/es/index-anchor/index.d.ts +3 -5
- package/es/index-bar/IndexBar.d.ts +17 -16
- package/es/index-bar/index.css +1 -1
- package/es/index-bar/index.d.ts +17 -16
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/list/List.d.ts +20 -22
- package/es/list/index.css +1 -1
- package/es/list/index.d.ts +20 -22
- package/es/loading/Loading.d.ts +11 -16
- package/es/loading/index.css +1 -1
- package/es/loading/index.d.ts +11 -16
- package/es/nav-bar/NavBar.d.ts +14 -22
- package/es/nav-bar/index.css +1 -1
- package/es/nav-bar/index.d.ts +14 -22
- package/es/notice-bar/NoticeBar.d.ts +20 -22
- package/es/notice-bar/index.css +1 -1
- package/es/notice-bar/index.d.ts +20 -22
- package/es/notify/Notify.d.ts +39 -39
- package/es/notify/function-call.d.ts +39 -39
- package/es/notify/index.css +1 -1
- package/es/number-keyboard/NumberKeyboard.d.ts +46 -38
- package/es/number-keyboard/NumberKeyboardKey.d.ts +8 -16
- package/es/number-keyboard/index.css +1 -1
- package/es/number-keyboard/index.d.ts +46 -38
- package/es/overlay/Overlay.d.ts +24 -16
- package/es/overlay/Overlay.js +2 -1
- package/es/overlay/index.css +1 -1
- package/es/overlay/index.d.ts +20 -16
- package/es/pagination/Pagination.d.ts +29 -22
- package/es/pagination/index.css +1 -1
- package/es/pagination/index.d.ts +29 -22
- package/es/password-input/PasswordInput.d.ts +18 -18
- package/es/password-input/index.css +1 -1
- package/es/password-input/index.d.ts +18 -18
- package/es/picker/Picker.d.ts +38 -33
- package/es/picker/PickerColumn.d.ts +29 -22
- package/es/picker/index.css +1 -1
- package/es/picker/index.d.ts +38 -33
- package/es/popover/Popover.d.ts +48 -36
- package/es/popover/index.css +1 -1
- package/es/popover/index.d.ts +48 -36
- package/es/popup/Popup.d.ts +44 -45
- package/es/popup/index.css +1 -1
- package/es/popup/index.d.ts +44 -45
- package/es/progress/Progress.d.ts +18 -22
- package/es/progress/index.css +1 -1
- package/es/progress/index.d.ts +18 -22
- package/es/pull-refresh/PullRefresh.d.ts +21 -24
- package/es/pull-refresh/index.css +1 -1
- package/es/pull-refresh/index.d.ts +21 -24
- package/es/radio/Radio.d.ts +13 -20
- package/es/radio/index.css +1 -1
- package/es/radio/index.d.ts +13 -20
- package/es/radio-group/RadioGroup.d.ts +7 -14
- package/es/radio-group/index.css +1 -1
- package/es/radio-group/index.d.ts +7 -14
- package/es/rate/Rate.d.ts +31 -32
- package/es/rate/index.css +1 -1
- package/es/rate/index.d.ts +31 -32
- package/es/row/Row.d.ts +16 -14
- package/es/row/index.css +1 -1
- package/es/row/index.d.ts +16 -14
- package/es/search/Search.d.ts +58 -51
- package/es/search/index.css +1 -1
- package/es/search/index.d.ts +58 -51
- package/es/share-sheet/ShareSheet.d.ts +45 -41
- package/es/share-sheet/index.css +1 -1
- package/es/share-sheet/index.d.ts +45 -41
- package/es/sidebar/Sidebar.d.ts +6 -5
- package/es/sidebar/index.css +1 -1
- package/es/sidebar/index.d.ts +6 -5
- package/es/sidebar-item/SidebarItem.d.ts +13 -78
- package/es/sidebar-item/index.css +1 -1
- package/es/sidebar-item/index.d.ts +11 -58
- package/es/skeleton/Skeleton.d.ts +27 -24
- package/es/skeleton/Skeleton.js +1 -1
- package/es/skeleton/index.css +1 -1
- package/es/skeleton/index.d.ts +27 -24
- package/es/slider/Slider.d.ts +27 -30
- package/es/slider/index.css +1 -1
- package/es/slider/index.d.ts +27 -30
- package/es/step/Step.d.ts +1 -1
- package/es/step/index.css +1 -1
- package/es/step/index.d.ts +1 -1
- package/es/stepper/Stepper.d.ts +51 -48
- package/es/stepper/index.css +1 -1
- package/es/stepper/index.d.ts +51 -48
- package/es/steps/Steps.d.ts +19 -20
- package/es/steps/index.css +1 -1
- package/es/steps/index.d.ts +19 -20
- package/es/sticky/Sticky.d.ts +16 -14
- package/es/sticky/index.css +1 -1
- package/es/sticky/index.d.ts +16 -14
- package/es/style/animation.css +1 -1
- package/es/style/base.css +1 -1
- package/es/style/css-variables.css +1 -1
- package/es/style/normalize.css +1 -1
- package/es/submit-bar/SubmitBar.d.ts +28 -32
- package/es/submit-bar/index.css +1 -1
- package/es/submit-bar/index.d.ts +28 -32
- package/es/swipe/Swipe.d.ts +35 -28
- package/es/swipe/index.css +1 -1
- package/es/swipe/index.d.ts +35 -28
- package/es/swipe-cell/SwipeCell.d.ts +11 -16
- package/es/swipe-cell/index.css +1 -1
- package/es/swipe-cell/index.d.ts +11 -16
- package/es/swipe-item/SwipeItem.d.ts +1 -1
- package/es/swipe-item/index.css +1 -1
- package/es/swipe-item/index.d.ts +1 -1
- package/es/switch/Switch.d.ts +16 -20
- package/es/switch/index.css +1 -1
- package/es/switch/index.d.ts +16 -20
- package/es/tab/Tab.d.ts +16 -25
- package/es/tab/index.css +1 -1
- package/es/tab/index.d.ts +16 -25
- package/es/tabbar/Tabbar.d.ts +24 -24
- package/es/tabbar/index.css +1 -1
- package/es/tabbar/index.d.ts +24 -24
- package/es/tabbar-item/TabbarItem.d.ts +14 -80
- package/es/tabbar-item/index.css +1 -1
- package/es/tabbar-item/index.d.ts +12 -60
- package/es/tabs/Tabs.d.ts +43 -44
- package/es/tabs/TabsContent.d.ts +18 -17
- package/es/tabs/TabsTitle.d.ts +19 -32
- package/es/tabs/index.css +1 -1
- package/es/tabs/index.d.ts +43 -44
- package/es/tag/Tag.d.ts +17 -22
- package/es/tag/index.css +1 -1
- package/es/tag/index.d.ts +17 -22
- package/es/toast/Toast.d.ts +31 -38
- package/es/toast/index.css +1 -1
- package/es/tree-select/TreeSelect.d.ts +26 -15
- package/es/tree-select/index.css +1 -1
- package/es/tree-select/index.d.ts +26 -15
- package/es/uploader/Uploader.d.ts +61 -50
- package/es/uploader/UploaderPreviewItem.d.ts +13 -20
- package/es/uploader/index.css +1 -1
- package/es/uploader/index.d.ts +61 -50
- package/lib/action-bar/ActionBar.d.ts +6 -5
- package/lib/action-bar/index.css +1 -1
- package/lib/action-bar/index.d.ts +6 -5
- package/lib/action-bar-button/ActionBarButton.d.ts +11 -21
- package/lib/action-bar-button/index.css +1 -1
- package/lib/action-bar-button/index.d.ts +11 -21
- package/lib/action-bar-icon/ActionBarIcon.d.ts +16 -84
- package/lib/action-bar-icon/index.css +1 -1
- package/lib/action-bar-icon/index.d.ts +14 -64
- package/lib/action-sheet/ActionSheet.d.ts +54 -47
- package/lib/action-sheet/index.css +1 -1
- package/lib/action-sheet/index.d.ts +54 -47
- package/lib/address-edit/AddressEdit.d.ts +48 -48
- package/lib/address-edit/AddressEditDetail.d.ts +10 -20
- package/lib/address-edit/index.css +1 -1
- package/lib/address-edit/index.d.ts +48 -48
- package/lib/address-list/AddressList.d.ts +18 -18
- package/lib/address-list/AddressListItem.d.ts +9 -12
- package/lib/address-list/index.css +1 -1
- package/lib/address-list/index.d.ts +18 -18
- package/lib/address-list/index.less +1 -1
- package/lib/area/Area.d.ts +41 -33
- package/lib/area/index.d.ts +41 -33
- package/lib/badge/Badge.d.ts +19 -20
- package/lib/badge/index.css +1 -1
- package/lib/badge/index.d.ts +19 -20
- package/lib/button/Button.d.ts +39 -47
- package/lib/button/index.css +1 -1
- package/lib/button/index.d.ts +39 -47
- package/lib/calendar/Calendar.d.ts +85 -62
- package/lib/calendar/Calendar.js +6 -1
- package/lib/calendar/CalendarDay.d.ts +13 -14
- package/lib/calendar/CalendarHeader.d.ts +7 -14
- package/lib/calendar/CalendarMonth.d.ts +25 -32
- package/lib/calendar/index.css +1 -1
- package/lib/calendar/index.d.ts +85 -62
- package/lib/card/Card.d.ts +16 -26
- package/lib/card/index.css +1 -1
- package/lib/card/index.d.ts +16 -26
- package/lib/cascader/Cascader.d.ts +36 -22
- package/lib/cascader/Cascader.js +3 -2
- package/lib/cascader/index.css +1 -1
- package/lib/cascader/index.d.ts +32 -22
- package/lib/cell/Cell.d.ts +27 -41
- package/lib/cell/index.css +1 -1
- package/lib/cell/index.d.ts +27 -41
- package/lib/cell-group/CellGroup.d.ts +8 -10
- package/lib/cell-group/index.css +1 -1
- package/lib/cell-group/index.d.ts +8 -10
- package/lib/checkbox/Checkbox.d.ts +17 -21
- package/lib/checkbox/Checker.d.ts +24 -29
- package/lib/checkbox/index.css +1 -1
- package/lib/checkbox/index.d.ts +17 -21
- package/lib/checkbox-group/CheckboxGroup.d.ts +11 -16
- package/lib/checkbox-group/index.css +1 -1
- package/lib/checkbox-group/index.d.ts +11 -16
- package/lib/circle/Circle.d.ts +35 -28
- package/lib/circle/index.css +1 -1
- package/lib/circle/index.d.ts +35 -28
- package/lib/col/Col.d.ts +11 -10
- package/lib/col/index.css +1 -1
- package/lib/col/index.d.ts +11 -10
- package/lib/collapse/Collapse.d.ts +11 -9
- package/lib/collapse/index.d.ts +11 -9
- package/lib/collapse-item/CollapseItem.d.ts +31 -41
- package/lib/collapse-item/index.css +1 -1
- package/lib/collapse-item/index.d.ts +31 -41
- package/lib/composables/use-height.js +6 -2
- package/lib/config-provider/ConfigProvider.d.ts +8 -10
- package/lib/config-provider/index.d.ts +8 -10
- package/lib/contact-card/ContactCard.d.ts +13 -14
- package/lib/contact-card/index.css +1 -1
- package/lib/contact-card/index.d.ts +13 -14
- package/lib/contact-edit/ContactEdit.d.ts +15 -18
- package/lib/contact-edit/index.css +1 -1
- package/lib/contact-edit/index.d.ts +15 -18
- package/lib/contact-list/ContactList.d.ts +6 -11
- package/lib/contact-list/index.css +1 -1
- package/lib/contact-list/index.d.ts +6 -11
- package/lib/count-down/CountDown.d.ts +15 -11
- package/lib/count-down/index.css +1 -1
- package/lib/count-down/index.d.ts +15 -11
- package/lib/coupon/Coupon.d.ts +12 -11
- package/lib/coupon/index.css +1 -1
- package/lib/coupon/index.d.ts +12 -11
- package/lib/coupon-cell/CouponCell.d.ts +23 -16
- package/lib/coupon-cell/index.css +1 -1
- package/lib/coupon-cell/index.d.ts +23 -16
- package/lib/coupon-list/CouponList.d.ts +53 -40
- package/lib/coupon-list/index.css +1 -1
- package/lib/coupon-list/index.d.ts +53 -40
- package/lib/datetime-picker/DatePicker.d.ts +45 -36
- package/lib/datetime-picker/TimePicker.d.ts +47 -38
- package/lib/dialog/Dialog.d.ts +52 -59
- package/lib/dialog/function-call.d.ts +52 -59
- package/lib/dialog/index.css +1 -1
- package/lib/divider/Divider.d.ts +11 -9
- package/lib/divider/index.css +1 -1
- package/lib/divider/index.d.ts +11 -9
- package/lib/dropdown-item/DropdownItem.d.ts +15 -18
- package/lib/dropdown-item/index.css +1 -1
- package/lib/dropdown-item/index.d.ts +15 -18
- package/lib/dropdown-menu/DropdownMenu.d.ts +24 -18
- package/lib/dropdown-menu/index.css +1 -1
- package/lib/dropdown-menu/index.d.ts +24 -18
- package/lib/empty/Empty.d.ts +8 -10
- package/lib/empty/index.css +1 -1
- package/lib/empty/index.d.ts +8 -10
- package/lib/field/Field.d.ts +80 -90
- package/lib/field/index.css +1 -1
- package/lib/field/index.d.ts +80 -90
- package/lib/form/Form.d.ts +24 -30
- package/lib/form/index.d.ts +24 -30
- package/lib/grid/Grid.d.ts +20 -22
- package/lib/grid/index.css +1 -1
- package/lib/grid/index.d.ts +20 -22
- package/lib/grid-item/GridItem.d.ts +15 -82
- package/lib/grid-item/index.css +1 -1
- package/lib/grid-item/index.d.ts +13 -62
- package/lib/icon/Icon.d.ts +16 -79
- package/lib/icon/index.css +1 -1
- package/lib/icon/index.d.ts +14 -59
- package/lib/image/Image.d.ts +32 -32
- package/lib/image/Image.js +12 -3
- package/lib/image/index.css +1 -1
- package/lib/image/index.d.ts +30 -32
- package/lib/image-preview/ImagePreview.d.ts +54 -42
- package/lib/image-preview/ImagePreviewItem.d.ts +21 -18
- package/lib/image-preview/ImagePreviewItem.js +12 -4
- package/lib/image-preview/function-call.d.ts +54 -42
- package/lib/image-preview/index.css +1 -1
- package/lib/index-anchor/IndexAnchor.d.ts +3 -5
- package/lib/index-anchor/index.css +1 -1
- package/lib/index-anchor/index.d.ts +3 -5
- package/lib/index-bar/IndexBar.d.ts +17 -16
- package/lib/index-bar/index.css +1 -1
- package/lib/index-bar/index.d.ts +17 -16
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/list/List.d.ts +20 -22
- package/lib/list/index.css +1 -1
- package/lib/list/index.d.ts +20 -22
- package/lib/loading/Loading.d.ts +11 -16
- package/lib/loading/index.css +1 -1
- package/lib/loading/index.d.ts +11 -16
- package/lib/nav-bar/NavBar.d.ts +14 -22
- package/lib/nav-bar/index.css +1 -1
- package/lib/nav-bar/index.d.ts +14 -22
- package/lib/notice-bar/NoticeBar.d.ts +20 -22
- package/lib/notice-bar/index.css +1 -1
- package/lib/notice-bar/index.d.ts +20 -22
- package/lib/notify/Notify.d.ts +39 -39
- package/lib/notify/function-call.d.ts +39 -39
- package/lib/notify/index.css +1 -1
- package/lib/number-keyboard/NumberKeyboard.d.ts +46 -38
- package/lib/number-keyboard/NumberKeyboardKey.d.ts +8 -16
- package/lib/number-keyboard/index.css +1 -1
- package/lib/number-keyboard/index.d.ts +46 -38
- package/lib/overlay/Overlay.d.ts +24 -16
- package/lib/overlay/Overlay.js +2 -1
- package/lib/overlay/index.css +1 -1
- package/lib/overlay/index.d.ts +20 -16
- package/lib/pagination/Pagination.d.ts +29 -22
- package/lib/pagination/index.css +1 -1
- package/lib/pagination/index.d.ts +29 -22
- package/lib/password-input/PasswordInput.d.ts +18 -18
- package/lib/password-input/index.css +1 -1
- package/lib/password-input/index.d.ts +18 -18
- package/lib/picker/Picker.d.ts +38 -33
- package/lib/picker/PickerColumn.d.ts +29 -22
- package/lib/picker/index.css +1 -1
- package/lib/picker/index.d.ts +38 -33
- package/lib/popover/Popover.d.ts +48 -36
- package/lib/popover/index.css +1 -1
- package/lib/popover/index.d.ts +48 -36
- package/lib/popup/Popup.d.ts +44 -45
- package/lib/popup/index.css +1 -1
- package/lib/popup/index.d.ts +44 -45
- package/lib/progress/Progress.d.ts +18 -22
- package/lib/progress/index.css +1 -1
- package/lib/progress/index.d.ts +18 -22
- package/lib/pull-refresh/PullRefresh.d.ts +21 -24
- package/lib/pull-refresh/index.css +1 -1
- package/lib/pull-refresh/index.d.ts +21 -24
- package/lib/radio/Radio.d.ts +13 -20
- package/lib/radio/index.css +1 -1
- package/lib/radio/index.d.ts +13 -20
- package/lib/radio-group/RadioGroup.d.ts +7 -14
- package/lib/radio-group/index.css +1 -1
- package/lib/radio-group/index.d.ts +7 -14
- package/lib/rate/Rate.d.ts +31 -32
- package/lib/rate/index.css +1 -1
- package/lib/rate/index.d.ts +31 -32
- package/lib/row/Row.d.ts +16 -14
- package/lib/row/index.css +1 -1
- package/lib/row/index.d.ts +16 -14
- package/lib/search/Search.d.ts +58 -51
- package/lib/search/index.css +1 -1
- package/lib/search/index.d.ts +58 -51
- package/lib/share-sheet/ShareSheet.d.ts +45 -41
- package/lib/share-sheet/index.css +1 -1
- package/lib/share-sheet/index.d.ts +45 -41
- package/lib/sidebar/Sidebar.d.ts +6 -5
- package/lib/sidebar/index.css +1 -1
- package/lib/sidebar/index.d.ts +6 -5
- package/lib/sidebar-item/SidebarItem.d.ts +13 -78
- package/lib/sidebar-item/index.css +1 -1
- package/lib/sidebar-item/index.d.ts +11 -58
- package/lib/skeleton/Skeleton.d.ts +27 -24
- package/lib/skeleton/Skeleton.js +1 -1
- package/lib/skeleton/index.css +1 -1
- package/lib/skeleton/index.d.ts +27 -24
- package/lib/slider/Slider.d.ts +27 -30
- package/lib/slider/index.css +1 -1
- package/lib/slider/index.d.ts +27 -30
- package/lib/step/Step.d.ts +1 -1
- package/lib/step/index.css +1 -1
- package/lib/step/index.d.ts +1 -1
- package/lib/stepper/Stepper.d.ts +51 -48
- package/lib/stepper/index.css +1 -1
- package/lib/stepper/index.d.ts +51 -48
- package/lib/steps/Steps.d.ts +19 -20
- package/lib/steps/index.css +1 -1
- package/lib/steps/index.d.ts +19 -20
- package/lib/sticky/Sticky.d.ts +16 -14
- package/lib/sticky/index.css +1 -1
- package/lib/sticky/index.d.ts +16 -14
- package/lib/style/animation.css +1 -1
- package/lib/style/base.css +1 -1
- package/lib/style/css-variables.css +1 -1
- package/lib/style/normalize.css +1 -1
- package/lib/submit-bar/SubmitBar.d.ts +28 -32
- package/lib/submit-bar/index.css +1 -1
- package/lib/submit-bar/index.d.ts +28 -32
- package/lib/swipe/Swipe.d.ts +35 -28
- package/lib/swipe/index.css +1 -1
- package/lib/swipe/index.d.ts +35 -28
- package/lib/swipe-cell/SwipeCell.d.ts +11 -16
- package/lib/swipe-cell/index.css +1 -1
- package/lib/swipe-cell/index.d.ts +11 -16
- package/lib/swipe-item/SwipeItem.d.ts +1 -1
- package/lib/swipe-item/index.css +1 -1
- package/lib/swipe-item/index.d.ts +1 -1
- package/lib/switch/Switch.d.ts +16 -20
- package/lib/switch/index.css +1 -1
- package/lib/switch/index.d.ts +16 -20
- package/lib/tab/Tab.d.ts +16 -25
- package/lib/tab/index.css +1 -1
- package/lib/tab/index.d.ts +16 -25
- package/lib/tabbar/Tabbar.d.ts +24 -24
- package/lib/tabbar/index.css +1 -1
- package/lib/tabbar/index.d.ts +24 -24
- package/lib/tabbar-item/TabbarItem.d.ts +14 -80
- package/lib/tabbar-item/index.css +1 -1
- package/lib/tabbar-item/index.d.ts +12 -60
- package/lib/tabs/Tabs.d.ts +43 -44
- package/lib/tabs/TabsContent.d.ts +18 -17
- package/lib/tabs/TabsTitle.d.ts +19 -32
- package/lib/tabs/index.css +1 -1
- package/lib/tabs/index.d.ts +43 -44
- package/lib/tag/Tag.d.ts +17 -22
- package/lib/tag/index.css +1 -1
- package/lib/tag/index.d.ts +17 -22
- package/lib/toast/Toast.d.ts +31 -38
- package/lib/toast/index.css +1 -1
- package/lib/tree-select/TreeSelect.d.ts +26 -15
- package/lib/tree-select/index.css +1 -1
- package/lib/tree-select/index.d.ts +26 -15
- package/lib/uploader/Uploader.d.ts +61 -50
- package/lib/uploader/UploaderPreviewItem.d.ts +13 -20
- package/lib/uploader/index.css +1 -1
- package/lib/uploader/index.d.ts +61 -50
- package/lib/vant.cjs.js +43 -15
- package/lib/vant.cjs.min.js +1 -1
- package/lib/vant.es.js +43 -15
- package/lib/vant.es.min.js +43 -15
- package/lib/vant.js +43 -15
- package/lib/vant.min.js +1 -1
- package/package.json +3 -3
- package/vetur/attributes.json +939 -939
- package/vetur/tags.json +31 -31
- package/vetur/web-types.json +1511 -1511
package/vetur/attributes.json
CHANGED
@@ -1,3518 +1,3518 @@
|
|
1
1
|
{
|
2
2
|
"van-action-bar/safe-area-inset-bottom": {
|
3
3
|
"type": "boolean",
|
4
|
-
"description": "
|
4
|
+
"description": "Whether to enable bottom safe area adaptation, Default: `true`"
|
5
5
|
},
|
6
6
|
"van-action-bar-icon/text": {
|
7
7
|
"type": "string",
|
8
|
-
"description": "
|
8
|
+
"description": "Button text, Default: -"
|
9
9
|
},
|
10
10
|
"van-action-bar-icon/icon": {
|
11
11
|
"type": "string",
|
12
|
-
"description": "
|
12
|
+
"description": "Icon, Default: -"
|
13
13
|
},
|
14
14
|
"van-action-bar-icon/color": {
|
15
15
|
"type": "string",
|
16
|
-
"description": "
|
16
|
+
"description": "Icon color, Default: `#323233`"
|
17
17
|
},
|
18
18
|
"van-action-bar-icon/icon-class": {
|
19
19
|
"type": "string | Array \\",
|
20
|
-
"description": "
|
20
|
+
"description": "Icon class name, Default: object_",
|
21
21
|
"options": [
|
22
|
-
"
|
22
|
+
"''"
|
23
23
|
]
|
24
24
|
},
|
25
25
|
"van-action-bar-icon/icon-prefix": {
|
26
26
|
"type": "string",
|
27
|
-
"description": "
|
27
|
+
"description": "Icon className prefix, Default: `van-icon`"
|
28
28
|
},
|
29
29
|
"van-action-bar-icon/dot": {
|
30
30
|
"type": "boolean",
|
31
|
-
"description": "
|
31
|
+
"description": "Whether to show red dot, Default: -"
|
32
32
|
},
|
33
33
|
"van-action-bar-icon/badge": {
|
34
34
|
"type": "number | string",
|
35
|
-
"description": "
|
35
|
+
"description": "Content of the badge, Default: -"
|
36
36
|
},
|
37
37
|
"van-action-bar-icon/badge-props": {
|
38
38
|
"type": "BadgeProps",
|
39
|
-
"description": "
|
39
|
+
"description": "Props of Badge,see [Badge - props](#/en-US/badge#props), Default: -"
|
40
40
|
},
|
41
41
|
"van-action-bar-icon/url": {
|
42
42
|
"type": "string",
|
43
|
-
"description": "
|
43
|
+
"description": "Link URL, Default: -"
|
44
44
|
},
|
45
45
|
"van-action-bar-icon/to": {
|
46
46
|
"type": "string | object",
|
47
|
-
"description": "
|
47
|
+
"description": "Target route of the link, same as to of vue-router, Default: -"
|
48
48
|
},
|
49
49
|
"van-action-bar-icon/replace": {
|
50
50
|
"type": "boolean",
|
51
|
-
"description": "
|
51
|
+
"description": "If true, the navigation will not leave a history record, Default: `false`"
|
52
52
|
},
|
53
53
|
"van-action-bar-button/text": {
|
54
54
|
"type": "string",
|
55
|
-
"description": "
|
55
|
+
"description": "Button text, Default: -"
|
56
56
|
},
|
57
57
|
"van-action-bar-button/type": {
|
58
58
|
"type": "string",
|
59
|
-
"description": "
|
59
|
+
"description": "Button type, Can be set to `primary` `info` `warning` `danger`, Default: `default`"
|
60
60
|
},
|
61
61
|
"van-action-bar-button/color": {
|
62
62
|
"type": "string",
|
63
|
-
"description": "
|
63
|
+
"description": "Button color, support linear-gradient, Default: -"
|
64
64
|
},
|
65
65
|
"van-action-bar-button/icon": {
|
66
66
|
"type": "string",
|
67
|
-
"description": "
|
67
|
+
"description": "Left Icon, Default: -"
|
68
68
|
},
|
69
69
|
"van-action-bar-button/disabled": {
|
70
70
|
"type": "boolean",
|
71
|
-
"description": "
|
71
|
+
"description": "Whether to disable button, Default: `false`"
|
72
72
|
},
|
73
73
|
"van-action-bar-button/loading": {
|
74
74
|
"type": "boolean",
|
75
|
-
"description": "
|
75
|
+
"description": "Whether to show loading status, Default: `false`"
|
76
76
|
},
|
77
77
|
"van-action-bar-button/url": {
|
78
78
|
"type": "string",
|
79
|
-
"description": "
|
79
|
+
"description": "Link, Default: -"
|
80
80
|
},
|
81
81
|
"van-action-bar-button/to": {
|
82
82
|
"type": "string | object",
|
83
|
-
"description": "
|
83
|
+
"description": "Target route of the link, same as to of vue-router, Default: -"
|
84
84
|
},
|
85
85
|
"van-action-bar-button/replace": {
|
86
86
|
"type": "boolean",
|
87
|
-
"description": "
|
87
|
+
"description": "If true, the navigation will not leave a history record, Default: `false`"
|
88
88
|
},
|
89
89
|
"van-action-sheet/v-model:show": {
|
90
90
|
"type": "boolean",
|
91
|
-
"description": "
|
91
|
+
"description": "Whether to show ActionSheet, Default: `false`"
|
92
92
|
},
|
93
93
|
"van-action-sheet/actions": {
|
94
94
|
"type": "ActionSheetAction[]",
|
95
|
-
"description": "
|
95
|
+
"description": "Options, Default: `[]`"
|
96
96
|
},
|
97
97
|
"van-action-sheet/title": {
|
98
98
|
"type": "string",
|
99
|
-
"description": "
|
99
|
+
"description": "Title, Default: -"
|
100
100
|
},
|
101
101
|
"van-action-sheet/cancel-text": {
|
102
102
|
"type": "string",
|
103
|
-
"description": "
|
103
|
+
"description": "Text of cancel button, Default: -"
|
104
104
|
},
|
105
105
|
"van-action-sheet/description": {
|
106
106
|
"type": "string",
|
107
|
-
"description": "
|
107
|
+
"description": "Description above the options, Default: -"
|
108
108
|
},
|
109
109
|
"van-action-sheet/closeable": {
|
110
110
|
"type": "boolean",
|
111
|
-
"description": "
|
111
|
+
"description": "Whether to show close icon, Default: `true`"
|
112
112
|
},
|
113
113
|
"van-action-sheet/close-icon": {
|
114
114
|
"type": "string",
|
115
|
-
"description": "
|
115
|
+
"description": "Close icon name, Default: `cross`"
|
116
116
|
},
|
117
117
|
"van-action-sheet/duration": {
|
118
118
|
"type": "number | string",
|
119
|
-
"description": "
|
119
|
+
"description": "Transition duration, unit second, Default: `0.3`"
|
120
120
|
},
|
121
121
|
"van-action-sheet/round": {
|
122
122
|
"type": "boolean",
|
123
|
-
"description": "
|
123
|
+
"description": "Whether to show round corner, Default: `true`"
|
124
124
|
},
|
125
125
|
"van-action-sheet/overlay": {
|
126
126
|
"type": "boolean",
|
127
|
-
"description": "
|
127
|
+
"description": "Whether to show overlay, Default: `true`"
|
128
128
|
},
|
129
129
|
"van-action-sheet/overlay-class": {
|
130
130
|
"type": "string | Array \\",
|
131
|
-
"description": "
|
131
|
+
"description": "Custom overlay class, Default: object_",
|
132
132
|
"options": [
|
133
133
|
"-"
|
134
134
|
]
|
135
135
|
},
|
136
136
|
"van-action-sheet/overlay-style": {
|
137
137
|
"type": "object",
|
138
|
-
"description": "
|
138
|
+
"description": "Custom overlay style, Default: -"
|
139
139
|
},
|
140
140
|
"van-action-sheet/lock-scroll": {
|
141
141
|
"type": "boolean",
|
142
|
-
"description": "
|
142
|
+
"description": "Whether to lock background scroll, Default: `true`"
|
143
143
|
},
|
144
144
|
"van-action-sheet/lazy-render": {
|
145
145
|
"type": "boolean",
|
146
|
-
"description": "
|
146
|
+
"description": "Whether to lazy render util appeared, Default: `true`"
|
147
147
|
},
|
148
148
|
"van-action-sheet/close-on-popstate": {
|
149
149
|
"type": "boolean",
|
150
|
-
"description": "
|
150
|
+
"description": "Whether to close when popstate, Default: `true`"
|
151
151
|
},
|
152
152
|
"van-action-sheet/close-on-click-action": {
|
153
153
|
"type": "boolean",
|
154
|
-
"description": "
|
154
|
+
"description": "Whether to close when an action is clicked, Default: `false`"
|
155
155
|
},
|
156
156
|
"van-action-sheet/close-on-click-overlay": {
|
157
157
|
"type": "boolean",
|
158
|
-
"description": "
|
158
|
+
"description": "Whether to close when overlay is clicked, Default: `true`"
|
159
159
|
},
|
160
160
|
"van-action-sheet/safe-area-inset-bottom": {
|
161
161
|
"type": "boolean",
|
162
|
-
"description": "
|
162
|
+
"description": "Whether to enable bottom safe area adaptation, Default: `true`"
|
163
163
|
},
|
164
164
|
"van-action-sheet/teleport": {
|
165
165
|
"type": "string | Element",
|
166
|
-
"description": "
|
166
|
+
"description": "Specifies a target element where ActionSheet will be mounted, Default: -"
|
167
167
|
},
|
168
168
|
"van-action-sheet/before-close": {
|
169
169
|
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
170
|
-
"description": "
|
170
|
+
"description": "Callback function before close, Default: -"
|
171
171
|
},
|
172
172
|
"van-address-list/v-model": {
|
173
173
|
"type": "string",
|
174
|
-
"description": "
|
174
|
+
"description": "Id of chosen address, Default: -"
|
175
175
|
},
|
176
176
|
"van-address-list/list": {
|
177
|
-
"type": "
|
178
|
-
"description": "
|
177
|
+
"type": "Address[]",
|
178
|
+
"description": "Address list, Default: `[]`"
|
179
179
|
},
|
180
180
|
"van-address-list/disabled-list": {
|
181
|
-
"type": "
|
182
|
-
"description": "
|
181
|
+
"type": "Address[]",
|
182
|
+
"description": "Disabled address list, Default: `[]`"
|
183
183
|
},
|
184
184
|
"van-address-list/disabled-text": {
|
185
185
|
"type": "string",
|
186
|
-
"description": "
|
186
|
+
"description": "Disabled text, Default: -"
|
187
187
|
},
|
188
188
|
"van-address-list/switchable": {
|
189
189
|
"type": "boolean",
|
190
|
-
"description": "
|
190
|
+
"description": "Whether to allow switch address, Default: `true`"
|
191
191
|
},
|
192
192
|
"van-address-list/add-button-text": {
|
193
193
|
"type": "string",
|
194
|
-
"description": "
|
194
|
+
"description": "Add button text, Default: `Add new address`"
|
195
195
|
},
|
196
196
|
"van-address-list/default-tag-text": {
|
197
197
|
"type": "string",
|
198
|
-
"description": "
|
198
|
+
"description": "Default tag text, Default: -"
|
199
199
|
},
|
200
200
|
"van-address-edit/area-list": {
|
201
201
|
"type": "object",
|
202
|
-
"description": "
|
202
|
+
"description": "Area List, Default: -"
|
203
203
|
},
|
204
204
|
"van-address-edit/area-columns-placeholder": {
|
205
205
|
"type": "string[]",
|
206
|
-
"description": "
|
206
|
+
"description": "placeholder of area columns, Default: `[]`"
|
207
207
|
},
|
208
208
|
"van-address-edit/area-placeholder": {
|
209
209
|
"type": "string",
|
210
|
-
"description": "
|
210
|
+
"description": "placeholder of area input field, Default: `Area`"
|
211
211
|
},
|
212
212
|
"van-address-edit/address-info": {
|
213
213
|
"type": "AddressEditInfo",
|
214
|
-
"description": "
|
214
|
+
"description": "Address Info, Default: `{}`"
|
215
215
|
},
|
216
216
|
"van-address-edit/search-result": {
|
217
217
|
"type": "AddressEditSearchItem[]",
|
218
|
-
"description": "
|
218
|
+
"description": "Address search result, Default: `[]`"
|
219
219
|
},
|
220
220
|
"van-address-edit/show-postal": {
|
221
221
|
"type": "boolean",
|
222
|
-
"description": "
|
222
|
+
"description": "Whether to show postal field, Default: `false`"
|
223
223
|
},
|
224
224
|
"van-address-edit/show-delete": {
|
225
225
|
"type": "boolean",
|
226
|
-
"description": "
|
226
|
+
"description": "Whether to show delete button, Default: `false`"
|
227
227
|
},
|
228
228
|
"van-address-edit/show-set-default": {
|
229
229
|
"type": "boolean",
|
230
|
-
"description": "
|
230
|
+
"description": "Whether to show default address switch, Default: `false`"
|
231
231
|
},
|
232
232
|
"van-address-edit/show-search-result": {
|
233
233
|
"type": "boolean",
|
234
|
-
"description": "
|
234
|
+
"description": "Whether to show address search result, Default: `false`"
|
235
235
|
},
|
236
236
|
"van-address-edit/show-area": {
|
237
237
|
"type": "boolean",
|
238
|
-
"description": "
|
238
|
+
"description": "Whether to show area cell, Default: `true`"
|
239
239
|
},
|
240
240
|
"van-address-edit/show-detail": {
|
241
241
|
"type": "boolean",
|
242
|
-
"description": "
|
242
|
+
"description": "Whether to show detail field, Default: `true`"
|
243
243
|
},
|
244
244
|
"van-address-edit/disable-area": {
|
245
245
|
"type": "boolean",
|
246
|
-
"description": "
|
246
|
+
"description": "Whether to disable area select, Default: `false`"
|
247
247
|
},
|
248
248
|
"van-address-edit/save-button-text": {
|
249
249
|
"type": "string",
|
250
|
-
"description": "
|
250
|
+
"description": "Save button text, Default: `Save`"
|
251
251
|
},
|
252
252
|
"van-address-edit/delete-button-text": {
|
253
253
|
"type": "string",
|
254
|
-
"description": "
|
254
|
+
"description": "Delete button text, Default: `Delete`"
|
255
255
|
},
|
256
256
|
"van-address-edit/detail-rows": {
|
257
257
|
"type": "number | string",
|
258
|
-
"description": "
|
258
|
+
"description": "Detail input rows, Default: `1`"
|
259
259
|
},
|
260
260
|
"van-address-edit/detail-maxlength": {
|
261
261
|
"type": "number | string",
|
262
|
-
"description": "
|
262
|
+
"description": "Detail maxlength, Default: `200`"
|
263
263
|
},
|
264
264
|
"van-address-edit/is-saving": {
|
265
265
|
"type": "boolean",
|
266
|
-
"description": "
|
266
|
+
"description": "Whether to show save button loading status, Default: `false`"
|
267
267
|
},
|
268
268
|
"van-address-edit/is-deleting": {
|
269
269
|
"type": "boolean",
|
270
|
-
"description": "
|
270
|
+
"description": "Whether to show delete button loading status, Default: `false`"
|
271
271
|
},
|
272
272
|
"van-address-edit/tel-validator": {
|
273
|
-
"type": "string => boolean",
|
274
|
-
"description": "
|
273
|
+
"type": "(tel: string) => boolean",
|
274
|
+
"description": "The method to validate tel, Default: -"
|
275
275
|
},
|
276
276
|
"van-address-edit/tel-maxlength": {
|
277
277
|
"type": "number | string",
|
278
|
-
"description": "
|
278
|
+
"description": "Tel maxlength, Default: -"
|
279
279
|
},
|
280
280
|
"van-address-edit/postal-validator": {
|
281
|
-
"type": "string => boolean",
|
282
|
-
"description": "
|
281
|
+
"type": "(tel: string) => boolean",
|
282
|
+
"description": "The method to validate postal, Default: -"
|
283
283
|
},
|
284
284
|
"van-address-edit/validator": {
|
285
285
|
"type": "(key, val) => string",
|
286
|
-
"description": "
|
286
|
+
"description": "Custom validator, Default: -"
|
287
287
|
},
|
288
288
|
"van-area/value": {
|
289
289
|
"type": "string",
|
290
|
-
"description": "
|
290
|
+
"description": "the `code` of selected area, Default: -"
|
291
291
|
},
|
292
292
|
"van-area/title": {
|
293
293
|
"type": "string",
|
294
|
-
"description": "
|
294
|
+
"description": "Toolbar title, Default: -"
|
295
295
|
},
|
296
296
|
"van-area/confirm-button-text": {
|
297
297
|
"type": "string",
|
298
|
-
"description": "
|
298
|
+
"description": "Text of confirm button, Default: `Confirm`"
|
299
299
|
},
|
300
300
|
"van-area/cancel-button-text": {
|
301
301
|
"type": "string",
|
302
|
-
"description": "
|
302
|
+
"description": "Text of cancel button, Default: `Cancel`"
|
303
303
|
},
|
304
304
|
"van-area/area-list": {
|
305
305
|
"type": "object",
|
306
|
-
"description": "
|
306
|
+
"description": "Area list data, Default: -"
|
307
307
|
},
|
308
308
|
"van-area/columns-placeholder": {
|
309
309
|
"type": "string[]",
|
310
|
-
"description": "
|
310
|
+
"description": "Placeholder of columns, Default: `[]`"
|
311
311
|
},
|
312
312
|
"van-area/loading": {
|
313
313
|
"type": "boolean",
|
314
|
-
"description": "
|
314
|
+
"description": "Whether to show loading prompt, Default: `false`"
|
315
315
|
},
|
316
316
|
"van-area/readonly": {
|
317
317
|
"type": "boolean",
|
318
|
-
"description": "
|
318
|
+
"description": "Whether to be readonly, Default: `false`"
|
319
319
|
},
|
320
320
|
"van-area/item-height": {
|
321
321
|
"type": "number | string",
|
322
|
-
"description": "
|
322
|
+
"description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`, Default: `44`"
|
323
323
|
},
|
324
324
|
"van-area/columns-num": {
|
325
325
|
"type": "number | string",
|
326
|
-
"description": "
|
326
|
+
"description": "Level of picker, Default: `3`"
|
327
327
|
},
|
328
328
|
"van-area/visible-item-count": {
|
329
329
|
"type": "number | string",
|
330
|
-
"description": "
|
330
|
+
"description": "Count of visible columns, Default: `6`"
|
331
331
|
},
|
332
332
|
"van-area/swipe-duration": {
|
333
333
|
"type": "number | string",
|
334
|
-
"description": "
|
334
|
+
"description": "Duration of the momentum animation,unit `ms`, Default: `1000`"
|
335
335
|
},
|
336
336
|
"van-area/is-oversea-code": {
|
337
337
|
"type": "() => boolean",
|
338
|
-
"description": "
|
338
|
+
"description": "The method to validate oversea code, Default: -"
|
339
339
|
},
|
340
340
|
"van-badge/content": {
|
341
341
|
"type": "number | string",
|
342
|
-
"description": "
|
342
|
+
"description": "Badge content, Default: -"
|
343
343
|
},
|
344
344
|
"van-badge/color": {
|
345
345
|
"type": "string",
|
346
|
-
"description": "
|
346
|
+
"description": "Background color, Default: `#ee0a24`"
|
347
347
|
},
|
348
348
|
"van-badge/dot": {
|
349
349
|
"type": "boolean",
|
350
|
-
"description": "
|
350
|
+
"description": "Whether to show dot, Default: `false`"
|
351
351
|
},
|
352
352
|
"van-badge/max": {
|
353
353
|
"type": "number | string",
|
354
|
-
"description": "
|
354
|
+
"description": "Max value,show `{max}+` when exceed,only works when content is number, Default: -"
|
355
355
|
},
|
356
356
|
"van-badge/offset": {
|
357
357
|
"type": "[number | string, number \\",
|
358
|
-
"description": "
|
358
|
+
"description": "Offset of badge dot, Default: string]_",
|
359
359
|
"options": [
|
360
360
|
"-"
|
361
361
|
]
|
362
362
|
},
|
363
363
|
"van-badge/show-zero": {
|
364
364
|
"type": "boolean",
|
365
|
-
"description": "
|
365
|
+
"description": "Whether to show badge when content is zero, Default: `true`"
|
366
366
|
},
|
367
367
|
"van-badge/position": {
|
368
368
|
"type": "string",
|
369
|
-
"description": "
|
369
|
+
"description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`, Default: `top-right`"
|
370
370
|
},
|
371
371
|
"van-button/type": {
|
372
372
|
"type": "string",
|
373
|
-
"description": "
|
373
|
+
"description": "Can be set to `primary` `success` `warning` `danger`, Default: `default`"
|
374
374
|
},
|
375
375
|
"van-button/size": {
|
376
376
|
"type": "string",
|
377
|
-
"description": "
|
377
|
+
"description": "Can be set to `large` `small` `mini`, Default: `normal`"
|
378
378
|
},
|
379
379
|
"van-button/text": {
|
380
380
|
"type": "string",
|
381
|
-
"description": "
|
381
|
+
"description": "Text, Default: -"
|
382
382
|
},
|
383
383
|
"van-button/color": {
|
384
384
|
"type": "string",
|
385
|
-
"description": "
|
385
|
+
"description": "Color, support linear-gradient, Default: -"
|
386
386
|
},
|
387
387
|
"van-button/icon": {
|
388
388
|
"type": "string",
|
389
|
-
"description": "
|
389
|
+
"description": "Left Icon, Default: -"
|
390
390
|
},
|
391
391
|
"van-button/icon-prefix": {
|
392
392
|
"type": "string",
|
393
|
-
"description": "
|
393
|
+
"description": "Icon className prefix, Default: `van-icon`"
|
394
394
|
},
|
395
395
|
"van-button/icon-position": {
|
396
396
|
"type": "string",
|
397
|
-
"description": "
|
397
|
+
"description": "Icon position, can be set to `right`, Default: `left`"
|
398
398
|
},
|
399
399
|
"van-button/tag": {
|
400
400
|
"type": "string",
|
401
|
-
"description": "
|
401
|
+
"description": "HTML Tag, Default: `button`"
|
402
402
|
},
|
403
403
|
"van-button/native-type": {
|
404
404
|
"type": "string",
|
405
|
-
"description": "
|
406
|
-
},
|
407
|
-
"van-button/block": {
|
408
|
-
"type": "boolean",
|
409
|
-
"description": "是否为块级元素, 默认值: `false`"
|
405
|
+
"description": "Native Type Attribute, Default: `button`"
|
410
406
|
},
|
411
407
|
"van-button/plain": {
|
412
408
|
"type": "boolean",
|
413
|
-
"description": "
|
409
|
+
"description": "Whether to be plain button, Default: `false`"
|
414
410
|
},
|
415
|
-
"van-button/
|
411
|
+
"van-button/block": {
|
416
412
|
"type": "boolean",
|
417
|
-
"description": "
|
413
|
+
"description": "Whether to set display block, Default: `false`"
|
418
414
|
},
|
419
415
|
"van-button/round": {
|
420
416
|
"type": "boolean",
|
421
|
-
"description": "
|
417
|
+
"description": "Whether to be round button, Default: `false`"
|
422
418
|
},
|
423
|
-
"van-button/
|
419
|
+
"van-button/square": {
|
424
420
|
"type": "boolean",
|
425
|
-
"description": "
|
421
|
+
"description": "Whether to be square button, Default: `false`"
|
426
422
|
},
|
427
|
-
"van-button/
|
423
|
+
"van-button/disabled": {
|
428
424
|
"type": "boolean",
|
429
|
-
"description": "
|
425
|
+
"description": "Whether to disable button, Default: `false`"
|
430
426
|
},
|
431
427
|
"van-button/loading": {
|
432
428
|
"type": "boolean",
|
433
|
-
"description": "
|
429
|
+
"description": "Whether to show loading status, Default: `false`"
|
434
430
|
},
|
435
431
|
"van-button/loading-text": {
|
436
432
|
"type": "string",
|
437
|
-
"description": "
|
433
|
+
"description": "Loading text, Default: -"
|
438
434
|
},
|
439
435
|
"van-button/loading-type": {
|
440
436
|
"type": "string",
|
441
|
-
"description": "
|
437
|
+
"description": "Loading type, can be set to `spinner`, Default: `circular`"
|
442
438
|
},
|
443
439
|
"van-button/loading-size": {
|
444
440
|
"type": "number | string",
|
445
|
-
"description": "
|
441
|
+
"description": "Loading icon size, Default: `20px`"
|
446
442
|
},
|
447
443
|
"van-button/url": {
|
448
444
|
"type": "string",
|
449
|
-
"description": "
|
445
|
+
"description": "Link URL, Default: -"
|
450
446
|
},
|
451
447
|
"van-button/to": {
|
452
448
|
"type": "string | object",
|
453
|
-
"description": "
|
449
|
+
"description": "Target route of the link, same as using vue-router, Default: -"
|
454
450
|
},
|
455
451
|
"van-button/replace": {
|
456
452
|
"type": "boolean",
|
457
|
-
"description": "
|
458
|
-
},
|
459
|
-
"van-card/thumb": {
|
460
|
-
"type": "string",
|
461
|
-
"description": "左侧图片 URL, 默认值: -"
|
462
|
-
},
|
463
|
-
"van-card/title": {
|
464
|
-
"type": "string",
|
465
|
-
"description": "标题, 默认值: -"
|
466
|
-
},
|
467
|
-
"van-card/desc": {
|
468
|
-
"type": "string",
|
469
|
-
"description": "描述, 默认值: -"
|
470
|
-
},
|
471
|
-
"van-card/tag": {
|
472
|
-
"type": "string",
|
473
|
-
"description": "图片角标, 默认值: -"
|
474
|
-
},
|
475
|
-
"van-card/num": {
|
476
|
-
"type": "number | string",
|
477
|
-
"description": "商品数量, 默认值: -"
|
478
|
-
},
|
479
|
-
"van-card/price": {
|
480
|
-
"type": "number | string",
|
481
|
-
"description": "商品价格, 默认值: -"
|
482
|
-
},
|
483
|
-
"van-card/origin-price": {
|
484
|
-
"type": "number | string",
|
485
|
-
"description": "商品划线原价, 默认值: -"
|
486
|
-
},
|
487
|
-
"van-card/centered": {
|
488
|
-
"type": "boolean",
|
489
|
-
"description": "内容是否垂直居中, 默认值: `false`"
|
490
|
-
},
|
491
|
-
"van-card/currency": {
|
492
|
-
"type": "string",
|
493
|
-
"description": "货币符号, 默认值: `¥`"
|
494
|
-
},
|
495
|
-
"van-card/thumb-link": {
|
496
|
-
"type": "string",
|
497
|
-
"description": "点击左侧图片后跳转的链接地址, 默认值: -"
|
498
|
-
},
|
499
|
-
"van-card/lazy-load": {
|
500
|
-
"type": "boolean",
|
501
|
-
"description": "是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用, 默认值: `false`"
|
453
|
+
"description": "If true, the navigation will not leave a history record, Default: `false`"
|
502
454
|
},
|
503
455
|
"van-calendar/type": {
|
504
456
|
"type": "string",
|
505
|
-
"description": "
|
457
|
+
"description": "Type,can be set to `range` `multiple`, Default: `single`"
|
506
458
|
},
|
507
459
|
"van-calendar/title": {
|
508
460
|
"type": "string",
|
509
|
-
"description": "
|
461
|
+
"description": "Title of calendar, Default: `Calendar`"
|
510
462
|
},
|
511
463
|
"van-calendar/color": {
|
512
464
|
"type": "string",
|
513
|
-
"description": "
|
465
|
+
"description": "Color for the bottom button and selected date, Default: `#ee0a24`"
|
514
466
|
},
|
515
467
|
"van-calendar/min-date": {
|
516
468
|
"type": "Date",
|
517
|
-
"description": "
|
469
|
+
"description": "Min date, Default: Today"
|
518
470
|
},
|
519
471
|
"van-calendar/max-date": {
|
520
472
|
"type": "Date",
|
521
|
-
"description": "
|
473
|
+
"description": "Max date, Default: Six months after the today"
|
522
474
|
},
|
523
475
|
"van-calendar/default-date": {
|
524
476
|
"type": "Date | Date[] \\",
|
525
|
-
"description": "
|
477
|
+
"description": "Default selected date, Default: null_",
|
526
478
|
"options": [
|
527
|
-
"
|
479
|
+
"Today"
|
528
480
|
]
|
529
481
|
},
|
530
482
|
"van-calendar/row-height": {
|
531
483
|
"type": "number | string",
|
532
|
-
"description": "
|
484
|
+
"description": "Row height, Default: `64`"
|
533
485
|
},
|
534
486
|
"van-calendar/formatter": {
|
535
487
|
"type": "(day: Day) => Day",
|
536
|
-
"description": "
|
488
|
+
"description": "Day formatter, Default: -"
|
537
489
|
},
|
538
490
|
"van-calendar/poppable": {
|
539
491
|
"type": "boolean",
|
540
|
-
"description": "
|
492
|
+
"description": "Whether to show the calendar inside a popup, Default: `true`"
|
541
493
|
},
|
542
494
|
"van-calendar/lazy-render": {
|
543
495
|
"type": "boolean",
|
544
|
-
"description": "
|
496
|
+
"description": "Whether to enable lazy render, Default: `true`"
|
545
497
|
},
|
546
498
|
"van-calendar/show-mark": {
|
547
499
|
"type": "boolean",
|
548
|
-
"description": "
|
500
|
+
"description": "Whether to show background month mark, Default: `true`"
|
549
501
|
},
|
550
502
|
"van-calendar/show-title": {
|
551
503
|
"type": "boolean",
|
552
|
-
"description": "
|
504
|
+
"description": "Whether to show title, Default: `true`"
|
553
505
|
},
|
554
506
|
"van-calendar/show-subtitle": {
|
555
507
|
"type": "boolean",
|
556
|
-
"description": "
|
508
|
+
"description": "Whether to show subtitle, Default: `true`"
|
557
509
|
},
|
558
510
|
"van-calendar/show-confirm": {
|
559
511
|
"type": "boolean",
|
560
|
-
"description": "
|
512
|
+
"description": "Whether to show confirm button, Default: `true`"
|
561
513
|
},
|
562
514
|
"van-calendar/readonly": {
|
563
515
|
"type": "boolean",
|
564
|
-
"description": "
|
516
|
+
"description": "Whether to be readonly, Default: `false`"
|
565
517
|
},
|
566
518
|
"van-calendar/confirm-text": {
|
567
519
|
"type": "string",
|
568
|
-
"description": "
|
520
|
+
"description": "Confirm button text, Default: `Confirm`"
|
569
521
|
},
|
570
522
|
"van-calendar/confirm-disabled-text": {
|
571
523
|
"type": "string",
|
572
|
-
"description": "
|
524
|
+
"description": "Confirm button text when disabled, Default: `Confirm`"
|
573
525
|
},
|
574
526
|
"van-calendar/first-day-of-week": {
|
575
527
|
"type": "0-6",
|
576
|
-
"description": "
|
528
|
+
"description": "Set the start day of week, Default: `0`"
|
577
529
|
},
|
578
530
|
"van-calendar/v-model:show": {
|
579
531
|
"type": "boolean",
|
580
|
-
"description": "
|
532
|
+
"description": "Whether to show calendar, Default: `false`"
|
581
533
|
},
|
582
534
|
"van-calendar/position": {
|
583
535
|
"type": "string",
|
584
|
-
"description": "
|
536
|
+
"description": "Popup position, can be set to `top` `right` `left`, Default: `bottom`"
|
585
537
|
},
|
586
538
|
"van-calendar/round": {
|
587
539
|
"type": "boolean",
|
588
|
-
"description": "
|
540
|
+
"description": "Whether to show round corner, Default: `true`"
|
589
541
|
},
|
590
542
|
"van-calendar/close-on-popstate": {
|
591
543
|
"type": "boolean",
|
592
|
-
"description": "
|
544
|
+
"description": "Whether to close when popstate, Default: `true`"
|
593
545
|
},
|
594
546
|
"van-calendar/close-on-click-overlay": {
|
595
547
|
"type": "boolean",
|
596
|
-
"description": "
|
548
|
+
"description": "Whether to close when overlay is clicked, Default: `true`"
|
597
549
|
},
|
598
550
|
"van-calendar/safe-area-inset-bottom": {
|
599
551
|
"type": "boolean",
|
600
|
-
"description": "
|
552
|
+
"description": "Whether to enable bottom safe area adaptation, Default: `true`"
|
601
553
|
},
|
602
554
|
"van-calendar/teleport": {
|
603
555
|
"type": "string | Element",
|
604
|
-
"description": "
|
556
|
+
"description": "Specifies a target element where Calendar will be mounted, Default: -"
|
605
557
|
},
|
606
558
|
"van-calendar/max-range": {
|
607
559
|
"type": "number | string",
|
608
|
-
"description": "
|
560
|
+
"description": "Max count of selectable days, Default: Unlimited"
|
609
561
|
},
|
610
562
|
"van-calendar/range-prompt": {
|
611
563
|
"type": "string",
|
612
|
-
"description": "
|
564
|
+
"description": "Error message when exceeded max count, Default: `Choose no more than xx days`"
|
613
565
|
},
|
614
566
|
"van-calendar/show-range-prompt": {
|
615
567
|
"type": "boolean",
|
616
|
-
"description": "
|
568
|
+
"description": "Whether prompt error message when exceeded max range, Default: `true`"
|
617
569
|
},
|
618
570
|
"van-calendar/allow-same-day": {
|
619
571
|
"type": "boolean",
|
620
|
-
"description": "
|
572
|
+
"description": "Whether the start and end time of the range is allowed on the same day, Default: `false`"
|
573
|
+
},
|
574
|
+
"van-card/thumb": {
|
575
|
+
"type": "string",
|
576
|
+
"description": "Left thumb image URL, Default: -"
|
577
|
+
},
|
578
|
+
"van-card/title": {
|
579
|
+
"type": "string",
|
580
|
+
"description": "Title, Default: -"
|
581
|
+
},
|
582
|
+
"van-card/desc": {
|
583
|
+
"type": "string",
|
584
|
+
"description": "Description, Default: -"
|
585
|
+
},
|
586
|
+
"van-card/tag": {
|
587
|
+
"type": "string",
|
588
|
+
"description": "Tag, Default: -"
|
589
|
+
},
|
590
|
+
"van-card/num": {
|
591
|
+
"type": "number | string",
|
592
|
+
"description": "number, Default: -"
|
593
|
+
},
|
594
|
+
"van-card/price": {
|
595
|
+
"type": "number | string",
|
596
|
+
"description": "Price, Default: -"
|
597
|
+
},
|
598
|
+
"van-card/origin-price": {
|
599
|
+
"type": "number | string",
|
600
|
+
"description": "Origin price, Default: -"
|
601
|
+
},
|
602
|
+
"van-card/centered": {
|
603
|
+
"type": "boolean",
|
604
|
+
"description": "Whether content vertical centered, Default: `false`"
|
605
|
+
},
|
606
|
+
"van-card/currency": {
|
607
|
+
"type": "string",
|
608
|
+
"description": "Currency symbol, Default: `¥`"
|
609
|
+
},
|
610
|
+
"van-card/thumb-link": {
|
611
|
+
"type": "string",
|
612
|
+
"description": "Thumb link URL, Default: -"
|
613
|
+
},
|
614
|
+
"van-card/lazy-load": {
|
615
|
+
"type": "boolean",
|
616
|
+
"description": "Whether to enable thumb lazy load,should register [Lazyload](#/en-US/lazyload) component, Default: `false`"
|
621
617
|
},
|
622
618
|
"van-cascader/title": {
|
623
619
|
"type": "string",
|
624
|
-
"description": "
|
620
|
+
"description": "Title, Default: -"
|
625
621
|
},
|
626
622
|
"van-cascader/value": {
|
627
623
|
"type": "string | number",
|
628
|
-
"description": "
|
624
|
+
"description": "Value of selected option, Default: -"
|
629
625
|
},
|
630
626
|
"van-cascader/options": {
|
631
627
|
"type": "CascaderOption[]",
|
632
|
-
"description": "
|
628
|
+
"description": "Options, Default: `[]`"
|
633
629
|
},
|
634
630
|
"van-cascader/placeholder": {
|
635
631
|
"type": "string",
|
636
|
-
"description": "
|
632
|
+
"description": "Placeholder of unselected tab, Default: `Select`"
|
637
633
|
},
|
638
634
|
"van-cascader/active-color": {
|
639
635
|
"type": "string",
|
640
|
-
"description": "
|
636
|
+
"description": "Active color, Default: `#ee0a24`"
|
641
637
|
},
|
642
638
|
"van-cascader/swipeable": {
|
643
639
|
"type": "boolean",
|
644
|
-
"description": "
|
640
|
+
"description": "Whether to enable gestures to slide left and right, Default: `false`"
|
645
641
|
},
|
646
642
|
"van-cascader/closeable": {
|
647
643
|
"type": "boolean",
|
648
|
-
"description": "
|
644
|
+
"description": "Whether to show close icon, Default: `true`"
|
645
|
+
},
|
646
|
+
"van-cascader/show-header": {
|
647
|
+
"type": "boolean",
|
648
|
+
"description": "Whether to show header, Default: `true`"
|
649
649
|
},
|
650
650
|
"van-cascader/close-icon": {
|
651
651
|
"type": "string",
|
652
|
-
"description": "
|
652
|
+
"description": "Close icon name, Default: `cross`"
|
653
653
|
},
|
654
654
|
"van-cascader/field-names": {
|
655
655
|
"type": "object",
|
656
|
-
"description": "
|
656
|
+
"description": "Custom the fields of options, Default: `{ text: 'text', value: 'value', children: 'children' }`"
|
657
657
|
},
|
658
658
|
"van-cell-group/title": {
|
659
659
|
"type": "string",
|
660
|
-
"description": "
|
660
|
+
"description": "Group title, Default: -"
|
661
661
|
},
|
662
662
|
"van-cell-group/inset": {
|
663
663
|
"type": "boolean",
|
664
|
-
"description": "
|
664
|
+
"description": "Whether to be inset grouped, Default: `false`"
|
665
665
|
},
|
666
666
|
"van-cell-group/border": {
|
667
667
|
"type": "boolean",
|
668
|
-
"description": "
|
668
|
+
"description": "Whether to show outer border, Default: `true`"
|
669
669
|
},
|
670
670
|
"van-cell/title": {
|
671
671
|
"type": "number | string",
|
672
|
-
"description": "
|
672
|
+
"description": "Title, Default: -"
|
673
673
|
},
|
674
674
|
"van-cell/value": {
|
675
675
|
"type": "number | string",
|
676
|
-
"description": "
|
676
|
+
"description": "Right text, Default: -"
|
677
677
|
},
|
678
678
|
"van-cell/label": {
|
679
679
|
"type": "string",
|
680
|
-
"description": "
|
680
|
+
"description": "Description below the title, Default: -"
|
681
681
|
},
|
682
682
|
"van-cell/size": {
|
683
683
|
"type": "string",
|
684
|
-
"description": "
|
684
|
+
"description": "Size,can be set to `large`, Default: -"
|
685
685
|
},
|
686
686
|
"van-cell/icon": {
|
687
687
|
"type": "string",
|
688
|
-
"description": "
|
688
|
+
"description": "Left Icon, Default: -"
|
689
689
|
},
|
690
690
|
"van-cell/icon-prefix": {
|
691
691
|
"type": "string",
|
692
|
-
"description": "
|
692
|
+
"description": "Icon className prefix, Default: `van-icon`"
|
693
|
+
},
|
694
|
+
"van-cell/border": {
|
695
|
+
"type": "boolean",
|
696
|
+
"description": "Whether to show inner border, Default: `true`"
|
697
|
+
},
|
698
|
+
"van-cell/center": {
|
699
|
+
"type": "boolean",
|
700
|
+
"description": "Whether to center content vertically, Default: `true`"
|
693
701
|
},
|
694
702
|
"van-cell/url": {
|
695
703
|
"type": "string",
|
696
|
-
"description": "
|
704
|
+
"description": "Link URL, Default: -"
|
697
705
|
},
|
698
706
|
"van-cell/to": {
|
699
707
|
"type": "string | object",
|
700
|
-
"description": "
|
701
|
-
},
|
702
|
-
"van-cell/border": {
|
703
|
-
"type": "boolean",
|
704
|
-
"description": "是否显示内边框, 默认值: `true`"
|
708
|
+
"description": "Target route of the link, same as to of vue-router, Default: -"
|
705
709
|
},
|
706
710
|
"van-cell/replace": {
|
707
711
|
"type": "boolean",
|
708
|
-
"description": "
|
712
|
+
"description": "If true, the navigation will not leave a history record, Default: `false`"
|
709
713
|
},
|
710
714
|
"van-cell/clickable": {
|
711
715
|
"type": "boolean",
|
712
|
-
"description": "
|
716
|
+
"description": "Whether to show click feedback when clicked, Default: `null`"
|
713
717
|
},
|
714
718
|
"van-cell/is-link": {
|
715
719
|
"type": "boolean",
|
716
|
-
"description": "
|
720
|
+
"description": "Whether to show link icon, Default: `false`"
|
717
721
|
},
|
718
722
|
"van-cell/required": {
|
719
723
|
"type": "boolean",
|
720
|
-
"description": "
|
721
|
-
},
|
722
|
-
"van-cell/center": {
|
723
|
-
"type": "boolean",
|
724
|
-
"description": "是否使内容垂直居中, 默认值: `false`"
|
724
|
+
"description": "Whether to show required mark, Default: `false`"
|
725
725
|
},
|
726
726
|
"van-cell/arrow-direction": {
|
727
727
|
"type": "string",
|
728
|
-
"description": "
|
728
|
+
"description": "Can be set to `left` `up` `down`, Default: `right`"
|
729
729
|
},
|
730
730
|
"van-cell/title-style": {
|
731
731
|
"type": "string | Array \\",
|
732
|
-
"description": "
|
732
|
+
"description": "Title style, Default: object_",
|
733
733
|
"options": [
|
734
734
|
"-"
|
735
735
|
]
|
736
736
|
},
|
737
737
|
"van-cell/title-class": {
|
738
738
|
"type": "string | Array \\",
|
739
|
-
"description": "
|
739
|
+
"description": "Title className, Default: object_",
|
740
740
|
"options": [
|
741
741
|
"-"
|
742
742
|
]
|
743
743
|
},
|
744
744
|
"van-cell/value-class": {
|
745
745
|
"type": "string | Array \\",
|
746
|
-
"description": "
|
746
|
+
"description": "Value className, Default: object_",
|
747
747
|
"options": [
|
748
748
|
"-"
|
749
749
|
]
|
750
750
|
},
|
751
751
|
"van-cell/label-class": {
|
752
752
|
"type": "string | Array \\",
|
753
|
-
"description": "
|
753
|
+
"description": "Label className, Default: object_",
|
754
754
|
"options": [
|
755
755
|
"-"
|
756
756
|
]
|
757
757
|
},
|
758
758
|
"van-checkbox/v-model": {
|
759
759
|
"type": "boolean",
|
760
|
-
"description": "
|
760
|
+
"description": "Check status, Default: `false`"
|
761
761
|
},
|
762
762
|
"van-checkbox/name": {
|
763
763
|
"type": "any",
|
764
|
-
"description": "
|
764
|
+
"description": "Checkbox name, Default: -"
|
765
765
|
},
|
766
766
|
"van-checkbox/shape": {
|
767
767
|
"type": "string",
|
768
|
-
"description": "
|
768
|
+
"description": "Can be set to `square`, Default: `round`"
|
769
769
|
},
|
770
770
|
"van-checkbox/disabled": {
|
771
771
|
"type": "boolean",
|
772
|
-
"description": "
|
772
|
+
"description": "Disable checkbox, Default: `false`"
|
773
773
|
},
|
774
774
|
"van-checkbox/label-disabled": {
|
775
775
|
"type": "boolean",
|
776
|
-
"description": "
|
776
|
+
"description": "Whether to disable label click, Default: `false`"
|
777
777
|
},
|
778
778
|
"van-checkbox/label-position": {
|
779
779
|
"type": "string",
|
780
|
-
"description": "
|
780
|
+
"description": "Can be set to `left`, Default: `right`"
|
781
781
|
},
|
782
782
|
"van-checkbox/icon-size": {
|
783
783
|
"type": "number | string",
|
784
|
-
"description": "
|
784
|
+
"description": "Icon size, Default: `20px`"
|
785
785
|
},
|
786
786
|
"van-checkbox/checked-color": {
|
787
787
|
"type": "string",
|
788
|
-
"description": "
|
788
|
+
"description": "Checked color, Default: `#1989fa`"
|
789
789
|
},
|
790
790
|
"van-checkbox/bind-group": {
|
791
791
|
"type": "boolean",
|
792
|
-
"description": "
|
792
|
+
"description": "Whether to bind with CheckboxGroup, Default: `true`"
|
793
793
|
},
|
794
794
|
"van-checkbox-group/v-model": {
|
795
795
|
"type": "any[]",
|
796
|
-
"description": "
|
796
|
+
"description": "Names of all checked checkboxes, Default: -"
|
797
797
|
},
|
798
798
|
"van-checkbox-group/disabled": {
|
799
799
|
"type": "boolean",
|
800
|
-
"description": "
|
800
|
+
"description": "Whether to disable all checkboxes, Default: `false`"
|
801
801
|
},
|
802
802
|
"van-checkbox-group/max": {
|
803
803
|
"type": "number | string",
|
804
|
-
"description": "
|
804
|
+
"description": "Maximum amount of checked options, Default: `0`(Unlimited)"
|
805
805
|
},
|
806
806
|
"van-checkbox-group/direction": {
|
807
807
|
"type": "string",
|
808
|
-
"description": "
|
808
|
+
"description": "Direction, can be set to `horizontal`, Default: `vertical`"
|
809
809
|
},
|
810
810
|
"van-checkbox-group/icon-size": {
|
811
811
|
"type": "number | string",
|
812
|
-
"description": "
|
812
|
+
"description": "Icon size of all checkboxes, Default: `20px`"
|
813
813
|
},
|
814
814
|
"van-checkbox-group/checked-color": {
|
815
815
|
"type": "string",
|
816
|
-
"description": "
|
816
|
+
"description": "Checked color of all checkboxes, Default: `#1989fa`"
|
817
817
|
},
|
818
818
|
"van-circle/v-model:current-rate": {
|
819
819
|
"type": "number",
|
820
|
-
"description": "
|
820
|
+
"description": "Current rate, Default: -"
|
821
821
|
},
|
822
822
|
"van-circle/rate": {
|
823
823
|
"type": "number | string",
|
824
|
-
"description": "
|
824
|
+
"description": "Target rate, Default: `100`"
|
825
825
|
},
|
826
826
|
"van-circle/size": {
|
827
827
|
"type": "number | string",
|
828
|
-
"description": "
|
828
|
+
"description": "Circle size, Default: `100px`"
|
829
829
|
},
|
830
830
|
"van-circle/color": {
|
831
831
|
"type": "string | object",
|
832
|
-
"description": "
|
832
|
+
"description": "Progress color, passing object to render gradient, Default: `#1989fa`"
|
833
833
|
},
|
834
834
|
"van-circle/layer-color": {
|
835
835
|
"type": "string",
|
836
|
-
"description": "
|
836
|
+
"description": "Layer color, Default: `white`"
|
837
837
|
},
|
838
838
|
"van-circle/fill": {
|
839
839
|
"type": "string",
|
840
|
-
"description": "
|
840
|
+
"description": "Fill color, Default: `none`"
|
841
841
|
},
|
842
842
|
"van-circle/speed": {
|
843
843
|
"type": "number | string",
|
844
|
-
"description": "
|
844
|
+
"description": "Animate speed(rate/s), Default: `0`"
|
845
845
|
},
|
846
846
|
"van-circle/text": {
|
847
847
|
"type": "string",
|
848
|
-
"description": "
|
848
|
+
"description": "Text, Default: -"
|
849
849
|
},
|
850
850
|
"van-circle/stroke-width": {
|
851
851
|
"type": "number | string",
|
852
|
-
"description": "
|
852
|
+
"description": "Stroke width, Default: `40`"
|
853
853
|
},
|
854
854
|
"van-circle/stroke-linecap": {
|
855
855
|
"type": "string",
|
856
|
-
"description": "
|
856
|
+
"description": "Stroke linecap,can be set to `square` `butt`, Default: `round`"
|
857
857
|
},
|
858
858
|
"van-circle/clockwise": {
|
859
859
|
"type": "boolean",
|
860
|
-
"description": "
|
860
|
+
"description": "Whether to be clockwise, Default: `true`"
|
861
861
|
},
|
862
862
|
"van-circle/start-position": {
|
863
863
|
"type": "CircleStartPosition",
|
864
|
-
"description": "
|
864
|
+
"description": "Progress start position,can be set to `left`、`right`、`bottom`, Default: `top`"
|
865
865
|
},
|
866
866
|
"van-row/gutter": {
|
867
867
|
"type": "number | string",
|
868
|
-
"description": "
|
868
|
+
"description": "Grid spacing(px), Default: -"
|
869
869
|
},
|
870
870
|
"van-row/tag": {
|
871
871
|
"type": "string",
|
872
|
-
"description": "
|
872
|
+
"description": "Custom element tag, Default: `div`"
|
873
873
|
},
|
874
874
|
"van-row/justify": {
|
875
875
|
"type": "string",
|
876
|
-
"description": "
|
876
|
+
"description": "Flex main axis,can be set to end/center/space-around/space-between, Default: `start`"
|
877
877
|
},
|
878
878
|
"van-row/align": {
|
879
879
|
"type": "string",
|
880
|
-
"description": "
|
880
|
+
"description": "Flex cross axis, be set to center/bottom, Default: `top`"
|
881
881
|
},
|
882
882
|
"van-row/wrap": {
|
883
883
|
"type": "boolean",
|
884
|
-
"description": "
|
884
|
+
"description": "Whether to wrap, Default: `true`"
|
885
885
|
},
|
886
886
|
"van-col/span": {
|
887
887
|
"type": "number | string",
|
888
|
-
"description": "
|
888
|
+
"description": "number of column the grid spans, Default: -"
|
889
889
|
},
|
890
890
|
"van-col/offset": {
|
891
891
|
"type": "number | string",
|
892
|
-
"description": "
|
892
|
+
"description": "number of spacing on the left side of the grid, Default: -"
|
893
893
|
},
|
894
894
|
"van-col/tag": {
|
895
895
|
"type": "string",
|
896
|
-
"description": "
|
896
|
+
"description": "Custom element tag, Default: `div`"
|
897
897
|
},
|
898
898
|
"van-collapse/v-model": {
|
899
|
-
"type": "
|
900
|
-
"description": "
|
899
|
+
"type": "accordion mode: _number | string_<br>non-accordion mode:_(number \\",
|
900
|
+
"description": "Names of current active panels, Default: string)[]_",
|
901
901
|
"options": [
|
902
902
|
"-"
|
903
903
|
]
|
904
904
|
},
|
905
905
|
"van-collapse/accordion": {
|
906
906
|
"type": "boolean",
|
907
|
-
"description": "
|
907
|
+
"description": "Whether to be accordion mode, Default: `false`"
|
908
908
|
},
|
909
909
|
"van-collapse/border": {
|
910
910
|
"type": "boolean",
|
911
|
-
"description": "
|
911
|
+
"description": "Whether to show outer border, Default: `true`"
|
912
912
|
},
|
913
913
|
"van-collapse-item/name": {
|
914
914
|
"type": "number | string",
|
915
|
-
"description": "
|
915
|
+
"description": "Name, Default: `index`"
|
916
916
|
},
|
917
917
|
"van-collapse-item/icon": {
|
918
918
|
"type": "string",
|
919
|
-
"description": "
|
919
|
+
"description": "Left Icon, Default: -"
|
920
920
|
},
|
921
921
|
"van-collapse-item/size": {
|
922
922
|
"type": "string",
|
923
|
-
"description": "
|
923
|
+
"description": "Title size,can be set to `large`, Default: -"
|
924
924
|
},
|
925
925
|
"van-collapse-item/title": {
|
926
926
|
"type": "number | string",
|
927
|
-
"description": "
|
927
|
+
"description": "Title, Default: -"
|
928
928
|
},
|
929
929
|
"van-collapse-item/value": {
|
930
930
|
"type": "number | string",
|
931
|
-
"description": "
|
931
|
+
"description": "Right text, Default: -"
|
932
932
|
},
|
933
933
|
"van-collapse-item/label": {
|
934
|
-
"type": "
|
935
|
-
"description": "
|
934
|
+
"type": "string",
|
935
|
+
"description": "Description below the title, Default: -"
|
936
936
|
},
|
937
937
|
"van-collapse-item/border": {
|
938
938
|
"type": "boolean",
|
939
|
-
"description": "
|
940
|
-
},
|
941
|
-
"van-collapse-item/is-link": {
|
942
|
-
"type": "boolean",
|
943
|
-
"description": "是否展示标题栏右侧箭头并开启点击反馈, 默认值: `true`"
|
939
|
+
"description": "Whether to show inner border, Default: `true`"
|
944
940
|
},
|
945
941
|
"van-collapse-item/disabled": {
|
946
942
|
"type": "boolean",
|
947
|
-
"description": "
|
943
|
+
"description": "Whether to disabled collapse, Default: `false`"
|
948
944
|
},
|
949
945
|
"van-collapse-item/readonly": {
|
950
946
|
"type": "boolean",
|
951
|
-
"description": "
|
947
|
+
"description": "Whether to be readonly, Default: `false`"
|
948
|
+
},
|
949
|
+
"van-collapse-item/is-link": {
|
950
|
+
"type": "boolean",
|
951
|
+
"description": "Whether to show link icon, Default: `true`"
|
952
952
|
},
|
953
953
|
"van-collapse-item/title-class": {
|
954
954
|
"type": "string",
|
955
|
-
"description": "
|
955
|
+
"description": "Title className, Default: -"
|
956
956
|
},
|
957
957
|
"van-collapse-item/value-class": {
|
958
958
|
"type": "string",
|
959
|
-
"description": "
|
959
|
+
"description": "Value className, Default: -"
|
960
960
|
},
|
961
961
|
"van-collapse-item/label-class": {
|
962
962
|
"type": "string",
|
963
|
-
"description": "
|
963
|
+
"description": "Label className, Default: -"
|
964
964
|
},
|
965
965
|
"van-config-provider/theme-vars": {
|
966
966
|
"type": "object",
|
967
|
-
"description": "
|
967
|
+
"description": "Theme variables, Default: -"
|
968
968
|
},
|
969
969
|
"van-config-provider/tag": {
|
970
970
|
"type": "string",
|
971
|
-
"description": "
|
971
|
+
"description": "HTML Tag of root element, Default: `div`"
|
972
972
|
},
|
973
973
|
"van-config-provider/icon-prefix": {
|
974
974
|
"type": "string",
|
975
|
-
"description": "
|
975
|
+
"description": "Icon className prefix, Default: `van-icon`"
|
976
976
|
},
|
977
977
|
"van-contact-card/type": {
|
978
978
|
"type": "string",
|
979
|
-
"description": "
|
979
|
+
"description": "Can be set to `edit`, Default: `add`"
|
980
980
|
},
|
981
981
|
"van-contact-card/name": {
|
982
982
|
"type": "string",
|
983
|
-
"description": "
|
983
|
+
"description": "Name, Default: -"
|
984
984
|
},
|
985
985
|
"van-contact-card/tel": {
|
986
986
|
"type": "string",
|
987
|
-
"description": "
|
987
|
+
"description": "Phone, Default: -"
|
988
988
|
},
|
989
989
|
"van-contact-card/add-text": {
|
990
990
|
"type": "string",
|
991
|
-
"description": "
|
991
|
+
"description": "Add card text, Default: `Add contact info`"
|
992
992
|
},
|
993
993
|
"van-contact-edit/contact-info": {
|
994
994
|
"type": "Contact",
|
995
|
-
"description": "
|
995
|
+
"description": "Contact Info, Default: `[]`"
|
996
996
|
},
|
997
997
|
"van-contact-edit/is-edit": {
|
998
998
|
"type": "boolean",
|
999
|
-
"description": "
|
999
|
+
"description": "Whether is editing, Default: `false`"
|
1000
1000
|
},
|
1001
1001
|
"van-contact-edit/is-saving": {
|
1002
1002
|
"type": "boolean",
|
1003
|
-
"description": "
|
1003
|
+
"description": "Whether to show save button loading status, Default: `false`"
|
1004
1004
|
},
|
1005
1005
|
"van-contact-edit/is-deleting": {
|
1006
1006
|
"type": "boolean",
|
1007
|
-
"description": "
|
1007
|
+
"description": "Whether to show delete button loading status, Default: `false`"
|
1008
1008
|
},
|
1009
1009
|
"van-contact-edit/tel-validator": {
|
1010
1010
|
"type": "(tel: string) => boolean",
|
1011
|
-
"description": "
|
1011
|
+
"description": "The method to validate tel, Default: -"
|
1012
1012
|
},
|
1013
1013
|
"van-contact-edit/show-set-default": {
|
1014
1014
|
"type": "boolean",
|
1015
|
-
"description": "
|
1015
|
+
"description": "Whether to show default contact switch, Default: `false`"
|
1016
1016
|
},
|
1017
1017
|
"van-contact-edit/set-default-label": {
|
1018
1018
|
"type": "string",
|
1019
|
-
"description": "
|
1019
|
+
"description": "default contact switch label, Default: -"
|
1020
1020
|
},
|
1021
1021
|
"van-contact-list/v-model": {
|
1022
1022
|
"type": "number | string",
|
1023
|
-
"description": "
|
1023
|
+
"description": "Id of chosen contact, Default: -"
|
1024
1024
|
},
|
1025
1025
|
"van-contact-list/list": {
|
1026
1026
|
"type": "Contact[]",
|
1027
|
-
"description": "
|
1027
|
+
"description": "Contact list, Default: `[]`"
|
1028
1028
|
},
|
1029
1029
|
"van-contact-list/add-text": {
|
1030
1030
|
"type": "string",
|
1031
|
-
"description": "
|
1031
|
+
"description": "Add button text, Default: `Add new contact`"
|
1032
1032
|
},
|
1033
1033
|
"van-contact-list/default-tag-text": {
|
1034
1034
|
"type": "string",
|
1035
|
-
"description": "
|
1035
|
+
"description": "Default tag text, Default: -"
|
1036
1036
|
},
|
1037
1037
|
"van-count-down/time": {
|
1038
1038
|
"type": "number | string",
|
1039
|
-
"description": "
|
1039
|
+
"description": "Total time, unit milliseconds, Default: `0`"
|
1040
1040
|
},
|
1041
1041
|
"van-count-down/format": {
|
1042
1042
|
"type": "string",
|
1043
|
-
"description": "
|
1043
|
+
"description": "Time format, Default: `HH:mm:ss`"
|
1044
1044
|
},
|
1045
1045
|
"van-count-down/auto-start": {
|
1046
1046
|
"type": "boolean",
|
1047
|
-
"description": "
|
1047
|
+
"description": "Whether to auto start count down, Default: `true`"
|
1048
1048
|
},
|
1049
1049
|
"van-count-down/millisecond": {
|
1050
1050
|
"type": "boolean",
|
1051
|
-
"description": "
|
1051
|
+
"description": "Whether to enable millisecond render, Default: `false`"
|
1052
1052
|
},
|
1053
1053
|
"van-coupon-cell/title": {
|
1054
1054
|
"type": "string",
|
1055
|
-
"description": "
|
1055
|
+
"description": "Cell title, Default: `Coupon`"
|
1056
1056
|
},
|
1057
1057
|
"van-coupon-cell/chosen-coupon": {
|
1058
1058
|
"type": "number | string",
|
1059
|
-
"description": "
|
1059
|
+
"description": "Index of chosen coupon, Default: `-1`"
|
1060
1060
|
},
|
1061
1061
|
"van-coupon-cell/coupons": {
|
1062
1062
|
"type": "Coupon[]",
|
1063
|
-
"description": "
|
1063
|
+
"description": "Coupon list, Default: `[]`"
|
1064
1064
|
},
|
1065
1065
|
"van-coupon-cell/editable": {
|
1066
1066
|
"type": "boolean",
|
1067
|
-
"description": "
|
1067
|
+
"description": "Cell editable, Default: `true`"
|
1068
1068
|
},
|
1069
1069
|
"van-coupon-cell/border": {
|
1070
1070
|
"type": "boolean",
|
1071
|
-
"description": "
|
1071
|
+
"description": "Whether to show inner border, Default: `true`"
|
1072
1072
|
},
|
1073
1073
|
"van-coupon-cell/currency": {
|
1074
1074
|
"type": "string",
|
1075
|
-
"description": "
|
1075
|
+
"description": "Currency symbol, Default: `¥`"
|
1076
1076
|
},
|
1077
|
-
"van-coupon-list/v-model
|
1077
|
+
"van-coupon-list/v-model": {
|
1078
1078
|
"type": "string",
|
1079
|
-
"description": "
|
1079
|
+
"description": "Current exchange code, Default: -"
|
1080
1080
|
},
|
1081
1081
|
"van-coupon-list/chosen-coupon": {
|
1082
1082
|
"type": "number",
|
1083
|
-
"description": "
|
1083
|
+
"description": "Index of chosen coupon, Default: `-1`"
|
1084
1084
|
},
|
1085
1085
|
"van-coupon-list/coupons": {
|
1086
1086
|
"type": "Coupon[]",
|
1087
|
-
"description": "
|
1087
|
+
"description": "Coupon list, Default: `[]`"
|
1088
1088
|
},
|
1089
1089
|
"van-coupon-list/disabled-coupons": {
|
1090
1090
|
"type": "Coupon[]",
|
1091
|
-
"description": "
|
1091
|
+
"description": "Disabled coupon list, Default: `[]`"
|
1092
1092
|
},
|
1093
1093
|
"van-coupon-list/enabled-title": {
|
1094
1094
|
"type": "string",
|
1095
|
-
"description": "
|
1095
|
+
"description": "Title of coupon list, Default: `Available`"
|
1096
1096
|
},
|
1097
1097
|
"van-coupon-list/disabled-title": {
|
1098
1098
|
"type": "string",
|
1099
|
-
"description": "
|
1099
|
+
"description": "Title of disabled coupon list, Default: `Unavailable`"
|
1100
1100
|
},
|
1101
1101
|
"van-coupon-list/exchange-button-text": {
|
1102
1102
|
"type": "string",
|
1103
|
-
"description": "
|
1103
|
+
"description": "Exchange button text, Default: `Exchange`"
|
1104
1104
|
},
|
1105
1105
|
"van-coupon-list/exchange-button-loading": {
|
1106
1106
|
"type": "boolean",
|
1107
|
-
"description": "
|
1107
|
+
"description": "Whether to show loading in exchange button, Default: `false`"
|
1108
1108
|
},
|
1109
1109
|
"van-coupon-list/exchange-button-disabled": {
|
1110
1110
|
"type": "boolean",
|
1111
|
-
"description": "
|
1111
|
+
"description": "Whether to disable exchange button, Default: `false`"
|
1112
1112
|
},
|
1113
1113
|
"van-coupon-list/exchange-min-length": {
|
1114
1114
|
"type": "number",
|
1115
|
-
"description": "
|
1115
|
+
"description": "Min length to enable exchange button, Default: `1`"
|
1116
1116
|
},
|
1117
1117
|
"van-coupon-list/displayed-coupon-index": {
|
1118
1118
|
"type": "number",
|
1119
|
-
"description": "
|
1120
|
-
},
|
1121
|
-
"van-coupon-list/show-close-button": {
|
1122
|
-
"type": "boolean",
|
1123
|
-
"description": "是否显示列表底部按钮, 默认值: `true`"
|
1119
|
+
"description": "Index of displayed coupon, Default: -"
|
1124
1120
|
},
|
1125
1121
|
"van-coupon-list/close-button-text": {
|
1126
1122
|
"type": "string",
|
1127
|
-
"description": "
|
1123
|
+
"description": "Close button text, Default: `Close`"
|
1128
1124
|
},
|
1129
1125
|
"van-coupon-list/input-placeholder": {
|
1130
1126
|
"type": "string",
|
1131
|
-
"description": "
|
1132
|
-
},
|
1133
|
-
"van-coupon-list/show-exchange-bar": {
|
1134
|
-
"type": "boolean",
|
1135
|
-
"description": "是否展示兑换栏, 默认值: `true`"
|
1127
|
+
"description": "Input placeholder, Default: `Coupon code`"
|
1136
1128
|
},
|
1137
1129
|
"van-coupon-list/currency": {
|
1138
1130
|
"type": "string",
|
1139
|
-
"description": "
|
1131
|
+
"description": "Currency symbol, Default: `¥`"
|
1140
1132
|
},
|
1141
1133
|
"van-coupon-list/empty-image": {
|
1142
1134
|
"type": "string",
|
1143
|
-
"description": "
|
1135
|
+
"description": "Placeholder image when list is empty, Default: `https://img.yzcdn.cn/vant/coupon-empty.png`"
|
1144
1136
|
},
|
1145
1137
|
"van-coupon-list/show-count": {
|
1146
1138
|
"type": "boolean",
|
1147
|
-
"description": "
|
1139
|
+
"description": "Whether to show coupon count in tab title, Default: `true`"
|
1148
1140
|
},
|
1149
1141
|
"van-datetime-picker/type": {
|
1150
1142
|
"type": "string",
|
1151
|
-
"description": "
|
1143
|
+
"description": "Can be set to `date` `time`<br> `year-month` `month-day` `datehour`, Default: `datetime`"
|
1152
1144
|
},
|
1153
1145
|
"van-datetime-picker/title": {
|
1154
1146
|
"type": "string",
|
1155
|
-
"description": "
|
1147
|
+
"description": "Toolbar title, Default: `''`"
|
1156
1148
|
},
|
1157
1149
|
"van-datetime-picker/confirm-button-text": {
|
1158
1150
|
"type": "string",
|
1159
|
-
"description": "
|
1151
|
+
"description": "Text of confirm button, Default: `Confirm`"
|
1160
1152
|
},
|
1161
1153
|
"van-datetime-picker/cancel-button-text": {
|
1162
1154
|
"type": "string",
|
1163
|
-
"description": "
|
1155
|
+
"description": "Text of cancel button, Default: `Cancel`"
|
1164
1156
|
},
|
1165
1157
|
"van-datetime-picker/show-toolbar": {
|
1166
1158
|
"type": "boolean",
|
1167
|
-
"description": "
|
1159
|
+
"description": "Whether to show toolbar, Default: `true`"
|
1168
1160
|
},
|
1169
1161
|
"van-datetime-picker/loading": {
|
1170
1162
|
"type": "boolean",
|
1171
|
-
"description": "
|
1163
|
+
"description": "Whether to show loading prompt, Default: `false`"
|
1172
1164
|
},
|
1173
1165
|
"van-datetime-picker/readonly": {
|
1174
1166
|
"type": "boolean",
|
1175
|
-
"description": "
|
1167
|
+
"description": "Whether to be readonly, Default: `false`"
|
1176
1168
|
},
|
1177
1169
|
"van-datetime-picker/filter": {
|
1178
1170
|
"type": "(type: string, values: string[]) => string[]",
|
1179
|
-
"description": "
|
1171
|
+
"description": "Option filter, Default: -"
|
1180
1172
|
},
|
1181
1173
|
"van-datetime-picker/formatter": {
|
1182
1174
|
"type": "(type: string, value: string) => string",
|
1183
|
-
"description": "
|
1175
|
+
"description": "Option text formatter, Default: -"
|
1184
1176
|
},
|
1185
1177
|
"van-datetime-picker/columns-order": {
|
1186
1178
|
"type": "string[]",
|
1187
|
-
"description": "
|
1179
|
+
"description": "Array for ordering columns, where item can be set to<br> `year`, `month`, `day`, `hour` and `minute`, Default: -"
|
1188
1180
|
},
|
1189
1181
|
"van-datetime-picker/item-height": {
|
1190
1182
|
"type": "number | string",
|
1191
|
-
"description": "
|
1183
|
+
"description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`, Default: `44`"
|
1192
1184
|
},
|
1193
1185
|
"van-datetime-picker/visible-item-count": {
|
1194
1186
|
"type": "number | string",
|
1195
|
-
"description": "
|
1187
|
+
"description": "Count of visible columns, Default: `6`"
|
1196
1188
|
},
|
1197
1189
|
"van-datetime-picker/swipe-duration": {
|
1198
1190
|
"type": "number | string",
|
1199
|
-
"description": "
|
1191
|
+
"description": "Duration of the momentum animation,unit `ms`, Default: `1000`"
|
1200
1192
|
},
|
1201
1193
|
"van-date-picker/min-date": {
|
1202
1194
|
"type": "Date",
|
1203
|
-
"description": "
|
1195
|
+
"description": "Min date, Default: Ten years ago on January 1"
|
1204
1196
|
},
|
1205
1197
|
"van-date-picker/max-date": {
|
1206
1198
|
"type": "Date",
|
1207
|
-
"description": "
|
1199
|
+
"description": "Max date, Default: Ten years later on December 31"
|
1208
1200
|
},
|
1209
1201
|
"van-time-picker/min-hour": {
|
1210
1202
|
"type": "number | string",
|
1211
|
-
"description": "
|
1203
|
+
"description": "Min hour for `time` type, Default: `0`"
|
1212
1204
|
},
|
1213
1205
|
"van-time-picker/max-hour": {
|
1214
1206
|
"type": "number | string",
|
1215
|
-
"description": "
|
1207
|
+
"description": "Max hour for `time` type, Default: `23`"
|
1216
1208
|
},
|
1217
1209
|
"van-time-picker/min-minute": {
|
1218
1210
|
"type": "number | string",
|
1219
|
-
"description": "
|
1211
|
+
"description": "Max minute for `time` type, Default: `0`"
|
1220
1212
|
},
|
1221
1213
|
"van-time-picker/max-minute": {
|
1222
1214
|
"type": "number | string",
|
1223
|
-
"description": "
|
1215
|
+
"description": "Max minute for `time` type, Default: `59`"
|
1224
1216
|
},
|
1225
1217
|
"van-dialog/v-model:show": {
|
1226
1218
|
"type": "boolean",
|
1227
|
-
"description": "
|
1219
|
+
"description": "Whether to show dialog, Default: -"
|
1228
1220
|
},
|
1229
1221
|
"van-dialog/title": {
|
1230
1222
|
"type": "string",
|
1231
|
-
"description": "
|
1223
|
+
"description": "Title, Default: -"
|
1232
1224
|
},
|
1233
1225
|
"van-dialog/width": {
|
1234
1226
|
"type": "number | string",
|
1235
|
-
"description": "
|
1227
|
+
"description": "Width, Default: `320px`"
|
1236
1228
|
},
|
1237
1229
|
"van-dialog/message": {
|
1238
1230
|
"type": "string | () => JSX.ELement",
|
1239
|
-
"description": "
|
1231
|
+
"description": "Message, Default: -"
|
1240
1232
|
},
|
1241
1233
|
"van-dialog/message-align": {
|
1242
1234
|
"type": "string",
|
1243
|
-
"description": "
|
1235
|
+
"description": "Message align,can be set to `left` `right`, Default: `center`"
|
1244
1236
|
},
|
1245
1237
|
"van-dialog/theme": {
|
1246
1238
|
"type": "string",
|
1247
|
-
"description": "
|
1239
|
+
"description": "Theme style,can be set to `round-button`, Default: `default`"
|
1248
1240
|
},
|
1249
1241
|
"van-dialog/show-confirm-button": {
|
1250
1242
|
"type": "boolean",
|
1251
|
-
"description": "
|
1243
|
+
"description": "Whether to show confirm button, Default: `true`"
|
1252
1244
|
},
|
1253
1245
|
"van-dialog/show-cancel-button": {
|
1254
1246
|
"type": "boolean",
|
1255
|
-
"description": "
|
1247
|
+
"description": "Whether to show cancel button, Default: `false`"
|
1256
1248
|
},
|
1257
|
-
"van-dialog/
|
1249
|
+
"van-dialog/cancel-button-text": {
|
1258
1250
|
"type": "string",
|
1259
|
-
"description": "
|
1251
|
+
"description": "Cancel button text, Default: `Cancel`"
|
1260
1252
|
},
|
1261
|
-
"van-dialog/
|
1253
|
+
"van-dialog/cancel-button-color": {
|
1262
1254
|
"type": "string",
|
1263
|
-
"description": "
|
1255
|
+
"description": "Cancel button color, Default: `black`"
|
1264
1256
|
},
|
1265
|
-
"van-dialog/
|
1257
|
+
"van-dialog/confirm-button-text": {
|
1266
1258
|
"type": "string",
|
1267
|
-
"description": "
|
1259
|
+
"description": "Confirm button text, Default: `Confirm`"
|
1268
1260
|
},
|
1269
|
-
"van-dialog/
|
1261
|
+
"van-dialog/confirm-button-color": {
|
1270
1262
|
"type": "string",
|
1271
|
-
"description": "
|
1263
|
+
"description": "Confirm button color, Default: `#ee0a24`"
|
1272
1264
|
},
|
1273
1265
|
"van-dialog/overlay": {
|
1274
1266
|
"type": "boolean",
|
1275
|
-
"description": "
|
1267
|
+
"description": "Whether to show overlay, Default: `true`"
|
1276
1268
|
},
|
1277
1269
|
"van-dialog/overlay-class": {
|
1278
1270
|
"type": "string",
|
1279
|
-
"description": "
|
1271
|
+
"description": "Custom overlay class, Default: -"
|
1280
1272
|
},
|
1281
1273
|
"van-dialog/overlay-style": {
|
1282
1274
|
"type": "object",
|
1283
|
-
"description": "
|
1275
|
+
"description": "Custom overlay style, Default: -"
|
1284
1276
|
},
|
1285
1277
|
"van-dialog/close-on-popstate": {
|
1286
1278
|
"type": "boolean",
|
1287
|
-
"description": "
|
1279
|
+
"description": "Whether to close when popstate, Default: `true`"
|
1288
1280
|
},
|
1289
1281
|
"van-dialog/close-on-click-overlay": {
|
1290
1282
|
"type": "boolean",
|
1291
|
-
"description": "
|
1283
|
+
"description": "Whether to close when overlay is clicked, Default: `false`"
|
1292
1284
|
},
|
1293
1285
|
"van-dialog/lazy-render": {
|
1294
1286
|
"type": "boolean",
|
1295
|
-
"description": "
|
1287
|
+
"description": "Whether to lazy render util appeared, Default: `true`"
|
1296
1288
|
},
|
1297
1289
|
"van-dialog/lock-scroll": {
|
1298
1290
|
"type": "boolean",
|
1299
|
-
"description": "
|
1291
|
+
"description": "Whether to lock background scroll, Default: `true`"
|
1300
1292
|
},
|
1301
1293
|
"van-dialog/allow-html": {
|
1302
1294
|
"type": "boolean",
|
1303
|
-
"description": "
|
1295
|
+
"description": "Whether to allow HTML rendering in message, Default: `false`"
|
1304
1296
|
},
|
1305
1297
|
"van-dialog/before-close": {
|
1306
1298
|
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
1307
|
-
"description": "
|
1299
|
+
"description": "Callback function before close, Default: -"
|
1308
1300
|
},
|
1309
1301
|
"van-dialog/transition": {
|
1310
1302
|
"type": "string",
|
1311
|
-
"description": "
|
1303
|
+
"description": "Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition), Default: -"
|
1312
1304
|
},
|
1313
1305
|
"van-dialog/teleport": {
|
1314
1306
|
"type": "string | Element",
|
1315
|
-
"description": "
|
1307
|
+
"description": "Specifies a target element where Dialog will be mounted, Default: -"
|
1316
1308
|
},
|
1317
1309
|
"van-divider/dashed": {
|
1318
1310
|
"type": "boolean",
|
1319
|
-
"description": "
|
1311
|
+
"description": "Whether to use dashed border, Default: `false`"
|
1320
1312
|
},
|
1321
1313
|
"van-divider/hairline": {
|
1322
1314
|
"type": "boolean",
|
1323
|
-
"description": "
|
1315
|
+
"description": "Whether to use hairline, Default: `true`"
|
1324
1316
|
},
|
1325
1317
|
"van-divider/content-position": {
|
1326
1318
|
"type": "string",
|
1327
|
-
"description": "
|
1319
|
+
"description": "Content position,can be set to `left` `right`, Default: `center`"
|
1328
1320
|
},
|
1329
1321
|
"van-dropdown-menu/active-color": {
|
1330
1322
|
"type": "string",
|
1331
|
-
"description": "
|
1323
|
+
"description": "Active color of title and option, Default: `#ee0a24`"
|
1332
1324
|
},
|
1333
1325
|
"van-dropdown-menu/direction": {
|
1334
1326
|
"type": "string",
|
1335
|
-
"description": "
|
1327
|
+
"description": "Expand direction, can be set to `up`, Default: `down`"
|
1336
1328
|
},
|
1337
1329
|
"van-dropdown-menu/z-index": {
|
1338
1330
|
"type": "number | string",
|
1339
|
-
"description": "
|
1331
|
+
"description": "z-index of menu item, Default: `10`"
|
1340
1332
|
},
|
1341
1333
|
"van-dropdown-menu/duration": {
|
1342
1334
|
"type": "number | string",
|
1343
|
-
"description": "
|
1335
|
+
"description": "Transition duration, unit second, Default: `0.2`"
|
1344
1336
|
},
|
1345
1337
|
"van-dropdown-menu/overlay": {
|
1346
1338
|
"type": "boolean",
|
1347
|
-
"description": "
|
1339
|
+
"description": "Whether to show overlay, Default: `true`"
|
1348
1340
|
},
|
1349
1341
|
"van-dropdown-menu/close-on-click-overlay": {
|
1350
1342
|
"type": "boolean",
|
1351
|
-
"description": "
|
1343
|
+
"description": "Whether to close when overlay is clicked, Default: `true`"
|
1352
1344
|
},
|
1353
1345
|
"van-dropdown-menu/close-on-click-outside": {
|
1354
1346
|
"type": "boolean",
|
1355
|
-
"description": "
|
1347
|
+
"description": "Whether to close when outside is clicked, Default: `true`"
|
1356
1348
|
},
|
1357
1349
|
"van-dropdown-item/v-model": {
|
1358
1350
|
"type": "number | string",
|
1359
|
-
"description": "
|
1351
|
+
"description": "Value of current option, Default: -"
|
1360
1352
|
},
|
1361
1353
|
"van-dropdown-item/title": {
|
1362
1354
|
"type": "string",
|
1363
|
-
"description": "
|
1355
|
+
"description": "Item title, Default: Text of selected option"
|
1364
1356
|
},
|
1365
1357
|
"van-dropdown-item/options": {
|
1366
1358
|
"type": "Option[]",
|
1367
|
-
"description": "
|
1359
|
+
"description": "Options, Default: `[]`"
|
1368
1360
|
},
|
1369
1361
|
"van-dropdown-item/disabled": {
|
1370
1362
|
"type": "boolean",
|
1371
|
-
"description": "
|
1363
|
+
"description": "Whether to disable dropdown item, Default: `false`"
|
1372
1364
|
},
|
1373
1365
|
"van-dropdown-item/lazy-render": {
|
1374
1366
|
"type": "boolean",
|
1375
|
-
"description": "
|
1367
|
+
"description": "Whether to lazy render util opened, Default: `true`"
|
1376
1368
|
},
|
1377
1369
|
"van-dropdown-item/title-class": {
|
1378
1370
|
"type": "string | Array \\",
|
1379
|
-
"description": "
|
1371
|
+
"description": "Title class, Default: object_",
|
1380
1372
|
"options": [
|
1381
1373
|
"-"
|
1382
1374
|
]
|
1383
1375
|
},
|
1384
1376
|
"van-dropdown-item/teleport": {
|
1385
1377
|
"type": "string | Element",
|
1386
|
-
"description": "
|
1378
|
+
"description": "Specifies a target element where DropdownItem will be mounted, Default: -"
|
1387
1379
|
},
|
1388
1380
|
"van-empty/image": {
|
1389
1381
|
"type": "string",
|
1390
|
-
"description": "
|
1382
|
+
"description": "Image type,can be set to `error` `network` `search` or image URL, Default: `default`"
|
1391
1383
|
},
|
1392
1384
|
"van-empty/image-size": {
|
1393
1385
|
"type": "number | string",
|
1394
|
-
"description": "
|
1386
|
+
"description": "Image size, Default: -"
|
1395
1387
|
},
|
1396
1388
|
"van-empty/description": {
|
1397
1389
|
"type": "string",
|
1398
|
-
"description": "
|
1390
|
+
"description": "Description, Default: -"
|
1399
1391
|
},
|
1400
1392
|
"van-field/v-model": {
|
1401
1393
|
"type": "number | string",
|
1402
|
-
"description": "
|
1394
|
+
"description": "Input value, Default: -"
|
1403
1395
|
},
|
1404
1396
|
"van-field/label": {
|
1405
1397
|
"type": "string",
|
1406
|
-
"description": "
|
1398
|
+
"description": "Left side label, Default: -"
|
1407
1399
|
},
|
1408
1400
|
"van-field/name": {
|
1409
1401
|
"type": "string",
|
1410
|
-
"description": "
|
1402
|
+
"description": "As the identifier when submitting the form, Default: -"
|
1411
1403
|
},
|
1412
1404
|
"van-field/id": {
|
1413
1405
|
"type": "string",
|
1414
|
-
"description": "
|
1406
|
+
"description": "Input id, the for attribute of the label also will be set, Default: `van-field-n-input`"
|
1415
1407
|
},
|
1416
1408
|
"van-field/type": {
|
1417
1409
|
"type": "FieldType",
|
1418
|
-
"description": "
|
1410
|
+
"description": "Input type, support all [native types](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types) and `digit` type, Default: `text`"
|
1419
1411
|
},
|
1420
1412
|
"van-field/size": {
|
1421
1413
|
"type": "string",
|
1422
|
-
"description": "
|
1414
|
+
"description": "Size,can be set to `large`, Default: -"
|
1423
1415
|
},
|
1424
1416
|
"van-field/maxlength": {
|
1425
1417
|
"type": "number | string",
|
1426
|
-
"description": "
|
1418
|
+
"description": "Max length of value, Default: -"
|
1427
1419
|
},
|
1428
1420
|
"van-field/placeholder": {
|
1429
1421
|
"type": "string",
|
1430
|
-
"description": "
|
1422
|
+
"description": "Input placeholder, Default: -"
|
1431
1423
|
},
|
1432
1424
|
"van-field/border": {
|
1433
1425
|
"type": "boolean",
|
1434
|
-
"description": "
|
1426
|
+
"description": "Whether to show inner border, Default: `true`"
|
1435
1427
|
},
|
1436
1428
|
"van-field/disabled": {
|
1437
1429
|
"type": "boolean",
|
1438
|
-
"description": "
|
1430
|
+
"description": "Whether to disable field, Default: `false`"
|
1439
1431
|
},
|
1440
1432
|
"van-field/readonly": {
|
1441
1433
|
"type": "boolean",
|
1442
|
-
"description": "
|
1434
|
+
"description": "Whether to be readonly, Default: `false`"
|
1443
1435
|
},
|
1444
1436
|
"van-field/colon": {
|
1445
1437
|
"type": "boolean",
|
1446
|
-
"description": "
|
1438
|
+
"description": "Whether to display colon after label, Default: `false`"
|
1447
1439
|
},
|
1448
1440
|
"van-field/required": {
|
1449
1441
|
"type": "boolean",
|
1450
|
-
"description": "
|
1442
|
+
"description": "Whether to show required mark, Default: `false`"
|
1451
1443
|
},
|
1452
1444
|
"van-field/center": {
|
1453
1445
|
"type": "boolean",
|
1454
|
-
"description": "
|
1446
|
+
"description": "Whether to center content vertically, Default: `true`"
|
1455
1447
|
},
|
1456
1448
|
"van-field/clearable": {
|
1457
1449
|
"type": "boolean",
|
1458
|
-
"description": "
|
1450
|
+
"description": "Whether to be clearable, Default: `false`"
|
1459
1451
|
},
|
1460
1452
|
"van-field/clear-icon": {
|
1461
1453
|
"type": "string",
|
1462
|
-
"description": "
|
1454
|
+
"description": "Clear icon name, Default: `clear`"
|
1463
1455
|
},
|
1464
1456
|
"van-field/clear-trigger": {
|
1465
1457
|
"type": "FieldClearTrigger",
|
1466
|
-
"description": "
|
1458
|
+
"description": "When to display the clear icon, `always` means to display the icon when value is not empty, `focus` means to display the icon when input is focused, Default: `focus`"
|
1467
1459
|
},
|
1468
1460
|
"van-field/clickable": {
|
1469
1461
|
"type": "boolean",
|
1470
|
-
"description": "
|
1462
|
+
"description": "Whether to show click feedback when clicked, Default: `false`"
|
1471
1463
|
},
|
1472
1464
|
"van-field/is-link": {
|
1473
1465
|
"type": "boolean",
|
1474
|
-
"description": "
|
1466
|
+
"description": "Whether to show link icon, Default: `false`"
|
1475
1467
|
},
|
1476
1468
|
"van-field/autofocus": {
|
1477
1469
|
"type": "boolean",
|
1478
|
-
"description": "
|
1470
|
+
"description": "Whether to auto focus, unsupported in iOS, Default: `false`"
|
1479
1471
|
},
|
1480
1472
|
"van-field/show-word-limit": {
|
1481
1473
|
"type": "boolean",
|
1482
|
-
"description": "
|
1474
|
+
"description": "Whether to show word limit, need to set the `maxlength` prop, Default: `false`"
|
1483
1475
|
},
|
1484
1476
|
"van-field/error": {
|
1485
1477
|
"type": "boolean",
|
1486
|
-
"description": "
|
1478
|
+
"description": "Whether to mark the input content in red, Default: `false`"
|
1487
1479
|
},
|
1488
1480
|
"van-field/error-message": {
|
1489
1481
|
"type": "string",
|
1490
|
-
"description": "
|
1482
|
+
"description": "Error message, Default: -"
|
1491
1483
|
},
|
1492
1484
|
"van-field/error-message-align": {
|
1493
1485
|
"type": "FieldTextAlign",
|
1494
|
-
"description": "
|
1486
|
+
"description": "Error message align, can be set to `center` `right`, Default: `left`"
|
1495
1487
|
},
|
1496
1488
|
"van-field/formatter": {
|
1497
1489
|
"type": "(val: string) => string",
|
1498
|
-
"description": "
|
1490
|
+
"description": "Input value formatter, Default: -"
|
1499
1491
|
},
|
1500
1492
|
"van-field/format-trigger": {
|
1501
1493
|
"type": "FieldFormatTrigger",
|
1502
|
-
"description": "
|
1494
|
+
"description": "When to format value,can be set to `onBlur`, Default: `onChange`"
|
1503
1495
|
},
|
1504
1496
|
"van-field/arrow-direction": {
|
1505
1497
|
"type": "string",
|
1506
|
-
"description": "
|
1498
|
+
"description": "Can be set to `left` `up` `down`, Default: `right`"
|
1507
1499
|
},
|
1508
1500
|
"van-field/label-class": {
|
1509
1501
|
"type": "string | Array \\",
|
1510
|
-
"description": "
|
1502
|
+
"description": "Label className, Default: object_",
|
1511
1503
|
"options": [
|
1512
1504
|
"-"
|
1513
1505
|
]
|
1514
1506
|
},
|
1515
1507
|
"van-field/label-width": {
|
1516
1508
|
"type": "number | string",
|
1517
|
-
"description": "
|
1509
|
+
"description": "Label width, Default: `6.2em`"
|
1518
1510
|
},
|
1519
1511
|
"van-field/label-align": {
|
1520
1512
|
"type": "FieldTextAlign",
|
1521
|
-
"description": "
|
1513
|
+
"description": "Label align, can be set to `center` `right`, Default: `left`"
|
1522
1514
|
},
|
1523
1515
|
"van-field/input-align": {
|
1524
1516
|
"type": "FieldTextAlign",
|
1525
|
-
"description": "
|
1517
|
+
"description": "Input align, can be set to `center` `right`, Default: `left`"
|
1526
1518
|
},
|
1527
1519
|
"van-field/autosize": {
|
1528
1520
|
"type": "boolean | FieldAutosizeConfig",
|
1529
|
-
"description": "
|
1521
|
+
"description": "Textarea auto resize,can accept an object,<br>e.g. { maxHeight: 100, minHeight: 50 }, Default: `false`"
|
1530
1522
|
},
|
1531
1523
|
"van-field/left-icon": {
|
1532
1524
|
"type": "string",
|
1533
|
-
"description": "
|
1525
|
+
"description": "Left side icon name, Default: -"
|
1534
1526
|
},
|
1535
1527
|
"van-field/right-icon": {
|
1536
1528
|
"type": "string",
|
1537
|
-
"description": "
|
1529
|
+
"description": "Right side icon name, Default: -"
|
1538
1530
|
},
|
1539
1531
|
"van-field/icon-prefix": {
|
1540
1532
|
"type": "string",
|
1541
|
-
"description": "
|
1533
|
+
"description": "Icon className prefix, Default: `van-icon`"
|
1542
1534
|
},
|
1543
1535
|
"van-field/rules": {
|
1544
1536
|
"type": "FieldRule[]",
|
1545
|
-
"description": "
|
1537
|
+
"description": "Form validation rules, Default: -"
|
1546
1538
|
},
|
1547
1539
|
"van-field/autocomplete": {
|
1548
1540
|
"type": "string",
|
1549
|
-
"description": "
|
1541
|
+
"description": "[autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) attribute of native input element, Default: -"
|
1550
1542
|
},
|
1551
1543
|
"van-form/label-width": {
|
1552
1544
|
"type": "number | string",
|
1553
|
-
"description": "
|
1545
|
+
"description": "Field label width, Default: `6.2em`"
|
1554
1546
|
},
|
1555
1547
|
"van-form/label-align": {
|
1556
1548
|
"type": "string",
|
1557
|
-
"description": "
|
1549
|
+
"description": "Field label align, can be set to `center` `right`, Default: `left`"
|
1558
1550
|
},
|
1559
1551
|
"van-form/input-align": {
|
1560
1552
|
"type": "string",
|
1561
|
-
"description": "
|
1553
|
+
"description": "Field input align, can be set to `center` `right`, Default: `left`"
|
1562
1554
|
},
|
1563
1555
|
"van-form/error-message-align": {
|
1564
1556
|
"type": "string",
|
1565
|
-
"description": "
|
1557
|
+
"description": "Error message align, can be set to `center` `right`, Default: `left`"
|
1566
1558
|
},
|
1567
1559
|
"van-form/validate-trigger": {
|
1568
1560
|
"type": "string",
|
1569
|
-
"description": "
|
1561
|
+
"description": "When to validate the form,can be set to `onChange`、`onSubmit`, Default: `onBlur`"
|
1570
1562
|
},
|
1571
1563
|
"van-form/colon": {
|
1572
1564
|
"type": "boolean",
|
1573
|
-
"description": "
|
1565
|
+
"description": "Whether to display colon after label, Default: `false`"
|
1574
1566
|
},
|
1575
1567
|
"van-form/disabled": {
|
1576
1568
|
"type": "boolean",
|
1577
|
-
"description": "
|
1569
|
+
"description": "Whether to disable form, Default: `false`"
|
1578
1570
|
},
|
1579
1571
|
"van-form/readonly": {
|
1580
1572
|
"type": "boolean",
|
1581
|
-
"description": "
|
1573
|
+
"description": "Whether to be readonly, Default: `false`"
|
1582
1574
|
},
|
1583
1575
|
"van-form/validate-first": {
|
1584
1576
|
"type": "boolean",
|
1585
|
-
"description": "
|
1577
|
+
"description": "Whether to stop the validation when a rule fails, Default: `false`"
|
1586
1578
|
},
|
1587
1579
|
"van-form/scroll-to-error": {
|
1588
1580
|
"type": "boolean",
|
1589
|
-
"description": "
|
1581
|
+
"description": "Whether to scroll to the error field when validation failed, Default: `false`"
|
1590
1582
|
},
|
1591
1583
|
"van-form/show-error": {
|
1592
1584
|
"type": "boolean",
|
1593
|
-
"description": "
|
1585
|
+
"description": "Whether to highlight input when validation failed, Default: `false`"
|
1594
1586
|
},
|
1595
1587
|
"van-form/show-error-message": {
|
1596
1588
|
"type": "boolean",
|
1597
|
-
"description": "
|
1589
|
+
"description": "Whether to show error message when validation failed, Default: `true`"
|
1598
1590
|
},
|
1599
1591
|
"van-form/submit-on-enter": {
|
1600
1592
|
"type": "boolean",
|
1601
|
-
"description": "
|
1593
|
+
"description": "Whether to submit form on enter, Default: `true`"
|
1602
1594
|
},
|
1603
1595
|
"van-grid/column-num": {
|
1604
1596
|
"type": "number | string",
|
1605
|
-
"description": "
|
1597
|
+
"description": "Column Num, Default: `4`"
|
1606
1598
|
},
|
1607
1599
|
"van-grid/icon-size": {
|
1608
1600
|
"type": "number | string",
|
1609
|
-
"description": "
|
1601
|
+
"description": "Icon size, Default: `28px`"
|
1610
1602
|
},
|
1611
1603
|
"van-grid/gutter": {
|
1612
1604
|
"type": "number | string",
|
1613
|
-
"description": "
|
1605
|
+
"description": "Gutter, Default: `0`"
|
1614
1606
|
},
|
1615
1607
|
"van-grid/border": {
|
1616
1608
|
"type": "boolean",
|
1617
|
-
"description": "
|
1609
|
+
"description": "Whether to show border, Default: `true`"
|
1618
1610
|
},
|
1619
1611
|
"van-grid/center": {
|
1620
1612
|
"type": "boolean",
|
1621
|
-
"description": "
|
1613
|
+
"description": "Whether to center content, Default: `true`"
|
1622
1614
|
},
|
1623
1615
|
"van-grid/square": {
|
1624
1616
|
"type": "boolean",
|
1625
|
-
"description": "
|
1617
|
+
"description": "Whether to be square shape, Default: `false`"
|
1626
1618
|
},
|
1627
1619
|
"van-grid/clickable": {
|
1628
1620
|
"type": "boolean",
|
1629
|
-
"description": "
|
1621
|
+
"description": "Whether to show click feedback when clicked, Default: `false`"
|
1630
1622
|
},
|
1631
1623
|
"van-grid/direction": {
|
1632
1624
|
"type": "string",
|
1633
|
-
"description": "
|
1625
|
+
"description": "Content arrangement direction, can be set to `horizontal`, Default: `vertical`"
|
1634
1626
|
},
|
1635
1627
|
"van-grid-item/text": {
|
1636
1628
|
"type": "string",
|
1637
|
-
"description": "
|
1629
|
+
"description": "Text, Default: -"
|
1638
1630
|
},
|
1639
1631
|
"van-grid-item/icon": {
|
1640
1632
|
"type": "string",
|
1641
|
-
"description": "
|
1633
|
+
"description": "Icon name or URL, Default: -"
|
1642
1634
|
},
|
1643
1635
|
"van-grid-item/icon-prefix": {
|
1644
1636
|
"type": "string",
|
1645
|
-
"description": "
|
1637
|
+
"description": "Icon className prefix, Default: `van-icon`"
|
1646
1638
|
},
|
1647
1639
|
"van-grid-item/icon-color": {
|
1648
1640
|
"type": "string",
|
1649
|
-
"description": "
|
1641
|
+
"description": "Icon color, Default: -"
|
1650
1642
|
},
|
1651
1643
|
"van-grid-item/reverse": {
|
1652
1644
|
"type": "boolean",
|
1653
|
-
"description": "
|
1645
|
+
"description": "Whether to reverse the position of icon and text, Default: `false`"
|
1654
1646
|
},
|
1655
1647
|
"van-grid-item/dot": {
|
1656
1648
|
"type": "boolean",
|
1657
|
-
"description": "
|
1649
|
+
"description": "Whether to show red dot, Default: `false`"
|
1658
1650
|
},
|
1659
1651
|
"van-grid-item/badge": {
|
1660
1652
|
"type": "number | string",
|
1661
|
-
"description": "
|
1653
|
+
"description": "Content of the badge, Default: -"
|
1662
1654
|
},
|
1663
1655
|
"van-grid-item/badge-props": {
|
1664
1656
|
"type": "BadgeProps",
|
1665
|
-
"description": "
|
1657
|
+
"description": "Props of Badge,see [Badge - props](#/en-US/badge#props), Default: -"
|
1666
1658
|
},
|
1667
1659
|
"van-grid-item/url": {
|
1668
1660
|
"type": "string",
|
1669
|
-
"description": "
|
1661
|
+
"description": "Link URL, Default: -"
|
1670
1662
|
},
|
1671
1663
|
"van-grid-item/to": {
|
1672
1664
|
"type": "string | object",
|
1673
|
-
"description": "
|
1665
|
+
"description": "Target route of the link, same as to of vue-router, Default: -"
|
1674
1666
|
},
|
1675
1667
|
"van-grid-item/replace": {
|
1676
1668
|
"type": "boolean",
|
1677
|
-
"description": "
|
1669
|
+
"description": "If true, the navigation will not leave a history record, Default: `false`"
|
1678
1670
|
},
|
1679
1671
|
"van-icon/name": {
|
1680
1672
|
"type": "string",
|
1681
|
-
"description": "
|
1673
|
+
"description": "Icon name or URL, Default: `''`"
|
1682
1674
|
},
|
1683
1675
|
"van-icon/dot": {
|
1684
1676
|
"type": "boolean",
|
1685
|
-
"description": "
|
1677
|
+
"description": "Whether to show red dot, Default: `false`"
|
1686
1678
|
},
|
1687
1679
|
"van-icon/badge": {
|
1688
1680
|
"type": "number | string",
|
1689
|
-
"description": "
|
1681
|
+
"description": "Content of the badge, Default: `''`"
|
1690
1682
|
},
|
1691
1683
|
"van-icon/badge-props": {
|
1692
1684
|
"type": "BadgeProps",
|
1693
|
-
"description": "
|
1685
|
+
"description": "Props of Badge,see [Badge - props](#/en-US/badge#props), Default: -"
|
1694
1686
|
},
|
1695
1687
|
"van-icon/color": {
|
1696
1688
|
"type": "string",
|
1697
|
-
"description": "
|
1689
|
+
"description": "Icon color, Default: `inherit`"
|
1698
1690
|
},
|
1699
1691
|
"van-icon/size": {
|
1700
1692
|
"type": "number | string",
|
1701
|
-
"description": "
|
1693
|
+
"description": "Icon size, Default: `inherit`"
|
1702
1694
|
},
|
1703
1695
|
"van-icon/class-prefix": {
|
1704
1696
|
"type": "string",
|
1705
|
-
"description": "
|
1697
|
+
"description": "ClassName prefix, Default: `van-icon`"
|
1706
1698
|
},
|
1707
1699
|
"van-icon/tag": {
|
1708
1700
|
"type": "string",
|
1709
|
-
"description": "
|
1701
|
+
"description": "HTML Tag of root element, Default: `i`"
|
1710
1702
|
},
|
1711
1703
|
"van-image/src": {
|
1712
1704
|
"type": "string",
|
1713
|
-
"description": "
|
1705
|
+
"description": "Src, Default: -"
|
1714
1706
|
},
|
1715
1707
|
"van-image/fit": {
|
1716
1708
|
"type": "string",
|
1717
|
-
"description": "
|
1709
|
+
"description": "Fit mode, same as [object-fit](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit), Default: `fill`"
|
1710
|
+
},
|
1711
|
+
"van-image/position": {
|
1712
|
+
"type": "string",
|
1713
|
+
"description": "Position, same as [object-position](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position), can be set to `top` `right` `bottom` `left` or `string`, Default: `center`"
|
1718
1714
|
},
|
1719
1715
|
"van-image/alt": {
|
1720
1716
|
"type": "string",
|
1721
|
-
"description": "
|
1717
|
+
"description": "Alt, Default: -"
|
1722
1718
|
},
|
1723
1719
|
"van-image/width": {
|
1724
1720
|
"type": "number | string",
|
1725
|
-
"description": "
|
1721
|
+
"description": "Width, Default: -"
|
1726
1722
|
},
|
1727
1723
|
"van-image/height": {
|
1728
1724
|
"type": "number | string",
|
1729
|
-
"description": "
|
1725
|
+
"description": "Height, Default: -"
|
1730
1726
|
},
|
1731
1727
|
"van-image/radius": {
|
1732
1728
|
"type": "number | string",
|
1733
|
-
"description": "
|
1729
|
+
"description": "Border Radius, Default: `0`"
|
1734
1730
|
},
|
1735
1731
|
"van-image/round": {
|
1736
1732
|
"type": "boolean",
|
1737
|
-
"description": "
|
1733
|
+
"description": "Whether to be round, Default: `false`"
|
1738
1734
|
},
|
1739
1735
|
"van-image/lazy-load": {
|
1740
1736
|
"type": "boolean",
|
1741
|
-
"description": "
|
1737
|
+
"description": "Whether to enable lazy load,should register [Lazyload](#/en-US/lazyload) component, Default: `false`"
|
1742
1738
|
},
|
1743
1739
|
"van-image/show-error": {
|
1744
1740
|
"type": "boolean",
|
1745
|
-
"description": "
|
1741
|
+
"description": "Whether to show error placeholder, Default: `true`"
|
1746
1742
|
},
|
1747
1743
|
"van-image/show-loading": {
|
1748
1744
|
"type": "boolean",
|
1749
|
-
"description": "
|
1745
|
+
"description": "Whether to show loading placeholder, Default: `true`"
|
1750
1746
|
},
|
1751
1747
|
"van-image/error-icon": {
|
1752
1748
|
"type": "string",
|
1753
|
-
"description": "
|
1749
|
+
"description": "Error icon, Default: `photo-fail`"
|
1754
1750
|
},
|
1755
1751
|
"van-image/loading-icon": {
|
1756
1752
|
"type": "string",
|
1757
|
-
"description": "
|
1753
|
+
"description": "Loading icon, Default: `photo`"
|
1758
1754
|
},
|
1759
1755
|
"van-image/icon-size": {
|
1760
1756
|
"type": "number | string",
|
1761
|
-
"description": "
|
1757
|
+
"description": "Icon size, Default: `32px`"
|
1762
1758
|
},
|
1763
1759
|
"van-image/icon-prefix": {
|
1764
1760
|
"type": "string",
|
1765
|
-
"description": "
|
1761
|
+
"description": "Icon className prefix, Default: `van-icon`"
|
1766
1762
|
},
|
1767
1763
|
"van-image-preview/v-model:show": {
|
1768
1764
|
"type": "boolean",
|
1769
|
-
"description": "
|
1765
|
+
"description": "Whether to show ImagePreview, Default: `false`"
|
1770
1766
|
},
|
1771
1767
|
"van-image-preview/images": {
|
1772
1768
|
"type": "string[]",
|
1773
|
-
"description": "
|
1769
|
+
"description": "Images URL list, Default: `[]`"
|
1774
1770
|
},
|
1775
1771
|
"van-image-preview/start-position": {
|
1776
1772
|
"type": "number | string",
|
1777
|
-
"description": "
|
1773
|
+
"description": "Start position, Default: `0`"
|
1778
1774
|
},
|
1779
1775
|
"van-image-preview/swipe-duration": {
|
1780
1776
|
"type": "number | string",
|
1781
|
-
"description": "
|
1777
|
+
"description": "Animation duration (ms), Default: `300`"
|
1782
1778
|
},
|
1783
1779
|
"van-image-preview/show-index": {
|
1784
1780
|
"type": "boolean",
|
1785
|
-
"description": "
|
1781
|
+
"description": "Whether to show index, Default: `true`"
|
1786
1782
|
},
|
1787
1783
|
"van-image-preview/show-indicators": {
|
1788
1784
|
"type": "boolean",
|
1789
|
-
"description": "
|
1785
|
+
"description": "Whether to show indicators, Default: `false`"
|
1790
1786
|
},
|
1791
1787
|
"van-image-preview/loop": {
|
1792
1788
|
"type": "boolean",
|
1793
|
-
"description": "
|
1789
|
+
"description": "Whether to enable loop, Default: `true`"
|
1794
1790
|
},
|
1795
1791
|
"van-image-preview/before-close": {
|
1796
|
-
"type": "(
|
1797
|
-
"description": "
|
1792
|
+
"type": "(action: number) => boolean | Promise\\<boolean\\>",
|
1793
|
+
"description": "Callback function before close, Default: -"
|
1798
1794
|
},
|
1799
1795
|
"van-image-preview/close-on-popstate": {
|
1800
1796
|
"type": "boolean",
|
1801
|
-
"description": "
|
1797
|
+
"description": "Whether to close when popstate, Default: `true`"
|
1802
1798
|
},
|
1803
1799
|
"van-image-preview/class-name": {
|
1804
1800
|
"type": "string | Array \\",
|
1805
|
-
"description": "
|
1801
|
+
"description": "Custom className, Default: object_",
|
1806
1802
|
"options": [
|
1807
1803
|
"-"
|
1808
1804
|
]
|
1809
1805
|
},
|
1810
1806
|
"van-image-preview/max-zoom": {
|
1811
1807
|
"type": "number | string",
|
1812
|
-
"description": "
|
1808
|
+
"description": "Max zoom, Default: `3`"
|
1813
1809
|
},
|
1814
1810
|
"van-image-preview/min-zoom": {
|
1815
1811
|
"type": "number | string",
|
1816
|
-
"description": "
|
1812
|
+
"description": "Min zoom, Default: `1/3`"
|
1817
1813
|
},
|
1818
1814
|
"van-image-preview/closeable": {
|
1819
1815
|
"type": "boolean",
|
1820
|
-
"description": "
|
1816
|
+
"description": "Whether to show close icon, Default: `false`"
|
1821
1817
|
},
|
1822
1818
|
"van-image-preview/close-icon": {
|
1823
1819
|
"type": "string",
|
1824
|
-
"description": "
|
1820
|
+
"description": "Close icon name, Default: `clear`"
|
1825
1821
|
},
|
1826
1822
|
"van-image-preview/close-icon-position": {
|
1827
1823
|
"type": "string",
|
1828
|
-
"description": "
|
1824
|
+
"description": "Close icon position,can be set to `top-left` `bottom-left` `bottom-right`, Default: `top-right`"
|
1829
1825
|
},
|
1830
1826
|
"van-image-preview/transition": {
|
1831
1827
|
"type": "string",
|
1832
|
-
"description": "
|
1828
|
+
"description": "Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition), Default: `van-fade`"
|
1833
1829
|
},
|
1834
1830
|
"van-image-preview/overlay-class": {
|
1835
1831
|
"type": "string | Array \\",
|
1836
|
-
"description": "
|
1832
|
+
"description": "Custom overlay class, Default: object_",
|
1837
1833
|
"options": [
|
1838
1834
|
"-"
|
1839
1835
|
]
|
1840
1836
|
},
|
1841
1837
|
"van-image-preview/overlay-style": {
|
1842
1838
|
"type": "object",
|
1843
|
-
"description": "
|
1839
|
+
"description": "Custom overlay style, Default: -"
|
1844
1840
|
},
|
1845
1841
|
"van-image-preview/teleport": {
|
1846
1842
|
"type": "string | Element",
|
1847
|
-
"description": "
|
1843
|
+
"description": "Specifies a target element where ImagePreview will be mounted, Default: -"
|
1848
1844
|
},
|
1849
1845
|
"van-index-bar/index-list": {
|
1850
1846
|
"type": "string[] | number[]",
|
1851
|
-
"description": "
|
1847
|
+
"description": "Index List, Default: `A-Z`"
|
1852
1848
|
},
|
1853
1849
|
"van-index-bar/z-index": {
|
1854
1850
|
"type": "number | string",
|
1855
|
-
"description": "z-index
|
1851
|
+
"description": "z-index, Default: `1`"
|
1856
1852
|
},
|
1857
1853
|
"van-index-bar/sticky": {
|
1858
1854
|
"type": "boolean",
|
1859
|
-
"description": "
|
1855
|
+
"description": "Whether to enable anchor sticky top, Default: `true`"
|
1860
1856
|
},
|
1861
1857
|
"van-index-bar/sticky-offset-top": {
|
1862
1858
|
"type": "number",
|
1863
|
-
"description": "
|
1859
|
+
"description": "Anchor offset top when sticky, Default: `0`"
|
1864
1860
|
},
|
1865
1861
|
"van-index-bar/highlight-color": {
|
1866
1862
|
"type": "string",
|
1867
|
-
"description": "
|
1863
|
+
"description": "Index character highlight color, Default: `#ee0a24`"
|
1868
1864
|
},
|
1869
1865
|
"van-index-bar/teleport": {
|
1870
1866
|
"type": "string | Element",
|
1871
|
-
"description": "
|
1867
|
+
"description": "Specifies a target element where IndexBar will be mounted, Default: -"
|
1872
1868
|
},
|
1873
1869
|
"van-index-anchor/index": {
|
1874
1870
|
"type": "number | string",
|
1875
|
-
"description": "
|
1871
|
+
"description": "Index, Default: -"
|
1876
1872
|
},
|
1877
1873
|
"van-list/v-model:loading": {
|
1878
1874
|
"type": "boolean",
|
1879
|
-
"description": "
|
1875
|
+
"description": "Whether to show loading info,the `load` event will not be Emitted when loading, Default: `false`"
|
1880
1876
|
},
|
1881
1877
|
"van-list/v-model:error": {
|
1882
1878
|
"type": "boolean",
|
1883
|
-
"description": "
|
1879
|
+
"description": "Whether loading is error,the `load` event will be Emitted only when error text clicked, Default: `false`"
|
1884
1880
|
},
|
1885
1881
|
"van-list/finished": {
|
1886
1882
|
"type": "boolean",
|
1887
|
-
"description": "
|
1883
|
+
"description": "Whether loading is finished,the `load` event will not be Emitted when finished, Default: `false`"
|
1888
1884
|
},
|
1889
1885
|
"van-list/offset": {
|
1890
1886
|
"type": "number | string",
|
1891
|
-
"description": "
|
1887
|
+
"description": "The load event will be Emitted when the distance between the scrollbar and the bottom is less than offset, Default: `300`"
|
1892
1888
|
},
|
1893
1889
|
"van-list/loading-text": {
|
1894
1890
|
"type": "string",
|
1895
|
-
"description": "
|
1891
|
+
"description": "Loading text, Default: `Loading...`"
|
1896
1892
|
},
|
1897
1893
|
"van-list/finished-text": {
|
1898
1894
|
"type": "string",
|
1899
|
-
"description": "
|
1895
|
+
"description": "Finished text, Default: -"
|
1900
1896
|
},
|
1901
1897
|
"van-list/error-text": {
|
1902
1898
|
"type": "string",
|
1903
|
-
"description": "
|
1899
|
+
"description": "Error loaded text, Default: -"
|
1904
1900
|
},
|
1905
1901
|
"van-list/immediate-check": {
|
1906
1902
|
"type": "boolean",
|
1907
|
-
"description": "
|
1903
|
+
"description": "Whether to check loading position immediately after mounted, Default: `true`"
|
1908
1904
|
},
|
1909
1905
|
"van-list/direction": {
|
1910
1906
|
"type": "string",
|
1911
|
-
"description": "
|
1907
|
+
"description": "Scroll direction,can be set to `up`, Default: `down`"
|
1912
1908
|
},
|
1913
1909
|
"van-loading/color": {
|
1914
1910
|
"type": "string",
|
1915
|
-
"description": "
|
1911
|
+
"description": "Loading color, Default: `#c9c9c9`"
|
1916
1912
|
},
|
1917
1913
|
"van-loading/type": {
|
1918
1914
|
"type": "string",
|
1919
|
-
"description": "
|
1915
|
+
"description": "Can be set to `spinner`, Default: `circular`"
|
1920
1916
|
},
|
1921
1917
|
"van-loading/size": {
|
1922
1918
|
"type": "number | string",
|
1923
|
-
"description": "
|
1919
|
+
"description": "Icon size, Default: `30px`"
|
1924
1920
|
},
|
1925
1921
|
"van-loading/text-size": {
|
1926
1922
|
"type": "number | string",
|
1927
|
-
"description": "
|
1923
|
+
"description": "Text font size, Default: `14px`"
|
1928
1924
|
},
|
1929
1925
|
"van-loading/text-color": {
|
1930
1926
|
"type": "string",
|
1931
|
-
"description": "
|
1927
|
+
"description": "Text color, Default: `#c9c9c9`"
|
1932
1928
|
},
|
1933
1929
|
"van-loading/vertical": {
|
1934
1930
|
"type": "boolean",
|
1935
|
-
"description": "
|
1931
|
+
"description": "Whether to arrange icons and text content vertically, Default: `false`"
|
1936
1932
|
},
|
1937
1933
|
"van-nav-bar/title": {
|
1938
1934
|
"type": "string",
|
1939
|
-
"description": "
|
1935
|
+
"description": "Title, Default: `''`"
|
1940
1936
|
},
|
1941
1937
|
"van-nav-bar/left-text": {
|
1942
1938
|
"type": "string",
|
1943
|
-
"description": "
|
1939
|
+
"description": "Left Text, Default: `''`"
|
1944
1940
|
},
|
1945
1941
|
"van-nav-bar/right-text": {
|
1946
1942
|
"type": "string",
|
1947
|
-
"description": "
|
1943
|
+
"description": "Right Text, Default: `''`"
|
1948
1944
|
},
|
1949
1945
|
"van-nav-bar/left-arrow": {
|
1950
1946
|
"type": "boolean",
|
1951
|
-
"description": "
|
1947
|
+
"description": "Whether to show left arrow, Default: `false`"
|
1952
1948
|
},
|
1953
1949
|
"van-nav-bar/border": {
|
1954
1950
|
"type": "boolean",
|
1955
|
-
"description": "
|
1951
|
+
"description": "Whether to show bottom border, Default: `true`"
|
1956
1952
|
},
|
1957
1953
|
"van-nav-bar/fixed": {
|
1958
1954
|
"type": "boolean",
|
1959
|
-
"description": "
|
1955
|
+
"description": "Whether to fixed top, Default: `false`"
|
1960
1956
|
},
|
1961
1957
|
"van-nav-bar/placeholder": {
|
1962
1958
|
"type": "boolean",
|
1963
|
-
"description": "
|
1959
|
+
"description": "Whether to generate a placeholder element when fixed, Default: `false`"
|
1964
1960
|
},
|
1965
1961
|
"van-nav-bar/z-index": {
|
1966
1962
|
"type": "number | string",
|
1967
|
-
"description": "
|
1963
|
+
"description": "Z-index, Default: `1`"
|
1968
1964
|
},
|
1969
1965
|
"van-nav-bar/safe-area-inset-top": {
|
1970
1966
|
"type": "boolean",
|
1971
|
-
"description": "
|
1967
|
+
"description": "Whether to enable top safe area adaptation, Default: `false`"
|
1972
1968
|
},
|
1973
1969
|
"van-notice-bar/mode": {
|
1974
1970
|
"type": "string",
|
1975
|
-
"description": "
|
1971
|
+
"description": "Mode, can be set to `closeable` `link`, Default: `''`"
|
1976
1972
|
},
|
1977
1973
|
"van-notice-bar/text": {
|
1978
1974
|
"type": "string",
|
1979
|
-
"description": "
|
1975
|
+
"description": "Notice text content, Default: `''`"
|
1980
1976
|
},
|
1981
1977
|
"van-notice-bar/color": {
|
1982
1978
|
"type": "string",
|
1983
|
-
"description": "
|
1979
|
+
"description": "Text color, Default: `#ed6a0c`"
|
1984
1980
|
},
|
1985
1981
|
"van-notice-bar/background": {
|
1986
1982
|
"type": "string",
|
1987
|
-
"description": "
|
1983
|
+
"description": "Background color, Default: `#fffbe8`"
|
1988
1984
|
},
|
1989
1985
|
"van-notice-bar/left-icon": {
|
1990
1986
|
"type": "string",
|
1991
|
-
"description": "
|
1987
|
+
"description": "Left Icon, Default: -"
|
1992
1988
|
},
|
1993
1989
|
"van-notice-bar/delay": {
|
1994
1990
|
"type": "number | string",
|
1995
|
-
"description": "
|
1991
|
+
"description": "Animation delay (s), Default: `1`"
|
1996
1992
|
},
|
1997
1993
|
"van-notice-bar/speed": {
|
1998
1994
|
"type": "number | string",
|
1999
|
-
"description": "
|
1995
|
+
"description": "Scroll speed (px/s), Default: `60`"
|
2000
1996
|
},
|
2001
1997
|
"van-notice-bar/scrollable": {
|
2002
1998
|
"type": "boolean",
|
2003
|
-
"description": "
|
1999
|
+
"description": "Whether to scroll content, Default: -"
|
2004
2000
|
},
|
2005
2001
|
"van-notice-bar/wrapable": {
|
2006
2002
|
"type": "boolean",
|
2007
|
-
"description": "
|
2003
|
+
"description": "Whether to enable text wrap, Default: `false`"
|
2008
2004
|
},
|
2009
2005
|
"van-number-keyboard/v-model": {
|
2010
2006
|
"type": "string",
|
2011
|
-
"description": "
|
2007
|
+
"description": "Current value, Default: -"
|
2012
2008
|
},
|
2013
2009
|
"van-number-keyboard/show": {
|
2014
2010
|
"type": "boolean",
|
2015
|
-
"description": "
|
2011
|
+
"description": "Whether to show keyboard, Default: -"
|
2016
2012
|
},
|
2017
2013
|
"van-number-keyboard/title": {
|
2018
2014
|
"type": "string",
|
2019
|
-
"description": "
|
2015
|
+
"description": "Keyboard title, Default: -"
|
2020
2016
|
},
|
2021
2017
|
"van-number-keyboard/theme": {
|
2022
2018
|
"type": "string",
|
2023
|
-
"description": "
|
2019
|
+
"description": "Keyboard theme,can be set to `custom`, Default: `default`"
|
2024
2020
|
},
|
2025
2021
|
"van-number-keyboard/maxlength": {
|
2026
2022
|
"type": "number | string",
|
2027
|
-
"description": "
|
2023
|
+
"description": "Value maxlength, Default: `Infinity`"
|
2028
2024
|
},
|
2029
2025
|
"van-number-keyboard/transition": {
|
2030
2026
|
"type": "boolean",
|
2031
|
-
"description": "
|
2027
|
+
"description": "Whether to show transition animation, Default: `true`"
|
2032
2028
|
},
|
2033
2029
|
"van-number-keyboard/z-index": {
|
2034
2030
|
"type": "number | string",
|
2035
|
-
"description": "
|
2031
|
+
"description": "Keyboard z-index, Default: `100`"
|
2036
2032
|
},
|
2037
2033
|
"van-number-keyboard/extra-key": {
|
2038
2034
|
"type": "string | string[]",
|
2039
|
-
"description": "
|
2035
|
+
"description": "Content of bottom left key, Default: `''`"
|
2040
2036
|
},
|
2041
2037
|
"van-number-keyboard/close-button-text": {
|
2042
2038
|
"type": "string",
|
2043
|
-
"description": "
|
2039
|
+
"description": "Close button text, Default: -"
|
2044
2040
|
},
|
2045
2041
|
"van-number-keyboard/delete-button-text": {
|
2046
2042
|
"type": "string",
|
2047
|
-
"description": "
|
2043
|
+
"description": "Delete button text, Default: Delete Icon"
|
2048
2044
|
},
|
2049
2045
|
"van-number-keyboard/close-button-loading": {
|
2050
2046
|
"type": "boolean",
|
2051
|
-
"description": "
|
2047
|
+
"description": "Whether to show loading close button in custom theme, Default: `false`"
|
2052
2048
|
},
|
2053
2049
|
"van-number-keyboard/show-delete-key": {
|
2054
2050
|
"type": "boolean",
|
2055
|
-
"description": "
|
2051
|
+
"description": "Whether to show delete button, Default: `true`"
|
2056
2052
|
},
|
2057
2053
|
"van-number-keyboard/blur-on-close": {
|
2058
2054
|
"type": "boolean",
|
2059
|
-
"description": "
|
2055
|
+
"description": "Whether to emit blur event when clicking close button, Default: `true`"
|
2060
2056
|
},
|
2061
2057
|
"van-number-keyboard/hide-on-click-outside": {
|
2062
2058
|
"type": "boolean",
|
2063
|
-
"description": "
|
2059
|
+
"description": "Whether to hide keyboard when outside is clicked, Default: `true`"
|
2064
2060
|
},
|
2065
2061
|
"van-number-keyboard/teleport": {
|
2066
2062
|
"type": "string | Element",
|
2067
|
-
"description": "
|
2063
|
+
"description": "Specifies a target element where NumberKeyboard will be mounted, Default: -"
|
2068
2064
|
},
|
2069
2065
|
"van-number-keyboard/safe-area-inset-bottom": {
|
2070
2066
|
"type": "boolean",
|
2071
|
-
"description": "
|
2067
|
+
"description": "Whether to enable bottom safe area adaptation, Default: `true`"
|
2072
2068
|
},
|
2073
2069
|
"van-number-keyboard/random-key-order": {
|
2074
2070
|
"type": "boolean",
|
2075
|
-
"description": "
|
2071
|
+
"description": "Whether to shuffle the order of keys, Default: `false`"
|
2076
2072
|
},
|
2077
2073
|
"van-overlay/show": {
|
2078
2074
|
"type": "boolean",
|
2079
|
-
"description": "
|
2075
|
+
"description": "Whether to show overlay, Default: `false`"
|
2080
2076
|
},
|
2081
2077
|
"van-overlay/z-index": {
|
2082
2078
|
"type": "number | string",
|
2083
|
-
"description": "z-index
|
2079
|
+
"description": "z-index, Default: `1`"
|
2084
2080
|
},
|
2085
2081
|
"van-overlay/duration": {
|
2086
2082
|
"type": "number | string",
|
2087
|
-
"description": "
|
2083
|
+
"description": "Animation duration, Default: `0.3`"
|
2088
2084
|
},
|
2089
2085
|
"van-overlay/class-name": {
|
2090
2086
|
"type": "string",
|
2091
|
-
"description": "
|
2087
|
+
"description": "ClassName, Default: -"
|
2092
2088
|
},
|
2093
|
-
"van-overlay/custom-
|
2089
|
+
"van-overlay/custom-class": {
|
2094
2090
|
"type": "object",
|
2095
|
-
"description": "
|
2091
|
+
"description": "Custom style, Default: -"
|
2096
2092
|
},
|
2097
2093
|
"van-overlay/lock-scroll": {
|
2098
2094
|
"type": "boolean",
|
2099
|
-
"description": "
|
2095
|
+
"description": "Whether to lock background scroll, Default: `true`"
|
2096
|
+
},
|
2097
|
+
"van-overlay/lazy-render": {
|
2098
|
+
"type": "boolean",
|
2099
|
+
"description": "Whether to lazy render util appeared, Default: `true`"
|
2100
2100
|
},
|
2101
2101
|
"van-pagination/v-model": {
|
2102
2102
|
"type": "number",
|
2103
|
-
"description": "
|
2103
|
+
"description": "Current page number, Default: -"
|
2104
2104
|
},
|
2105
2105
|
"van-pagination/mode": {
|
2106
2106
|
"type": "string",
|
2107
|
-
"description": "
|
2107
|
+
"description": "Mode, can be set to `simple` `multi`, Default: `multi`"
|
2108
2108
|
},
|
2109
2109
|
"van-pagination/prev-text": {
|
2110
2110
|
"type": "string",
|
2111
|
-
"description": "
|
2111
|
+
"description": "Previous text, Default: `Previous`"
|
2112
2112
|
},
|
2113
2113
|
"van-pagination/next-text": {
|
2114
2114
|
"type": "string",
|
2115
|
-
"description": "
|
2116
|
-
},
|
2117
|
-
"van-pagination/page-count": {
|
2118
|
-
"type": "number | string",
|
2119
|
-
"description": "总页数, 默认值: 根据页数计算"
|
2115
|
+
"description": "Next text, Default: `Next`"
|
2120
2116
|
},
|
2121
2117
|
"van-pagination/total-items": {
|
2122
2118
|
"type": "number | string",
|
2123
|
-
"description": "
|
2119
|
+
"description": "Total items, Default: `0`"
|
2124
2120
|
},
|
2125
2121
|
"van-pagination/items-per-page": {
|
2126
2122
|
"type": "number | string",
|
2127
|
-
"description": "
|
2123
|
+
"description": "Item number per page, Default: `10`"
|
2124
|
+
},
|
2125
|
+
"van-pagination/page-count": {
|
2126
|
+
"type": "number | string",
|
2127
|
+
"description": "The total number of pages, if not set, will be calculated based on `total-items` and `items-per-page`, Default: `-`"
|
2128
2128
|
},
|
2129
2129
|
"van-pagination/show-page-size": {
|
2130
2130
|
"type": "number | string",
|
2131
|
-
"description": "
|
2131
|
+
"description": "Count of page size to show, Default: `5`"
|
2132
2132
|
},
|
2133
2133
|
"van-pagination/force-ellipses": {
|
2134
2134
|
"type": "boolean",
|
2135
|
-
"description": "
|
2135
|
+
"description": "Whether to show ellipses, Default: `false`"
|
2136
2136
|
},
|
2137
2137
|
"van-password-input/value": {
|
2138
2138
|
"type": "string",
|
2139
|
-
"description": "
|
2139
|
+
"description": "Password value, Default: `''`"
|
2140
2140
|
},
|
2141
2141
|
"van-password-input/info": {
|
2142
2142
|
"type": "string",
|
2143
|
-
"description": "
|
2143
|
+
"description": "Bottom info, Default: -"
|
2144
2144
|
},
|
2145
2145
|
"van-password-input/error-info": {
|
2146
2146
|
"type": "string",
|
2147
|
-
"description": "
|
2147
|
+
"description": "Bottom error info, Default: -"
|
2148
2148
|
},
|
2149
2149
|
"van-password-input/length": {
|
2150
2150
|
"type": "number | string",
|
2151
|
-
"description": "
|
2151
|
+
"description": "Maxlength of password, Default: `6`"
|
2152
2152
|
},
|
2153
2153
|
"van-password-input/gutter": {
|
2154
2154
|
"type": "number | string",
|
2155
|
-
"description": "
|
2155
|
+
"description": "Gutter of input, Default: `0`"
|
2156
2156
|
},
|
2157
2157
|
"van-password-input/mask": {
|
2158
2158
|
"type": "boolean",
|
2159
|
-
"description": "
|
2159
|
+
"description": "Whether to mask value, Default: `true`"
|
2160
2160
|
},
|
2161
2161
|
"van-password-input/focused": {
|
2162
2162
|
"type": "boolean",
|
2163
|
-
"description": "
|
2163
|
+
"description": "Whether to show focused cursor, Default: `false`"
|
2164
2164
|
},
|
2165
2165
|
"van-picker/columns": {
|
2166
2166
|
"type": "Column[]",
|
2167
|
-
"description": "
|
2167
|
+
"description": "Columns data, Default: `[]`"
|
2168
2168
|
},
|
2169
2169
|
"van-picker/columns-field-names": {
|
2170
2170
|
"type": "object",
|
2171
|
-
"description": "
|
2171
|
+
"description": "custom columns field, Default: `{ text: 'text', values: 'values', children: 'children' }`"
|
2172
2172
|
},
|
2173
2173
|
"van-picker/title": {
|
2174
2174
|
"type": "string",
|
2175
|
-
"description": "
|
2175
|
+
"description": "Toolbar title, Default: -"
|
2176
2176
|
},
|
2177
2177
|
"van-picker/confirm-button-text": {
|
2178
2178
|
"type": "string",
|
2179
|
-
"description": "
|
2179
|
+
"description": "Text of confirm button, Default: `Confirm`"
|
2180
2180
|
},
|
2181
2181
|
"van-picker/cancel-button-text": {
|
2182
2182
|
"type": "string",
|
2183
|
-
"description": "
|
2183
|
+
"description": "Text of cancel button, Default: `Cancel`"
|
2184
2184
|
},
|
2185
2185
|
"van-picker/toolbar-position": {
|
2186
2186
|
"type": "string",
|
2187
|
-
"description": "
|
2187
|
+
"description": "Toolbar position, cat be set to `bottom`, Default: `top`"
|
2188
2188
|
},
|
2189
2189
|
"van-picker/loading": {
|
2190
2190
|
"type": "boolean",
|
2191
|
-
"description": "
|
2191
|
+
"description": "Whether to show loading prompt, Default: `false`"
|
2192
2192
|
},
|
2193
2193
|
"van-picker/show-toolbar": {
|
2194
2194
|
"type": "boolean",
|
2195
|
-
"description": "
|
2195
|
+
"description": "Whether to show toolbar, Default: `true`"
|
2196
2196
|
},
|
2197
2197
|
"van-picker/allow-html": {
|
2198
2198
|
"type": "boolean",
|
2199
|
-
"description": "
|
2199
|
+
"description": "Whether to allow HTML in option text, Default: `false`"
|
2200
2200
|
},
|
2201
2201
|
"van-picker/default-index": {
|
2202
2202
|
"type": "number | string",
|
2203
|
-
"description": "
|
2203
|
+
"description": "Default value index of single column picker, Default: `0`"
|
2204
2204
|
},
|
2205
2205
|
"van-picker/item-height": {
|
2206
2206
|
"type": "number | string",
|
2207
|
-
"description": "
|
2207
|
+
"description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`, Default: `44`"
|
2208
2208
|
},
|
2209
2209
|
"van-picker/visible-item-count": {
|
2210
2210
|
"type": "number | string",
|
2211
|
-
"description": "
|
2211
|
+
"description": "Count of visible columns, Default: `6`"
|
2212
2212
|
},
|
2213
2213
|
"van-picker/swipe-duration": {
|
2214
2214
|
"type": "number | string",
|
2215
|
-
"description": "
|
2215
|
+
"description": "Duration of the momentum animation,unit `ms`, Default: `1000`"
|
2216
2216
|
},
|
2217
2217
|
"van-popover/v-model:show": {
|
2218
2218
|
"type": "boolean",
|
2219
|
-
"description": "
|
2219
|
+
"description": "Whether to show Popover, Default: `false`"
|
2220
2220
|
},
|
2221
2221
|
"van-popover/actions": {
|
2222
2222
|
"type": "PopoverAction[]",
|
2223
|
-
"description": "
|
2223
|
+
"description": "Actions, Default: `[]`"
|
2224
2224
|
},
|
2225
2225
|
"van-popover/placement": {
|
2226
2226
|
"type": "PopoverPlacement",
|
2227
|
-
"description": "
|
2227
|
+
"description": "Placement, Default: `bottom`"
|
2228
2228
|
},
|
2229
2229
|
"van-popover/theme": {
|
2230
2230
|
"type": "PopoverTheme",
|
2231
|
-
"description": "
|
2231
|
+
"description": "Theme,can be set to `dark`, Default: `light`"
|
2232
2232
|
},
|
2233
2233
|
"van-popover/trigger": {
|
2234
2234
|
"type": "PopoverTrigger",
|
2235
|
-
"description": "
|
2235
|
+
"description": "Trigger mode,can be set to `manual`, Default: `click`"
|
2236
2236
|
},
|
2237
2237
|
"van-popover/duration": {
|
2238
2238
|
"type": "number | string",
|
2239
|
-
"description": "
|
2239
|
+
"description": "Transition duration, unit second, Default: `0.3`"
|
2240
2240
|
},
|
2241
2241
|
"van-popover/offset": {
|
2242
2242
|
"type": "[number, number]",
|
2243
|
-
"description": "
|
2243
|
+
"description": "Distance to reference, Default: `[0, 8]`"
|
2244
2244
|
},
|
2245
2245
|
"van-popover/overlay": {
|
2246
2246
|
"type": "boolean",
|
2247
|
-
"description": "
|
2247
|
+
"description": "Whether to show overlay, Default: `false`"
|
2248
2248
|
},
|
2249
2249
|
"van-popover/overlay-class": {
|
2250
2250
|
"type": "string | Array \\",
|
2251
|
-
"description": "
|
2251
|
+
"description": "Custom overlay class, Default: object_",
|
2252
2252
|
"options": [
|
2253
2253
|
"-"
|
2254
2254
|
]
|
2255
2255
|
},
|
2256
2256
|
"van-popover/overlay-style": {
|
2257
2257
|
"type": "object",
|
2258
|
-
"description": "
|
2258
|
+
"description": "Custom overlay style, Default: -"
|
2259
2259
|
},
|
2260
2260
|
"van-popover/show-arrow": {
|
2261
2261
|
"type": "boolean",
|
2262
|
-
"description": "
|
2262
|
+
"description": "Whether to show arrow, Default: `true`"
|
2263
2263
|
},
|
2264
2264
|
"van-popover/close-on-click-action": {
|
2265
2265
|
"type": "boolean",
|
2266
|
-
"description": "
|
2266
|
+
"description": "Whether to close when clicking action, Default: `true`"
|
2267
2267
|
},
|
2268
2268
|
"van-popover/close-on-click-outside": {
|
2269
2269
|
"type": "boolean",
|
2270
|
-
"description": "
|
2270
|
+
"description": "Whether to close when clicking outside, Default: `true`"
|
2271
2271
|
},
|
2272
2272
|
"van-popover/close-on-click-overlay": {
|
2273
2273
|
"type": "boolean",
|
2274
|
-
"description": "
|
2274
|
+
"description": "Whether to close when clicking overlay, Default: `true`"
|
2275
2275
|
},
|
2276
2276
|
"van-popover/teleport": {
|
2277
2277
|
"type": "string | Element",
|
2278
|
-
"description": "
|
2278
|
+
"description": "Specifies a target element where Popover will be mounted, Default: `body`"
|
2279
2279
|
},
|
2280
2280
|
"van-popover/icon-prefix": {
|
2281
2281
|
"type": "string",
|
2282
|
-
"description": "
|
2282
|
+
"description": "Icon className prefix, Default: `van-icon`"
|
2283
2283
|
},
|
2284
2284
|
"van-popup/v-model:show": {
|
2285
2285
|
"type": "boolean",
|
2286
|
-
"description": "
|
2286
|
+
"description": "Whether to show popup, Default: `false`"
|
2287
2287
|
},
|
2288
2288
|
"van-popup/overlay": {
|
2289
2289
|
"type": "boolean",
|
2290
|
-
"description": "
|
2290
|
+
"description": "Whether to show overlay, Default: `true`"
|
2291
2291
|
},
|
2292
2292
|
"van-popup/position": {
|
2293
2293
|
"type": "string",
|
2294
|
-
"description": "
|
2294
|
+
"description": "Can be set to `top` `bottom` `right` `left`, Default: `center`"
|
2295
2295
|
},
|
2296
2296
|
"van-popup/overlay-class": {
|
2297
2297
|
"type": "string | Array \\",
|
2298
|
-
"description": "
|
2298
|
+
"description": "Custom overlay class, Default: object_",
|
2299
2299
|
"options": [
|
2300
2300
|
"-"
|
2301
2301
|
]
|
2302
2302
|
},
|
2303
2303
|
"van-popup/overlay-style": {
|
2304
2304
|
"type": "object",
|
2305
|
-
"description": "
|
2305
|
+
"description": "Custom overlay style, Default: -"
|
2306
2306
|
},
|
2307
2307
|
"van-popup/duration": {
|
2308
2308
|
"type": "number | string",
|
2309
|
-
"description": "
|
2309
|
+
"description": "Transition duration, unit second, Default: `0.3`"
|
2310
2310
|
},
|
2311
2311
|
"van-popup/round": {
|
2312
2312
|
"type": "boolean",
|
2313
|
-
"description": "
|
2313
|
+
"description": "Whether to show round corner, Default: `false`"
|
2314
2314
|
},
|
2315
2315
|
"van-popup/lock-scroll": {
|
2316
2316
|
"type": "boolean",
|
2317
|
-
"description": "
|
2317
|
+
"description": "Whether to lock background scroll, Default: `true`"
|
2318
2318
|
},
|
2319
2319
|
"van-popup/lazy-render": {
|
2320
2320
|
"type": "boolean",
|
2321
|
-
"description": "
|
2321
|
+
"description": "Whether to lazy render util appeared, Default: `true`"
|
2322
2322
|
},
|
2323
2323
|
"van-popup/close-on-popstate": {
|
2324
2324
|
"type": "boolean",
|
2325
|
-
"description": "
|
2325
|
+
"description": "Whether to close when popstate, Default: `false`"
|
2326
2326
|
},
|
2327
2327
|
"van-popup/close-on-click-overlay": {
|
2328
2328
|
"type": "boolean",
|
2329
|
-
"description": "
|
2329
|
+
"description": "Whether to close when overlay is clicked, Default: `true`"
|
2330
2330
|
},
|
2331
2331
|
"van-popup/closeable": {
|
2332
2332
|
"type": "boolean",
|
2333
|
-
"description": "
|
2333
|
+
"description": "Whether to show close icon, Default: `false`"
|
2334
2334
|
},
|
2335
2335
|
"van-popup/close-icon": {
|
2336
2336
|
"type": "string",
|
2337
|
-
"description": "
|
2337
|
+
"description": "Close icon name, Default: `cross`"
|
2338
2338
|
},
|
2339
2339
|
"van-popup/close-icon-position": {
|
2340
2340
|
"type": "string",
|
2341
|
-
"description": "
|
2341
|
+
"description": "Close Icon Position,can be set to `top-left` `bottom-left` `bottom-right`, Default: `top-right`"
|
2342
2342
|
},
|
2343
2343
|
"van-popup/before-close": {
|
2344
2344
|
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
2345
|
-
"description": "
|
2345
|
+
"description": "Callback function before close, Default: -"
|
2346
2346
|
},
|
2347
2347
|
"van-popup/icon-prefix": {
|
2348
2348
|
"type": "string",
|
2349
|
-
"description": "
|
2349
|
+
"description": "Icon className prefix, Default: `van-icon`"
|
2350
2350
|
},
|
2351
2351
|
"van-popup/transition": {
|
2352
2352
|
"type": "string",
|
2353
|
-
"description": "
|
2353
|
+
"description": "Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition), Default: -"
|
2354
2354
|
},
|
2355
2355
|
"van-popup/transition-appear": {
|
2356
2356
|
"type": "boolean",
|
2357
|
-
"description": "
|
2357
|
+
"description": "Whether to apply transition on initial render, Default: `false`"
|
2358
2358
|
},
|
2359
2359
|
"van-popup/teleport": {
|
2360
2360
|
"type": "string | Element",
|
2361
|
-
"description": "
|
2361
|
+
"description": "Specifies a target element where Popup will be mounted, Default: -"
|
2362
2362
|
},
|
2363
2363
|
"van-popup/safe-area-inset-bottom": {
|
2364
2364
|
"type": "boolean",
|
2365
|
-
"description": "
|
2365
|
+
"description": "Whether to enable bottom safe area adaptation, Default: `false`"
|
2366
2366
|
},
|
2367
2367
|
"van-progress/percentage": {
|
2368
2368
|
"type": "number | string",
|
2369
|
-
"description": "
|
2369
|
+
"description": "Percentage, Default: `0`"
|
2370
2370
|
},
|
2371
2371
|
"van-progress/stroke-width": {
|
2372
2372
|
"type": "number | string",
|
2373
|
-
"description": "
|
2373
|
+
"description": "Stroke width, Default: `4px`"
|
2374
2374
|
},
|
2375
2375
|
"van-progress/color": {
|
2376
2376
|
"type": "string",
|
2377
|
-
"description": "
|
2377
|
+
"description": "Color, Default: `#1989fa`"
|
2378
2378
|
},
|
2379
2379
|
"van-progress/track-color": {
|
2380
2380
|
"type": "string",
|
2381
|
-
"description": "
|
2381
|
+
"description": "Track color, Default: `#e5e5e5`"
|
2382
2382
|
},
|
2383
2383
|
"van-progress/pivot-text": {
|
2384
2384
|
"type": "string",
|
2385
|
-
"description": "
|
2385
|
+
"description": "Pivot text, Default: percentage"
|
2386
2386
|
},
|
2387
2387
|
"van-progress/pivot-color": {
|
2388
2388
|
"type": "string",
|
2389
|
-
"description": "
|
2389
|
+
"description": "Pivot text background color, Default: inherit progress color"
|
2390
2390
|
},
|
2391
2391
|
"van-progress/text-color": {
|
2392
2392
|
"type": "string",
|
2393
|
-
"description": "
|
2393
|
+
"description": "Pivot text color, Default: `white`"
|
2394
2394
|
},
|
2395
2395
|
"van-progress/inactive": {
|
2396
2396
|
"type": "boolean",
|
2397
|
-
"description": "
|
2397
|
+
"description": "Whether to be gray, Default: `false`"
|
2398
2398
|
},
|
2399
2399
|
"van-progress/show-pivot": {
|
2400
2400
|
"type": "boolean",
|
2401
|
-
"description": "
|
2401
|
+
"description": "Whether to show text, Default: `true`"
|
2402
2402
|
},
|
2403
2403
|
"van-pull-refresh/v-model": {
|
2404
2404
|
"type": "boolean",
|
2405
|
-
"description": "
|
2405
|
+
"description": "Loading status, Default: -"
|
2406
2406
|
},
|
2407
2407
|
"van-pull-refresh/pulling-text": {
|
2408
2408
|
"type": "string",
|
2409
|
-
"description": "
|
2409
|
+
"description": "Text to show when pulling, Default: `Pull to refresh...`"
|
2410
2410
|
},
|
2411
2411
|
"van-pull-refresh/loosing-text": {
|
2412
2412
|
"type": "string",
|
2413
|
-
"description": "
|
2413
|
+
"description": "Text to show when loosing, Default: `Loose to refresh...`"
|
2414
2414
|
},
|
2415
2415
|
"van-pull-refresh/loading-text": {
|
2416
2416
|
"type": "string",
|
2417
|
-
"description": "
|
2417
|
+
"description": "Text to show when loading, Default: `Loading...`"
|
2418
2418
|
},
|
2419
2419
|
"van-pull-refresh/success-text": {
|
2420
2420
|
"type": "string",
|
2421
|
-
"description": "
|
2421
|
+
"description": "Text to show when loading success, Default: -"
|
2422
2422
|
},
|
2423
2423
|
"van-pull-refresh/success-duration": {
|
2424
2424
|
"type": "number | string",
|
2425
|
-
"description": "
|
2425
|
+
"description": "Success text display duration(ms), Default: `500`"
|
2426
2426
|
},
|
2427
2427
|
"van-pull-refresh/animation-duration": {
|
2428
2428
|
"type": "number | string",
|
2429
|
-
"description": "
|
2429
|
+
"description": "Animation duration, Default: `300`"
|
2430
2430
|
},
|
2431
2431
|
"van-pull-refresh/head-height": {
|
2432
2432
|
"type": "number | string",
|
2433
|
-
"description": "
|
2433
|
+
"description": "Height of head, Default: `50`"
|
2434
2434
|
},
|
2435
2435
|
"van-pull-refresh/pull-distance": {
|
2436
2436
|
"type": "number | string",
|
2437
|
-
"description": "
|
2437
|
+
"description": "The distance to trigger the pull refresh, Default: same as `head-height`"
|
2438
2438
|
},
|
2439
2439
|
"van-pull-refresh/disabled": {
|
2440
2440
|
"type": "boolean",
|
2441
|
-
"description": "
|
2441
|
+
"description": "Whether to disable pull refresh, Default: `false`"
|
2442
2442
|
},
|
2443
2443
|
"van-radio/name": {
|
2444
2444
|
"type": "any",
|
2445
|
-
"description": "
|
2445
|
+
"description": "Radio name, Default: -"
|
2446
2446
|
},
|
2447
2447
|
"van-radio/shape": {
|
2448
2448
|
"type": "string",
|
2449
|
-
"description": "
|
2449
|
+
"description": "Can be set to `square`, Default: `round`"
|
2450
2450
|
},
|
2451
2451
|
"van-radio/disabled": {
|
2452
2452
|
"type": "boolean",
|
2453
|
-
"description": "
|
2453
|
+
"description": "Whether to disable radio, Default: `false`"
|
2454
2454
|
},
|
2455
2455
|
"van-radio/label-disabled": {
|
2456
2456
|
"type": "boolean",
|
2457
|
-
"description": "
|
2457
|
+
"description": "Whether to disable label click, Default: `false`"
|
2458
2458
|
},
|
2459
2459
|
"van-radio/label-position": {
|
2460
2460
|
"type": "string",
|
2461
|
-
"description": "
|
2461
|
+
"description": "Can be set to `left`, Default: `right`"
|
2462
2462
|
},
|
2463
2463
|
"van-radio/icon-size": {
|
2464
2464
|
"type": "number | string",
|
2465
|
-
"description": "
|
2465
|
+
"description": "Icon size, Default: `20px`"
|
2466
2466
|
},
|
2467
2467
|
"van-radio/checked-color": {
|
2468
2468
|
"type": "string",
|
2469
|
-
"description": "
|
2469
|
+
"description": "Checked color, Default: `#1989fa`"
|
2470
2470
|
},
|
2471
2471
|
"van-radio-group/v-model": {
|
2472
2472
|
"type": "any",
|
2473
|
-
"description": "
|
2473
|
+
"description": "Name of checked radio, Default: -"
|
2474
2474
|
},
|
2475
2475
|
"van-radio-group/disabled": {
|
2476
2476
|
"type": "boolean",
|
2477
|
-
"description": "
|
2477
|
+
"description": "Disable all radios, Default: `false`"
|
2478
2478
|
},
|
2479
2479
|
"van-radio-group/direction": {
|
2480
2480
|
"type": "string",
|
2481
|
-
"description": "
|
2481
|
+
"description": "Direction, can be set to `horizontal`, Default: `vertical`"
|
2482
2482
|
},
|
2483
2483
|
"van-radio-group/icon-size": {
|
2484
2484
|
"type": "number | string",
|
2485
|
-
"description": "
|
2485
|
+
"description": "Icon size of all radios, Default: `20px`"
|
2486
2486
|
},
|
2487
2487
|
"van-radio-group/checked-color": {
|
2488
2488
|
"type": "string",
|
2489
|
-
"description": "
|
2489
|
+
"description": "Checked color of all radios, Default: `#1989fa`"
|
2490
2490
|
},
|
2491
2491
|
"van-rate/v-model": {
|
2492
2492
|
"type": "number",
|
2493
|
-
"description": "
|
2493
|
+
"description": "Current rate, Default: -"
|
2494
2494
|
},
|
2495
2495
|
"van-rate/count": {
|
2496
2496
|
"type": "number | string",
|
2497
|
-
"description": "
|
2497
|
+
"description": "Count, Default: `5`"
|
2498
2498
|
},
|
2499
2499
|
"van-rate/size": {
|
2500
2500
|
"type": "number | string",
|
2501
|
-
"description": "
|
2501
|
+
"description": "Icon size, Default: `20px`"
|
2502
2502
|
},
|
2503
2503
|
"van-rate/gutter": {
|
2504
2504
|
"type": "number | string",
|
2505
|
-
"description": "
|
2505
|
+
"description": "Icon gutter, Default: `4px`"
|
2506
2506
|
},
|
2507
2507
|
"van-rate/color": {
|
2508
2508
|
"type": "string",
|
2509
|
-
"description": "
|
2509
|
+
"description": "Selected color, Default: `#ee0a24`"
|
2510
2510
|
},
|
2511
2511
|
"van-rate/void-color": {
|
2512
2512
|
"type": "string",
|
2513
|
-
"description": "
|
2513
|
+
"description": "Void color, Default: `#c8c9cc`"
|
2514
2514
|
},
|
2515
2515
|
"van-rate/disabled-color": {
|
2516
2516
|
"type": "string",
|
2517
|
-
"description": "
|
2517
|
+
"description": "Disabled color, Default: `#c8c9cc`"
|
2518
2518
|
},
|
2519
2519
|
"van-rate/icon": {
|
2520
2520
|
"type": "string",
|
2521
|
-
"description": "
|
2521
|
+
"description": "Selected icon, Default: `star`"
|
2522
2522
|
},
|
2523
2523
|
"van-rate/void-icon": {
|
2524
2524
|
"type": "string",
|
2525
|
-
"description": "
|
2525
|
+
"description": "Void icon, Default: `star-o`"
|
2526
2526
|
},
|
2527
2527
|
"van-rate/icon-prefix": {
|
2528
2528
|
"type": "string",
|
2529
|
-
"description": "
|
2529
|
+
"description": "Icon className prefix, Default: `van-icon`"
|
2530
2530
|
},
|
2531
2531
|
"van-rate/allow-half": {
|
2532
2532
|
"type": "boolean",
|
2533
|
-
"description": "
|
2533
|
+
"description": "Whether to allow half star, Default: `false`"
|
2534
2534
|
},
|
2535
2535
|
"van-rate/readonly": {
|
2536
2536
|
"type": "boolean",
|
2537
|
-
"description": "
|
2537
|
+
"description": "Whether to be readonly, Default: `false`"
|
2538
2538
|
},
|
2539
2539
|
"van-rate/disabled": {
|
2540
2540
|
"type": "boolean",
|
2541
|
-
"description": "
|
2541
|
+
"description": "Whether to disable rate, Default: `false`"
|
2542
2542
|
},
|
2543
2543
|
"van-rate/touchable": {
|
2544
2544
|
"type": "boolean",
|
2545
|
-
"description": "
|
2545
|
+
"description": "Whether to allow select rate by touch gesture, Default: `true`"
|
2546
2546
|
},
|
2547
2547
|
"van-search/v-model": {
|
2548
2548
|
"type": "number | string",
|
2549
|
-
"description": "
|
2549
|
+
"description": "Input value, Default: -"
|
2550
2550
|
},
|
2551
2551
|
"van-search/label": {
|
2552
2552
|
"type": "string",
|
2553
|
-
"description": "
|
2553
|
+
"description": "Left side label, Default: -"
|
2554
2554
|
},
|
2555
2555
|
"van-search/name": {
|
2556
2556
|
"type": "string",
|
2557
|
-
"description": "
|
2557
|
+
"description": "As the identifier when submitting the form, Default: -"
|
2558
2558
|
},
|
2559
2559
|
"van-search/shape": {
|
2560
2560
|
"type": "string",
|
2561
|
-
"description": "
|
2561
|
+
"description": "Shape of field, can be set to `round`, Default: `square`"
|
2562
2562
|
},
|
2563
2563
|
"van-search/id": {
|
2564
2564
|
"type": "string",
|
2565
|
-
"description": "
|
2565
|
+
"description": "Input id, the for attribute of the label also will be set, Default: `van-search-n-input`"
|
2566
2566
|
},
|
2567
2567
|
"van-search/background": {
|
2568
2568
|
"type": "string",
|
2569
|
-
"description": "
|
2569
|
+
"description": "Background color of field, Default: `#f2f2f2`"
|
2570
2570
|
},
|
2571
2571
|
"van-search/maxlength": {
|
2572
2572
|
"type": "number | string",
|
2573
|
-
"description": "
|
2573
|
+
"description": "Max length of value, Default: -"
|
2574
2574
|
},
|
2575
2575
|
"van-search/placeholder": {
|
2576
2576
|
"type": "string",
|
2577
|
-
"description": "
|
2577
|
+
"description": "Placeholder, Default: -"
|
2578
2578
|
},
|
2579
2579
|
"van-search/clearable": {
|
2580
2580
|
"type": "boolean",
|
2581
|
-
"description": "
|
2581
|
+
"description": "Whether to be clearable, Default: `true`"
|
2582
2582
|
},
|
2583
2583
|
"van-search/clear-icon": {
|
2584
2584
|
"type": "string",
|
2585
|
-
"description": "
|
2585
|
+
"description": "Clear icon name, Default: `clear`"
|
2586
2586
|
},
|
2587
2587
|
"van-search/clear-trigger": {
|
2588
2588
|
"type": "string",
|
2589
|
-
"description": "
|
2589
|
+
"description": "When to display the clear icon, `always` means to display the icon when value is not empty, `focus` means to display the icon when input is focused, Default: `focus`"
|
2590
2590
|
},
|
2591
2591
|
"van-search/autofocus": {
|
2592
2592
|
"type": "boolean",
|
2593
|
-
"description": "
|
2593
|
+
"description": "Whether to auto focus, unsupported in iOS, Default: `false`"
|
2594
2594
|
},
|
2595
2595
|
"van-search/show-action": {
|
2596
2596
|
"type": "boolean",
|
2597
|
-
"description": "
|
2597
|
+
"description": "Whether to show right action button, Default: `false`"
|
2598
2598
|
},
|
2599
2599
|
"van-search/action-text": {
|
2600
2600
|
"type": "boolean",
|
2601
|
-
"description": "
|
2601
|
+
"description": "Text of action button, Default: `Cancel`"
|
2602
2602
|
},
|
2603
2603
|
"van-search/disabled": {
|
2604
2604
|
"type": "boolean",
|
2605
|
-
"description": "
|
2605
|
+
"description": "Whether to disable field, Default: `false`"
|
2606
2606
|
},
|
2607
2607
|
"van-search/readonly": {
|
2608
2608
|
"type": "boolean",
|
2609
|
-
"description": "
|
2609
|
+
"description": "Whether to be readonly, Default: `false`"
|
2610
2610
|
},
|
2611
2611
|
"van-search/error": {
|
2612
2612
|
"type": "boolean",
|
2613
|
-
"description": "
|
2613
|
+
"description": "Whether to mark the input content in red, Default: `false`"
|
2614
2614
|
},
|
2615
2615
|
"van-search/error-message": {
|
2616
2616
|
"type": "string",
|
2617
|
-
"description": "
|
2617
|
+
"description": "Error message, Default: -"
|
2618
2618
|
},
|
2619
2619
|
"van-search/formatter": {
|
2620
2620
|
"type": "(val: string) => string",
|
2621
|
-
"description": "
|
2621
|
+
"description": "Input value formatter, Default: -"
|
2622
2622
|
},
|
2623
2623
|
"van-search/format-trigger": {
|
2624
2624
|
"type": "string",
|
2625
|
-
"description": "
|
2625
|
+
"description": "When to format value,can be set to `onBlur`, Default: `onChange`"
|
2626
2626
|
},
|
2627
2627
|
"van-search/input-align": {
|
2628
2628
|
"type": "string",
|
2629
|
-
"description": "
|
2629
|
+
"description": "Text align of field, can be set to `center` `right`, Default: `left`"
|
2630
2630
|
},
|
2631
2631
|
"van-search/left-icon": {
|
2632
2632
|
"type": "string",
|
2633
|
-
"description": "
|
2633
|
+
"description": "Left icon name, Default: `search`"
|
2634
2634
|
},
|
2635
2635
|
"van-search/right-icon": {
|
2636
2636
|
"type": "string",
|
2637
|
-
"description": "
|
2637
|
+
"description": "Right icon name, Default: -"
|
2638
2638
|
},
|
2639
2639
|
"van-search/autocomplete": {
|
2640
2640
|
"type": "string",
|
2641
|
-
"description": "
|
2641
|
+
"description": "[autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) attribute of native input element, Default: -"
|
2642
2642
|
},
|
2643
2643
|
"van-share-sheet/v-model:show": {
|
2644
2644
|
"type": "boolean",
|
2645
|
-
"description": "
|
2645
|
+
"description": "Whether to show ShareSheet, Default: `false`"
|
2646
2646
|
},
|
2647
2647
|
"van-share-sheet/options": {
|
2648
2648
|
"type": "Option[]",
|
2649
|
-
"description": "
|
2649
|
+
"description": "Share options, Default: `[]`"
|
2650
2650
|
},
|
2651
2651
|
"van-share-sheet/title": {
|
2652
2652
|
"type": "string",
|
2653
|
-
"description": "
|
2653
|
+
"description": "Title, Default: -"
|
2654
2654
|
},
|
2655
2655
|
"van-share-sheet/cancel-text": {
|
2656
2656
|
"type": "string",
|
2657
|
-
"description": "
|
2657
|
+
"description": "Cancel button text, Default: `'Cancel'`"
|
2658
2658
|
},
|
2659
2659
|
"van-share-sheet/description": {
|
2660
2660
|
"type": "string",
|
2661
|
-
"description": "
|
2661
|
+
"description": "Description, Default: -"
|
2662
2662
|
},
|
2663
2663
|
"van-share-sheet/duration": {
|
2664
2664
|
"type": "number | string",
|
2665
|
-
"description": "
|
2665
|
+
"description": "Transition duration, unit second, Default: `0.3`"
|
2666
2666
|
},
|
2667
2667
|
"van-share-sheet/round": {
|
2668
2668
|
"type": "boolean",
|
2669
|
-
"description": "
|
2669
|
+
"description": "Whether to show round corner, Default: `true`"
|
2670
2670
|
},
|
2671
2671
|
"van-share-sheet/overlay": {
|
2672
2672
|
"type": "boolean",
|
2673
|
-
"description": "
|
2673
|
+
"description": "Whether to show overlay, Default: `true`"
|
2674
2674
|
},
|
2675
2675
|
"van-share-sheet/overlay-class": {
|
2676
2676
|
"type": "string | Array \\",
|
2677
|
-
"description": "
|
2677
|
+
"description": "Custom overlay class, Default: object_",
|
2678
2678
|
"options": [
|
2679
2679
|
"-"
|
2680
2680
|
]
|
2681
2681
|
},
|
2682
2682
|
"van-share-sheet/overlay-style": {
|
2683
2683
|
"type": "object",
|
2684
|
-
"description": "
|
2684
|
+
"description": "Custom overlay style, Default: -"
|
2685
2685
|
},
|
2686
2686
|
"van-share-sheet/lock-scroll": {
|
2687
2687
|
"type": "boolean",
|
2688
|
-
"description": "
|
2688
|
+
"description": "Whether to lock background scroll, Default: `true`"
|
2689
2689
|
},
|
2690
2690
|
"van-share-sheet/lazy-render": {
|
2691
2691
|
"type": "boolean",
|
2692
|
-
"description": "
|
2692
|
+
"description": "Whether to lazy render util appeared, Default: `true`"
|
2693
2693
|
},
|
2694
2694
|
"van-share-sheet/close-on-popstate": {
|
2695
2695
|
"type": "boolean",
|
2696
|
-
"description": "
|
2696
|
+
"description": "Whether to close when popstate, Default: `true`"
|
2697
2697
|
},
|
2698
2698
|
"van-share-sheet/close-on-click-overlay": {
|
2699
2699
|
"type": "boolean",
|
2700
|
-
"description": "
|
2700
|
+
"description": "Whether to close when overlay is clicked, Default: `true`"
|
2701
2701
|
},
|
2702
2702
|
"van-share-sheet/safe-area-inset-bottom": {
|
2703
2703
|
"type": "boolean",
|
2704
|
-
"description": "
|
2704
|
+
"description": "Whether to enable bottom safe area adaptation, Default: `true`"
|
2705
2705
|
},
|
2706
2706
|
"van-share-sheet/teleport": {
|
2707
2707
|
"type": "string | Element",
|
2708
|
-
"description": "
|
2708
|
+
"description": "Specifies a target element where ShareSheet will be mounted, Default: -"
|
2709
2709
|
},
|
2710
2710
|
"van-share-sheet/before-close": {
|
2711
2711
|
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
2712
|
-
"description": "
|
2712
|
+
"description": "Callback function before close, Default: -"
|
2713
2713
|
},
|
2714
2714
|
"van-sidebar/v-model": {
|
2715
2715
|
"type": "number | string",
|
2716
|
-
"description": "
|
2716
|
+
"description": "Index of chosen item, Default: `0`"
|
2717
2717
|
},
|
2718
2718
|
"van-sidebar-item/title": {
|
2719
2719
|
"type": "string",
|
2720
|
-
"description": "
|
2720
|
+
"description": "Content, Default: `''`"
|
2721
2721
|
},
|
2722
2722
|
"van-sidebar-item/dot": {
|
2723
2723
|
"type": "boolean",
|
2724
|
-
"description": "
|
2724
|
+
"description": "Whether to show red dot, Default: `false`"
|
2725
2725
|
},
|
2726
2726
|
"van-sidebar-item/badge": {
|
2727
2727
|
"type": "number | string",
|
2728
|
-
"description": "
|
2728
|
+
"description": "Content of the badge, Default: `''`"
|
2729
2729
|
},
|
2730
2730
|
"van-sidebar-item/badge-props": {
|
2731
2731
|
"type": "BadgeProps",
|
2732
|
-
"description": "
|
2732
|
+
"description": "Props of Badge,see [Badge - props](#/en-US/badge#props), Default: -"
|
2733
2733
|
},
|
2734
2734
|
"van-sidebar-item/disabled": {
|
2735
2735
|
"type": "boolean",
|
2736
|
-
"description": "
|
2736
|
+
"description": "Whether to be disabled, Default: `false`"
|
2737
2737
|
},
|
2738
2738
|
"van-sidebar-item/url": {
|
2739
2739
|
"type": "string",
|
2740
|
-
"description": "
|
2740
|
+
"description": "Link, Default: -"
|
2741
2741
|
},
|
2742
2742
|
"van-sidebar-item/to": {
|
2743
2743
|
"type": "string | object",
|
2744
|
-
"description": "
|
2744
|
+
"description": "Target route of the link, same as to of vue-router, Default: -"
|
2745
2745
|
},
|
2746
2746
|
"van-sidebar-item/replace": {
|
2747
2747
|
"type": "boolean",
|
2748
|
-
"description": "
|
2748
|
+
"description": "If true, the navigation will not leave a history record, Default: `false`"
|
2749
2749
|
},
|
2750
2750
|
"van-skeleton/row": {
|
2751
2751
|
"type": "number | string",
|
2752
|
-
"description": "
|
2752
|
+
"description": "Row count, Default: `0`"
|
2753
2753
|
},
|
2754
2754
|
"van-skeleton/row-width": {
|
2755
2755
|
"type": "number | string \\",
|
2756
|
-
"description": "
|
2756
|
+
"description": "Row width, can be array, Default: <br>(number \\",
|
2757
2757
|
"options": [
|
2758
2758
|
"string)[]_"
|
2759
2759
|
]
|
2760
2760
|
},
|
2761
2761
|
"van-skeleton/title": {
|
2762
2762
|
"type": "boolean",
|
2763
|
-
"description": "
|
2763
|
+
"description": "Whether to show title placeholder, Default: `false`"
|
2764
2764
|
},
|
2765
2765
|
"van-skeleton/avatar": {
|
2766
2766
|
"type": "boolean",
|
2767
|
-
"description": "
|
2767
|
+
"description": "Whether to show avatar placeholder, Default: `false`"
|
2768
2768
|
},
|
2769
2769
|
"van-skeleton/loading": {
|
2770
2770
|
"type": "boolean",
|
2771
|
-
"description": "
|
2771
|
+
"description": "Whether to show skeleton,pass `false` to show child component, Default: `true`"
|
2772
2772
|
},
|
2773
2773
|
"van-skeleton/animate": {
|
2774
2774
|
"type": "boolean",
|
2775
|
-
"description": "
|
2775
|
+
"description": "Whether to enable animation, Default: `true`"
|
2776
2776
|
},
|
2777
2777
|
"van-skeleton/round": {
|
2778
2778
|
"type": "boolean",
|
2779
|
-
"description": "
|
2779
|
+
"description": "Whether to show round title and row, Default: `false`"
|
2780
2780
|
},
|
2781
2781
|
"van-skeleton/title-width": {
|
2782
2782
|
"type": "number | string",
|
2783
|
-
"description": "
|
2783
|
+
"description": "Title width, Default: `40%`"
|
2784
2784
|
},
|
2785
2785
|
"van-skeleton/avatar-size": {
|
2786
2786
|
"type": "number | string",
|
2787
|
-
"description": "
|
2787
|
+
"description": "Size of avatar placeholder, Default: `32px`"
|
2788
2788
|
},
|
2789
2789
|
"van-skeleton/avatar-shape": {
|
2790
2790
|
"type": "string",
|
2791
|
-
"description": "
|
2791
|
+
"description": "Shape of avatar placeholder,can be set to `square`, Default: `round`"
|
2792
2792
|
},
|
2793
2793
|
"van-slider/v-model": {
|
2794
2794
|
"type": "number | [number, number]",
|
2795
|
-
"description": "
|
2795
|
+
"description": "Current value, Default: `0`"
|
2796
2796
|
},
|
2797
2797
|
"van-slider/max": {
|
2798
2798
|
"type": "number | string",
|
2799
|
-
"description": "
|
2799
|
+
"description": "Max value, Default: `100`"
|
2800
2800
|
},
|
2801
2801
|
"van-slider/min": {
|
2802
2802
|
"type": "number | string",
|
2803
|
-
"description": "
|
2803
|
+
"description": "Min value, Default: `0`"
|
2804
2804
|
},
|
2805
2805
|
"van-slider/step": {
|
2806
2806
|
"type": "number | string",
|
2807
|
-
"description": "
|
2807
|
+
"description": "Step size, Default: `1`"
|
2808
2808
|
},
|
2809
2809
|
"van-slider/bar-height": {
|
2810
2810
|
"type": "number | string",
|
2811
|
-
"description": "
|
2811
|
+
"description": "Height of bar, Default: `2px`"
|
2812
2812
|
},
|
2813
2813
|
"van-slider/button-size": {
|
2814
2814
|
"type": "number | string",
|
2815
|
-
"description": "
|
2815
|
+
"description": "Button size, Default: `24px`"
|
2816
2816
|
},
|
2817
2817
|
"van-slider/active-color": {
|
2818
2818
|
"type": "string",
|
2819
|
-
"description": "
|
2819
|
+
"description": "Active color of bar, Default: `#1989fa`"
|
2820
2820
|
},
|
2821
2821
|
"van-slider/inactive-color": {
|
2822
2822
|
"type": "string",
|
2823
|
-
"description": "
|
2823
|
+
"description": "Inactive color of bar, Default: `#e5e5e5`"
|
2824
2824
|
},
|
2825
2825
|
"van-slider/range": {
|
2826
2826
|
"type": "boolean",
|
2827
|
-
"description": "
|
2827
|
+
"description": "Whether to enable dual thumb mode, Default: `false`"
|
2828
2828
|
},
|
2829
2829
|
"van-slider/reverse": {
|
2830
2830
|
"type": "`false`",
|
2831
|
-
"description": "
|
2831
|
+
"description": "Whether to reverse slider, Default: undefined"
|
2832
2832
|
},
|
2833
2833
|
"van-slider/disabled": {
|
2834
2834
|
"type": "boolean",
|
2835
|
-
"description": "
|
2835
|
+
"description": "Whether to disable slider, Default: `false`"
|
2836
2836
|
},
|
2837
2837
|
"van-slider/readonly": {
|
2838
2838
|
"type": "boolean",
|
2839
|
-
"description": "
|
2839
|
+
"description": "Whether to be readonly, Default: `false`"
|
2840
2840
|
},
|
2841
2841
|
"van-slider/vertical": {
|
2842
2842
|
"type": "boolean",
|
2843
|
-
"description": "
|
2843
|
+
"description": "Whether to display slider vertically, Default: `false`"
|
2844
2844
|
},
|
2845
2845
|
"van-stepper/v-model": {
|
2846
2846
|
"type": "number | string",
|
2847
|
-
"description": "
|
2847
|
+
"description": "Current value, Default: -"
|
2848
2848
|
},
|
2849
2849
|
"van-stepper/min": {
|
2850
2850
|
"type": "number | string",
|
2851
|
-
"description": "
|
2851
|
+
"description": "Min value, Default: `1`"
|
2852
2852
|
},
|
2853
2853
|
"van-stepper/max": {
|
2854
2854
|
"type": "number | string",
|
2855
|
-
"description": "
|
2855
|
+
"description": "Max value, Default: -"
|
2856
2856
|
},
|
2857
2857
|
"van-stepper/default-value": {
|
2858
2858
|
"type": "number | string",
|
2859
|
-
"description": "
|
2859
|
+
"description": "Default value, valid when v-model is empty, Default: `1`"
|
2860
2860
|
},
|
2861
2861
|
"van-stepper/step": {
|
2862
2862
|
"type": "number | string",
|
2863
|
-
"description": "
|
2863
|
+
"description": "Value change step, Default: `1`"
|
2864
2864
|
},
|
2865
2865
|
"van-stepper/name": {
|
2866
2866
|
"type": "number | string",
|
2867
|
-
"description": "
|
2867
|
+
"description": "Stepper name, Default: -"
|
2868
2868
|
},
|
2869
2869
|
"van-stepper/input-width": {
|
2870
2870
|
"type": "number | string",
|
2871
|
-
"description": "
|
2871
|
+
"description": "Input width, Default: `32px`"
|
2872
2872
|
},
|
2873
2873
|
"van-stepper/button-size": {
|
2874
2874
|
"type": "number | string",
|
2875
|
-
"description": "
|
2875
|
+
"description": "Button size, Default: `28px`"
|
2876
2876
|
},
|
2877
2877
|
"van-stepper/decimal-length": {
|
2878
2878
|
"type": "number | string",
|
2879
|
-
"description": "
|
2879
|
+
"description": "Decimal length, Default: -"
|
2880
2880
|
},
|
2881
2881
|
"van-stepper/theme": {
|
2882
2882
|
"type": "string",
|
2883
|
-
"description": "
|
2883
|
+
"description": "Theme, can be set to `round`, Default: -"
|
2884
2884
|
},
|
2885
2885
|
"van-stepper/placeholder": {
|
2886
2886
|
"type": "string",
|
2887
|
-
"description": "
|
2887
|
+
"description": "Input placeholder, Default: -"
|
2888
2888
|
},
|
2889
2889
|
"van-stepper/integer": {
|
2890
2890
|
"type": "boolean",
|
2891
|
-
"description": "
|
2891
|
+
"description": "Whether to allow only integers, Default: `false`"
|
2892
2892
|
},
|
2893
2893
|
"van-stepper/disabled": {
|
2894
2894
|
"type": "boolean",
|
2895
|
-
"description": "
|
2895
|
+
"description": "Whether to disable value change, Default: `false`"
|
2896
2896
|
},
|
2897
2897
|
"van-stepper/disable-plus": {
|
2898
2898
|
"type": "boolean",
|
2899
|
-
"description": "
|
2899
|
+
"description": "Whether to disable plus button, Default: `false`"
|
2900
2900
|
},
|
2901
2901
|
"van-stepper/disable-minus": {
|
2902
2902
|
"type": "boolean",
|
2903
|
-
"description": "
|
2903
|
+
"description": "Whether to disable minus button, Default: `false`"
|
2904
2904
|
},
|
2905
2905
|
"van-stepper/disable-input": {
|
2906
2906
|
"type": "boolean",
|
2907
|
-
"description": "
|
2907
|
+
"description": "Whether to disable input, Default: `false`"
|
2908
2908
|
},
|
2909
2909
|
"van-stepper/before-change": {
|
2910
2910
|
"type": "(value: number | string) => boolean \\",
|
2911
|
-
"description": "
|
2911
|
+
"description": "Callback function before changing,return `false` to prevent change,support return Promise, Default: Promise\\<boolean\\>_",
|
2912
2912
|
"options": [
|
2913
2913
|
"false"
|
2914
2914
|
]
|
2915
2915
|
},
|
2916
2916
|
"van-stepper/show-plus": {
|
2917
2917
|
"type": "boolean",
|
2918
|
-
"description": "
|
2918
|
+
"description": "Whether to show plus button, Default: `true`"
|
2919
2919
|
},
|
2920
2920
|
"van-stepper/show-minus": {
|
2921
2921
|
"type": "boolean",
|
2922
|
-
"description": "
|
2922
|
+
"description": "Whether to show minus button, Default: `true`"
|
2923
2923
|
},
|
2924
2924
|
"van-stepper/show-input": {
|
2925
2925
|
"type": "boolean",
|
2926
|
-
"description": "
|
2926
|
+
"description": "Whether to show input, Default: `true`"
|
2927
2927
|
},
|
2928
2928
|
"van-stepper/long-press": {
|
2929
2929
|
"type": "boolean",
|
2930
|
-
"description": "
|
2930
|
+
"description": "Whether to allow long press, Default: `true`"
|
2931
2931
|
},
|
2932
2932
|
"van-stepper/allow-empty": {
|
2933
2933
|
"type": "boolean",
|
2934
|
-
"description": "
|
2934
|
+
"description": "Whether to allow the input to be empty, Default: `false`"
|
2935
2935
|
},
|
2936
2936
|
"van-steps/active": {
|
2937
2937
|
"type": "number | string",
|
2938
|
-
"description": "
|
2938
|
+
"description": "Active step, Default: `0`"
|
2939
2939
|
},
|
2940
2940
|
"van-steps/direction": {
|
2941
2941
|
"type": "string",
|
2942
|
-
"description": "
|
2942
|
+
"description": "Can be set to `vertical`, Default: `horizontal`"
|
2943
2943
|
},
|
2944
|
-
"van-steps/active-
|
2944
|
+
"van-steps/active-color": {
|
2945
2945
|
"type": "string",
|
2946
|
-
"description": "
|
2946
|
+
"description": "Active step color, Default: `#07c160`"
|
2947
2947
|
},
|
2948
|
-
"van-steps/inactive-
|
2948
|
+
"van-steps/inactive-color": {
|
2949
2949
|
"type": "string",
|
2950
|
-
"description": "
|
2950
|
+
"description": "Inactive step color, Default: `#969799`"
|
2951
2951
|
},
|
2952
|
-
"van-steps/
|
2952
|
+
"van-steps/active-icon": {
|
2953
2953
|
"type": "string",
|
2954
|
-
"description": "
|
2954
|
+
"description": "Active icon name, Default: `checked`"
|
2955
2955
|
},
|
2956
|
-
"van-steps/
|
2956
|
+
"van-steps/inactive-icon": {
|
2957
2957
|
"type": "string",
|
2958
|
-
"description": "
|
2958
|
+
"description": "Inactive icon name, Default: -"
|
2959
2959
|
},
|
2960
|
-
"van-steps/
|
2960
|
+
"van-steps/finish-icon": {
|
2961
2961
|
"type": "string",
|
2962
|
-
"description": "
|
2962
|
+
"description": "Finish icon name, Default: -"
|
2963
2963
|
},
|
2964
2964
|
"van-steps/icon-prefix": {
|
2965
2965
|
"type": "string",
|
2966
|
-
"description": "
|
2966
|
+
"description": "Icon className prefix, Default: `van-icon`"
|
2967
2967
|
},
|
2968
2968
|
"van-sticky/position": {
|
2969
2969
|
"type": "string",
|
2970
|
-
"description": "
|
2970
|
+
"description": "Offset position, can be set to `bottom`, Default: `top`"
|
2971
2971
|
},
|
2972
2972
|
"van-sticky/offset-top": {
|
2973
2973
|
"type": "number | string",
|
2974
|
-
"description": "
|
2974
|
+
"description": "Offset top, supports `px` `vw` `vh` `rem` unit, default `px`, Default: `0`"
|
2975
2975
|
},
|
2976
2976
|
"van-sticky/offset-bottom": {
|
2977
2977
|
"type": "number | string",
|
2978
|
-
"description": "
|
2978
|
+
"description": "Offset bottom, supports `px` `vw` `vh` `rem` unit, default `px`, Default: `0`"
|
2979
2979
|
},
|
2980
2980
|
"van-sticky/z-index": {
|
2981
2981
|
"type": "number | string",
|
2982
|
-
"description": "
|
2982
|
+
"description": "z-index when sticky, Default: `99`"
|
2983
2983
|
},
|
2984
2984
|
"van-sticky/container": {
|
2985
2985
|
"type": "Element",
|
2986
|
-
"description": "
|
2986
|
+
"description": "Container DOM, Default: -"
|
2987
2987
|
},
|
2988
2988
|
"van-submit-bar/price": {
|
2989
2989
|
"type": "number",
|
2990
|
-
"description": "
|
2990
|
+
"description": "Price, Default: -"
|
2991
2991
|
},
|
2992
2992
|
"van-submit-bar/decimal-length": {
|
2993
2993
|
"type": "number | string",
|
2994
|
-
"description": "
|
2994
|
+
"description": "Price decimal length, Default: `2`"
|
2995
2995
|
},
|
2996
2996
|
"van-submit-bar/label": {
|
2997
2997
|
"type": "string",
|
2998
|
-
"description": "
|
2998
|
+
"description": "Price left label, Default: `Total:`"
|
2999
2999
|
},
|
3000
3000
|
"van-submit-bar/suffix-label": {
|
3001
3001
|
"type": "string",
|
3002
|
-
"description": "
|
3002
|
+
"description": "Price right label, Default: -"
|
3003
3003
|
},
|
3004
3004
|
"van-submit-bar/text-align": {
|
3005
3005
|
"type": "string",
|
3006
|
-
"description": "
|
3006
|
+
"description": "Price label text align can be set to `left`, Default: `right`"
|
3007
3007
|
},
|
3008
3008
|
"van-submit-bar/button-text": {
|
3009
3009
|
"type": "string",
|
3010
|
-
"description": "
|
3010
|
+
"description": "Button text, Default: -"
|
3011
3011
|
},
|
3012
3012
|
"van-submit-bar/button-type": {
|
3013
3013
|
"type": "string",
|
3014
|
-
"description": "
|
3014
|
+
"description": "Button type, Default: `danger`"
|
3015
3015
|
},
|
3016
3016
|
"van-submit-bar/button-color": {
|
3017
3017
|
"type": "string",
|
3018
|
-
"description": "
|
3018
|
+
"description": "Button color, Default: -"
|
3019
3019
|
},
|
3020
3020
|
"van-submit-bar/tip": {
|
3021
3021
|
"type": "string",
|
3022
|
-
"description": "
|
3022
|
+
"description": "Tip, Default: -"
|
3023
3023
|
},
|
3024
3024
|
"van-submit-bar/tip-icon": {
|
3025
3025
|
"type": "string",
|
3026
|
-
"description": "
|
3026
|
+
"description": "Tip left icon, Default: -"
|
3027
3027
|
},
|
3028
3028
|
"van-submit-bar/currency": {
|
3029
3029
|
"type": "string",
|
3030
|
-
"description": "
|
3030
|
+
"description": "Currency symbol, Default: `¥`"
|
3031
3031
|
},
|
3032
3032
|
"van-submit-bar/disabled": {
|
3033
3033
|
"type": "boolean",
|
3034
|
-
"description": "
|
3034
|
+
"description": "Whether to disable button, Default: `false`"
|
3035
3035
|
},
|
3036
3036
|
"van-submit-bar/loading": {
|
3037
3037
|
"type": "boolean",
|
3038
|
-
"description": "
|
3038
|
+
"description": "Whether to show loading icon, Default: `false`"
|
3039
3039
|
},
|
3040
3040
|
"van-submit-bar/safe-area-inset-bottom": {
|
3041
3041
|
"type": "boolean",
|
3042
|
-
"description": "
|
3042
|
+
"description": "Whether to enable bottom safe area adaptation, Default: `true`"
|
3043
3043
|
},
|
3044
3044
|
"van-swipe/autoplay": {
|
3045
3045
|
"type": "number | string",
|
3046
|
-
"description": "
|
3046
|
+
"description": "Autoplay interval (ms), Default: -"
|
3047
3047
|
},
|
3048
3048
|
"van-swipe/duration": {
|
3049
3049
|
"type": "number | string",
|
3050
|
-
"description": "
|
3050
|
+
"description": "Animation duration (ms), Default: `500`"
|
3051
3051
|
},
|
3052
3052
|
"van-swipe/initial-swipe": {
|
3053
3053
|
"type": "number | string",
|
3054
|
-
"description": "
|
3054
|
+
"description": "Index of initial swipe, start from 0, Default: `0`"
|
3055
3055
|
},
|
3056
3056
|
"van-swipe/width": {
|
3057
3057
|
"type": "number | string",
|
3058
|
-
"description": "
|
3058
|
+
"description": "Width of swipe item, Default: `0`"
|
3059
3059
|
},
|
3060
3060
|
"van-swipe/height": {
|
3061
3061
|
"type": "number | string",
|
3062
|
-
"description": "
|
3062
|
+
"description": "Height of swipe item, Default: `0`"
|
3063
3063
|
},
|
3064
3064
|
"van-swipe/loop": {
|
3065
3065
|
"type": "boolean",
|
3066
|
-
"description": "
|
3066
|
+
"description": "Whether to enable loop, Default: `true`"
|
3067
3067
|
},
|
3068
3068
|
"van-swipe/show-indicators": {
|
3069
3069
|
"type": "boolean",
|
3070
|
-
"description": "
|
3070
|
+
"description": "Whether to show indicators, Default: `true`"
|
3071
3071
|
},
|
3072
3072
|
"van-swipe/vertical": {
|
3073
3073
|
"type": "boolean",
|
3074
|
-
"description": "
|
3074
|
+
"description": "Whether to be vertical Scrolling, Default: `false`"
|
3075
3075
|
},
|
3076
3076
|
"van-swipe/touchable": {
|
3077
3077
|
"type": "boolean",
|
3078
|
-
"description": "
|
3078
|
+
"description": "Whether to allow swipe by touch gesture, Default: `true`"
|
3079
3079
|
},
|
3080
3080
|
"van-swipe/stop-propagation": {
|
3081
3081
|
"type": "boolean",
|
3082
|
-
"description": "
|
3082
|
+
"description": "Whether to stop touchmove event propagation, Default: `false`"
|
3083
3083
|
},
|
3084
3084
|
"van-swipe/lazy-render": {
|
3085
3085
|
"type": "boolean",
|
3086
|
-
"description": "
|
3086
|
+
"description": "Whether to enable lazy render, Default: `false`"
|
3087
3087
|
},
|
3088
3088
|
"van-swipe/indicator-color": {
|
3089
3089
|
"type": "string",
|
3090
|
-
"description": "
|
3090
|
+
"description": "Indicator color, Default: `#1989fa`"
|
3091
3091
|
},
|
3092
3092
|
"van-swipe-cell/name": {
|
3093
3093
|
"type": "number | string",
|
3094
|
-
"description": "
|
3094
|
+
"description": "Identifier of SwipeCell, Default: -"
|
3095
3095
|
},
|
3096
3096
|
"van-swipe-cell/left-width": {
|
3097
3097
|
"type": "number | string",
|
3098
|
-
"description": "
|
3098
|
+
"description": "Width of the left swipe area, Default: `auto`"
|
3099
3099
|
},
|
3100
3100
|
"van-swipe-cell/right-width": {
|
3101
3101
|
"type": "number | string",
|
3102
|
-
"description": "
|
3102
|
+
"description": "Width of the right swipe area, Default: `auto`"
|
3103
3103
|
},
|
3104
3104
|
"van-swipe-cell/before-close": {
|
3105
3105
|
"type": "(args) => boolean | Promise\\<boolean\\>",
|
3106
|
-
"description": "
|
3106
|
+
"description": "Callback function before close, Default: -"
|
3107
3107
|
},
|
3108
3108
|
"van-swipe-cell/disabled": {
|
3109
3109
|
"type": "boolean",
|
3110
|
-
"description": "
|
3110
|
+
"description": "Whether to disabled swipe, Default: `false`"
|
3111
3111
|
},
|
3112
3112
|
"van-swipe-cell/stop-propagation": {
|
3113
3113
|
"type": "boolean",
|
3114
|
-
"description": "
|
3114
|
+
"description": "Whether to stop touchmove event propagation, Default: `false`"
|
3115
3115
|
},
|
3116
3116
|
"van-switch/v-model": {
|
3117
|
-
"type": "
|
3118
|
-
"description": "
|
3117
|
+
"type": "ActiveValue | InactiveValue",
|
3118
|
+
"description": "Check status of Switch, Default: `false`"
|
3119
3119
|
},
|
3120
3120
|
"van-switch/loading": {
|
3121
3121
|
"type": "boolean",
|
3122
|
-
"description": "
|
3122
|
+
"description": "Whether to show loading icon, Default: `false`"
|
3123
3123
|
},
|
3124
3124
|
"van-switch/disabled": {
|
3125
3125
|
"type": "boolean",
|
3126
|
-
"description": "
|
3126
|
+
"description": "Whether to disable switch, Default: `false`"
|
3127
3127
|
},
|
3128
3128
|
"van-switch/size": {
|
3129
3129
|
"type": "number | string",
|
3130
|
-
"description": "
|
3130
|
+
"description": "Size of switch, Default: `30px`"
|
3131
3131
|
},
|
3132
3132
|
"van-switch/active-color": {
|
3133
3133
|
"type": "string",
|
3134
|
-
"description": "
|
3134
|
+
"description": "Background color when active, Default: `#1989fa`"
|
3135
3135
|
},
|
3136
3136
|
"van-switch/inactive-color": {
|
3137
3137
|
"type": "string",
|
3138
|
-
"description": "
|
3138
|
+
"description": "Background color when inactive, Default: `white`"
|
3139
3139
|
},
|
3140
3140
|
"van-switch/active-value": {
|
3141
3141
|
"type": "any",
|
3142
|
-
"description": "
|
3142
|
+
"description": "Value when active, Default: `true`"
|
3143
3143
|
},
|
3144
3144
|
"van-switch/inactive-value": {
|
3145
3145
|
"type": "any",
|
3146
|
-
"description": "
|
3146
|
+
"description": "Value when inactive, Default: `false`"
|
3147
3147
|
},
|
3148
3148
|
"van-tabs/v-model:active": {
|
3149
3149
|
"type": "number | string",
|
3150
|
-
"description": "
|
3150
|
+
"description": "Index of active tab, Default: `0`"
|
3151
3151
|
},
|
3152
3152
|
"van-tabs/type": {
|
3153
3153
|
"type": "string",
|
3154
|
-
"description": "
|
3154
|
+
"description": "Can be set to `line` `card`, Default: `line`"
|
3155
3155
|
},
|
3156
3156
|
"van-tabs/color": {
|
3157
3157
|
"type": "string",
|
3158
|
-
"description": "
|
3158
|
+
"description": "Tab color, Default: `#ee0a24`"
|
3159
3159
|
},
|
3160
3160
|
"van-tabs/background": {
|
3161
3161
|
"type": "string",
|
3162
|
-
"description": "
|
3162
|
+
"description": "Background color, Default: `white`"
|
3163
3163
|
},
|
3164
3164
|
"van-tabs/duration": {
|
3165
3165
|
"type": "number | string",
|
3166
|
-
"description": "
|
3166
|
+
"description": "Toggle tab's animation time, Default: `0.3`"
|
3167
3167
|
},
|
3168
3168
|
"van-tabs/line-width": {
|
3169
3169
|
"type": "number | string",
|
3170
|
-
"description": "
|
3170
|
+
"description": "Width of tab line, Default: `40px`"
|
3171
3171
|
},
|
3172
3172
|
"van-tabs/line-height": {
|
3173
3173
|
"type": "number | string",
|
3174
|
-
"description": "
|
3174
|
+
"description": "Height of tab line, Default: `3px`"
|
3175
3175
|
},
|
3176
3176
|
"van-tabs/animated": {
|
3177
3177
|
"type": "boolean",
|
3178
|
-
"description": "
|
3178
|
+
"description": "Whether to change tabs with animation, Default: `false`"
|
3179
3179
|
},
|
3180
3180
|
"van-tabs/border": {
|
3181
3181
|
"type": "boolean",
|
3182
|
-
"description": "
|
3182
|
+
"description": "Whether to show border when `type=\"line\"`, Default: `false`"
|
3183
3183
|
},
|
3184
3184
|
"van-tabs/ellipsis": {
|
3185
3185
|
"type": "boolean",
|
3186
|
-
"description": "
|
3186
|
+
"description": "Whether to ellipsis too long title, Default: `true`"
|
3187
3187
|
},
|
3188
3188
|
"van-tabs/sticky": {
|
3189
3189
|
"type": "boolean",
|
3190
|
-
"description": "
|
3190
|
+
"description": "Whether to use sticky mode, Default: `false`"
|
3191
3191
|
},
|
3192
3192
|
"van-tabs/shrink": {
|
3193
3193
|
"type": "boolean",
|
3194
|
-
"description": "
|
3194
|
+
"description": "Whether to shrink the the tabs to the left, Default: `false`"
|
3195
3195
|
},
|
3196
3196
|
"van-tabs/swipeable": {
|
3197
3197
|
"type": "boolean",
|
3198
|
-
"description": "
|
3198
|
+
"description": "Whether to enable gestures to slide left and right, Default: `false`"
|
3199
3199
|
},
|
3200
3200
|
"van-tabs/lazy-render": {
|
3201
3201
|
"type": "boolean",
|
3202
|
-
"description": "
|
3202
|
+
"description": "Whether to enable tab content lazy render, Default: `true`"
|
3203
3203
|
},
|
3204
3204
|
"van-tabs/scrollspy": {
|
3205
3205
|
"type": "boolean",
|
3206
|
-
"description": "
|
3206
|
+
"description": "Whether to use scrollspy mode, Default: `false`"
|
3207
3207
|
},
|
3208
3208
|
"van-tabs/offset-top": {
|
3209
3209
|
"type": "number | string",
|
3210
|
-
"description": "
|
3210
|
+
"description": "Sticky offset top , supports `px` `vw` `vh` `rem` unit, default `px`, Default: `0`"
|
3211
3211
|
},
|
3212
3212
|
"van-tabs/swipe-threshold": {
|
3213
3213
|
"type": "number | string",
|
3214
|
-
"description": "
|
3214
|
+
"description": "Set swipe tabs threshold, Default: `5`"
|
3215
3215
|
},
|
3216
3216
|
"van-tabs/title-active-color": {
|
3217
3217
|
"type": "string",
|
3218
|
-
"description": "
|
3218
|
+
"description": "Title active color, Default: -"
|
3219
3219
|
},
|
3220
3220
|
"van-tabs/title-inactive-color": {
|
3221
3221
|
"type": "string",
|
3222
|
-
"description": "
|
3222
|
+
"description": "Title inactive color, Default: -"
|
3223
3223
|
},
|
3224
3224
|
"van-tabs/before-change": {
|
3225
3225
|
"type": "(name: number | string) => boolean \\",
|
3226
|
-
"description": "
|
3226
|
+
"description": "Callback function before changing tabs,return `false` to prevent change,support return Promise, Default: Promise\\<boolean\\>_",
|
3227
3227
|
"options": [
|
3228
3228
|
"-"
|
3229
3229
|
]
|
3230
3230
|
},
|
3231
3231
|
"van-tab/title": {
|
3232
3232
|
"type": "string",
|
3233
|
-
"description": "
|
3233
|
+
"description": "Title, Default: -"
|
3234
3234
|
},
|
3235
3235
|
"van-tab/disabled": {
|
3236
3236
|
"type": "boolean",
|
3237
|
-
"description": "
|
3237
|
+
"description": "Whether to disable tab, Default: `false`"
|
3238
3238
|
},
|
3239
3239
|
"van-tab/dot": {
|
3240
3240
|
"type": "boolean",
|
3241
|
-
"description": "
|
3241
|
+
"description": "Whether to show red dot on the title, Default: `false`"
|
3242
3242
|
},
|
3243
3243
|
"van-tab/badge": {
|
3244
3244
|
"type": "number | string",
|
3245
|
-
"description": "
|
3245
|
+
"description": "Content of the badge on the title, Default: -"
|
3246
3246
|
},
|
3247
3247
|
"van-tab/name": {
|
3248
3248
|
"type": "number | string",
|
3249
|
-
"description": "
|
3249
|
+
"description": "Identifier, Default: Index of tab"
|
3250
3250
|
},
|
3251
3251
|
"van-tab/url": {
|
3252
3252
|
"type": "string",
|
3253
|
-
"description": "
|
3253
|
+
"description": "Link, Default: -"
|
3254
3254
|
},
|
3255
3255
|
"van-tab/to": {
|
3256
3256
|
"type": "string | object",
|
3257
|
-
"description": "
|
3257
|
+
"description": "Target route of the link, same as to of vue-router, Default: -"
|
3258
3258
|
},
|
3259
3259
|
"van-tab/replace": {
|
3260
3260
|
"type": "boolean",
|
3261
|
-
"description": "
|
3261
|
+
"description": "If true, the navigation will not leave a history record, Default: `false`"
|
3262
3262
|
},
|
3263
3263
|
"van-tab/title-style": {
|
3264
3264
|
"type": "string | Array \\",
|
3265
|
-
"description": "
|
3265
|
+
"description": "Custom title style, Default: object_",
|
3266
3266
|
"options": [
|
3267
3267
|
"-"
|
3268
3268
|
]
|
3269
3269
|
},
|
3270
3270
|
"van-tab/title-class": {
|
3271
3271
|
"type": "string | Array \\",
|
3272
|
-
"description": "
|
3272
|
+
"description": "Custom title class name, Default: object_",
|
3273
3273
|
"options": [
|
3274
3274
|
"-"
|
3275
3275
|
]
|
3276
3276
|
},
|
3277
3277
|
"van-tab/show-zero-badge": {
|
3278
3278
|
"type": "boolean",
|
3279
|
-
"description": "
|
3279
|
+
"description": "Whether to show badge when the value is zero, Default: `true`"
|
3280
3280
|
},
|
3281
3281
|
"van-tabbar/v-model": {
|
3282
3282
|
"type": "number | string",
|
3283
|
-
"description": "
|
3283
|
+
"description": "Identifier of current tab, Default: `0`"
|
3284
3284
|
},
|
3285
3285
|
"van-tabbar/fixed": {
|
3286
3286
|
"type": "boolean",
|
3287
|
-
"description": "
|
3287
|
+
"description": "Whether to fixed bottom, Default: `true`"
|
3288
3288
|
},
|
3289
3289
|
"van-tabbar/border": {
|
3290
3290
|
"type": "boolean",
|
3291
|
-
"description": "
|
3291
|
+
"description": "Whether to show border, Default: `true`"
|
3292
3292
|
},
|
3293
3293
|
"van-tabbar/z-index": {
|
3294
3294
|
"type": "number | string",
|
3295
|
-
"description": "
|
3295
|
+
"description": "Z-index, Default: `1`"
|
3296
3296
|
},
|
3297
3297
|
"van-tabbar/active-color": {
|
3298
3298
|
"type": "string",
|
3299
|
-
"description": "
|
3299
|
+
"description": "Color of active tab item, Default: `#1989fa`"
|
3300
3300
|
},
|
3301
3301
|
"van-tabbar/inactive-color": {
|
3302
3302
|
"type": "string",
|
3303
|
-
"description": "
|
3303
|
+
"description": "Color of inactive tab item, Default: `#7d7e80`"
|
3304
3304
|
},
|
3305
3305
|
"van-tabbar/route": {
|
3306
3306
|
"type": "boolean",
|
3307
|
-
"description": "
|
3307
|
+
"description": "Whether to enable route mode, Default: `false`"
|
3308
3308
|
},
|
3309
3309
|
"van-tabbar/placeholder": {
|
3310
3310
|
"type": "boolean",
|
3311
|
-
"description": "
|
3311
|
+
"description": "Whether to generate a placeholder element when fixed, Default: `false`"
|
3312
3312
|
},
|
3313
3313
|
"van-tabbar/safe-area-inset-bottom": {
|
3314
3314
|
"type": "boolean",
|
3315
|
-
"description": "
|
3315
|
+
"description": "Whether to enable bottom safe area adaptation, Default: `false`"
|
3316
3316
|
},
|
3317
3317
|
"van-tabbar/before-change": {
|
3318
3318
|
"type": "(name: number | string) => boolean \\",
|
3319
|
-
"description": "
|
3319
|
+
"description": "Callback function before changing tab,return `false` to prevent change,support return Promise, Default: Promise\\<boolean\\>_",
|
3320
3320
|
"options": [
|
3321
3321
|
"-"
|
3322
3322
|
]
|
3323
3323
|
},
|
3324
3324
|
"van-tabbar-item/name": {
|
3325
3325
|
"type": "number | string",
|
3326
|
-
"description": "
|
3326
|
+
"description": "Identifier, Default: Item index"
|
3327
3327
|
},
|
3328
3328
|
"van-tabbar-item/icon": {
|
3329
3329
|
"type": "string",
|
3330
|
-
"description": "
|
3330
|
+
"description": "Icon name, Default: -"
|
3331
3331
|
},
|
3332
3332
|
"van-tabbar-item/icon-prefix": {
|
3333
3333
|
"type": "string",
|
3334
|
-
"description": "
|
3334
|
+
"description": "Icon className prefix, Default: `van-icon`"
|
3335
3335
|
},
|
3336
3336
|
"van-tabbar-item/dot": {
|
3337
3337
|
"type": "boolean",
|
3338
|
-
"description": "
|
3338
|
+
"description": "Whether to show red dot, Default: -"
|
3339
3339
|
},
|
3340
3340
|
"van-tabbar-item/badge": {
|
3341
3341
|
"type": "number | string",
|
3342
|
-
"description": "
|
3342
|
+
"description": "Content of the badge, Default: `''`"
|
3343
3343
|
},
|
3344
3344
|
"van-tabbar-item/badge-props": {
|
3345
3345
|
"type": "BadgeProps",
|
3346
|
-
"description": "
|
3346
|
+
"description": "Props of Badge,see [Badge - props](#/en-US/badge#props), Default: -"
|
3347
3347
|
},
|
3348
3348
|
"van-tabbar-item/url": {
|
3349
3349
|
"type": "string",
|
3350
|
-
"description": "
|
3350
|
+
"description": "Link, Default: -"
|
3351
3351
|
},
|
3352
3352
|
"van-tabbar-item/to": {
|
3353
3353
|
"type": "string | object",
|
3354
|
-
"description": "
|
3354
|
+
"description": "Target route of the link, same as to of vue-router, Default: -"
|
3355
3355
|
},
|
3356
3356
|
"van-tabbar-item/replace": {
|
3357
3357
|
"type": "boolean",
|
3358
|
-
"description": "
|
3358
|
+
"description": "If true, the navigation will not leave a history record, Default: `false`"
|
3359
3359
|
},
|
3360
3360
|
"van-tag/type": {
|
3361
3361
|
"type": "string",
|
3362
|
-
"description": "
|
3362
|
+
"description": "Type, can be set to `primary` `success` `danger` `warning`, Default: `default`"
|
3363
3363
|
},
|
3364
3364
|
"van-tag/size": {
|
3365
3365
|
"type": "string",
|
3366
|
-
"description": "
|
3366
|
+
"description": "Size, can be set to `large` `medium`, Default: -"
|
3367
3367
|
},
|
3368
3368
|
"van-tag/color": {
|
3369
3369
|
"type": "string",
|
3370
|
-
"description": "
|
3370
|
+
"description": "Custom color, Default: -"
|
3371
3371
|
},
|
3372
3372
|
"van-tag/show": {
|
3373
3373
|
"type": "boolean",
|
3374
|
-
"description": "
|
3374
|
+
"description": "Whether to show tag, Default: `true`"
|
3375
3375
|
},
|
3376
3376
|
"van-tag/plain": {
|
3377
3377
|
"type": "boolean",
|
3378
|
-
"description": "
|
3378
|
+
"description": "Whether to be plain style, Default: `false`"
|
3379
3379
|
},
|
3380
3380
|
"van-tag/round": {
|
3381
3381
|
"type": "boolean",
|
3382
|
-
"description": "
|
3382
|
+
"description": "Whether to be round style, Default: `false`"
|
3383
3383
|
},
|
3384
3384
|
"van-tag/mark": {
|
3385
3385
|
"type": "boolean",
|
3386
|
-
"description": "
|
3386
|
+
"description": "Whether to be mark style, Default: `false`"
|
3387
3387
|
},
|
3388
3388
|
"van-tag/text-color": {
|
3389
3389
|
"type": "string",
|
3390
|
-
"description": "
|
3390
|
+
"description": "Text color, Default: `white`"
|
3391
3391
|
},
|
3392
3392
|
"van-tag/closeable": {
|
3393
3393
|
"type": "boolean",
|
3394
|
-
"description": "
|
3394
|
+
"description": "Whether to be closeable, Default: `false`"
|
3395
3395
|
},
|
3396
3396
|
"van-tree-select/items": {
|
3397
3397
|
"type": "TreeSelectItem[]",
|
3398
|
-
"description": "
|
3398
|
+
"description": "Required datasets for the component, Default: `[]`"
|
3399
3399
|
},
|
3400
3400
|
"van-tree-select/height": {
|
3401
3401
|
"type": "number | string",
|
3402
|
-
"description": "
|
3402
|
+
"description": "Height, Default: `300`"
|
3403
3403
|
},
|
3404
3404
|
"van-tree-select/main-active-index": {
|
3405
3405
|
"type": "number | string",
|
3406
|
-
"description": "
|
3406
|
+
"description": "The index of selected parent node, Default: `0`"
|
3407
3407
|
},
|
3408
3408
|
"van-tree-select/active-id": {
|
3409
3409
|
"type": "number | string \\",
|
3410
|
-
"description": "
|
3410
|
+
"description": "Id of selected item, Default: <br>(number \\",
|
3411
3411
|
"options": [
|
3412
3412
|
"string)[]_"
|
3413
3413
|
]
|
3414
3414
|
},
|
3415
3415
|
"van-tree-select/max": {
|
3416
3416
|
"type": "number | string",
|
3417
|
-
"description": "
|
3417
|
+
"description": "Maximum number of selected items, Default: `Infinity`"
|
3418
3418
|
},
|
3419
3419
|
"van-tree-select/selected-icon": {
|
3420
3420
|
"type": "string",
|
3421
|
-
"description": "
|
3421
|
+
"description": "Selected icon, Default: `success`"
|
3422
3422
|
},
|
3423
3423
|
"van-uploader/v-model": {
|
3424
3424
|
"type": "FileListItem[]",
|
3425
|
-
"description": "
|
3425
|
+
"description": "List of uploaded files, Default: -"
|
3426
3426
|
},
|
3427
3427
|
"van-uploader/accept": {
|
3428
3428
|
"type": "string",
|
3429
|
-
"description": "
|
3429
|
+
"description": "Accepted [file type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#Unique_file_type_specifiers), Default: `image/*`"
|
3430
3430
|
},
|
3431
3431
|
"van-uploader/name": {
|
3432
3432
|
"type": "number | string",
|
3433
|
-
"description": "
|
3433
|
+
"description": "Input name, Default: -"
|
3434
3434
|
},
|
3435
3435
|
"van-uploader/preview-size": {
|
3436
3436
|
"type": "number | string",
|
3437
|
-
"description": "
|
3437
|
+
"description": "Size of preview image, Default: `80px`"
|
3438
3438
|
},
|
3439
3439
|
"van-uploader/preview-image": {
|
3440
3440
|
"type": "boolean",
|
3441
|
-
"description": "
|
3441
|
+
"description": "Whether to show image preview, Default: `true`"
|
3442
3442
|
},
|
3443
3443
|
"van-uploader/preview-full-image": {
|
3444
3444
|
"type": "boolean",
|
3445
|
-
"description": "
|
3445
|
+
"description": "Whether to show full screen image preview when image is clicked, Default: `true`"
|
3446
3446
|
},
|
3447
3447
|
"van-uploader/preview-options": {
|
3448
3448
|
"type": "object",
|
3449
|
-
"description": "
|
3449
|
+
"description": "Options of full screen image preview,see [ImagePreview](#/en-US/image-preview), Default: -"
|
3450
3450
|
},
|
3451
3451
|
"van-uploader/multiple": {
|
3452
3452
|
"type": "boolean",
|
3453
|
-
"description": "
|
3453
|
+
"description": "Whether to enable multiple selection pictures, Default: `false`"
|
3454
3454
|
},
|
3455
3455
|
"van-uploader/disabled": {
|
3456
3456
|
"type": "boolean",
|
3457
|
-
"description": "
|
3457
|
+
"description": "Whether to disabled the upload, Default: `false`"
|
3458
3458
|
},
|
3459
3459
|
"van-uploader/readonly": {
|
3460
3460
|
"type": "boolean",
|
3461
|
-
"description": "
|
3461
|
+
"description": "Whether to make upload area readonly, Default: `false`"
|
3462
3462
|
},
|
3463
3463
|
"van-uploader/deletable": {
|
3464
3464
|
"type": "boolean",
|
3465
|
-
"description": "
|
3465
|
+
"description": "Whether to show delete icon, Default: `true`"
|
3466
3466
|
},
|
3467
3467
|
"van-uploader/show-upload": {
|
3468
3468
|
"type": "boolean",
|
3469
|
-
"description": "
|
3469
|
+
"description": "Whether to show upload area, Default: `true`"
|
3470
3470
|
},
|
3471
3471
|
"van-uploader/lazy-load": {
|
3472
3472
|
"type": "boolean",
|
3473
|
-
"description": "
|
3473
|
+
"description": "Whether to enable lazy load,should register [Lazyload](#/en-US/lazyload) component, Default: `false`"
|
3474
3474
|
},
|
3475
3475
|
"van-uploader/capture": {
|
3476
3476
|
"type": "string",
|
3477
|
-
"description": "
|
3477
|
+
"description": "Capture,can be set to `camera`, Default: -"
|
3478
3478
|
},
|
3479
3479
|
"van-uploader/after-read": {
|
3480
3480
|
"type": "Function",
|
3481
|
-
"description": "
|
3481
|
+
"description": "Hook after reading the file, Default: -"
|
3482
3482
|
},
|
3483
3483
|
"van-uploader/before-read": {
|
3484
3484
|
"type": "Function",
|
3485
|
-
"description": "
|
3485
|
+
"description": "Hook before reading the file, return false to stop reading the file, can return Promise, Default: -"
|
3486
3486
|
},
|
3487
3487
|
"van-uploader/before-delete": {
|
3488
3488
|
"type": "Function",
|
3489
|
-
"description": "
|
3489
|
+
"description": "Hook before delete the file, return false to stop reading the file, can return Promise, Default: -"
|
3490
3490
|
},
|
3491
3491
|
"van-uploader/max-size": {
|
3492
3492
|
"type": "number | string \\",
|
3493
|
-
"description": "
|
3493
|
+
"description": "Max size of file, Default: (file: File) => boolean_",
|
3494
3494
|
"options": [
|
3495
3495
|
"Infinity"
|
3496
3496
|
]
|
3497
3497
|
},
|
3498
3498
|
"van-uploader/max-count": {
|
3499
3499
|
"type": "number | string",
|
3500
|
-
"description": "
|
3500
|
+
"description": "Max count of image, Default: `Infinity`"
|
3501
3501
|
},
|
3502
3502
|
"van-uploader/result-type": {
|
3503
3503
|
"type": "string",
|
3504
|
-
"description": "
|
3504
|
+
"description": "Type of file read result, can be set to `file` `text`, Default: `dataUrl`"
|
3505
3505
|
},
|
3506
3506
|
"van-uploader/upload-text": {
|
3507
3507
|
"type": "string",
|
3508
|
-
"description": "
|
3508
|
+
"description": "Upload text, Default: -"
|
3509
3509
|
},
|
3510
3510
|
"van-uploader/image-fit": {
|
3511
3511
|
"type": "string",
|
3512
|
-
"description": "
|
3512
|
+
"description": "Preview image fit mode, Default: `cover`"
|
3513
3513
|
},
|
3514
3514
|
"van-uploader/upload-icon": {
|
3515
3515
|
"type": "string",
|
3516
|
-
"description": "
|
3516
|
+
"description": "Upload icon, Default: `photograph`"
|
3517
3517
|
}
|
3518
3518
|
}
|