Skip to content

VPicker API

属性

名称类型默认值
bg-color
Applies specified color to the control’s background. Used on components that also support the color prop. - supports utility colors (for example success or purple) or css color (#033 or rgba(255, 0, 0, 0.5)). Find a list of built-in classes on the colors page .
border
Designates the border-radius applied to the component. This can be xs, sm, md, lg, xl.
color
Applies specified color to the control - supports utility colors (for example success or purple) or css color (#033 or rgba(255, 0, 0, 0.5)). Find a list of built-in classes on the colors page .
elevation
组件的海拔可接受 0 到 24 之间的值。你可以在 elevation page 浏览更多信息。
height
设定组件的高度。
hide-header
Hide the picker header.
landscape
Puts the picker into landscape mode.
location
Specifies the component’s location. Can combine by using a space separated string.
max-height
设定组件的最大高度。
max-width
设定组件的最大宽度。
min-height
设定组件的最小高度。
min-width
设定组件的最小宽度。
position
设定组件的 position 属性。
rounded
Designates the border-radius applied to the component. This can be 0, xs, sm, true, lg, xl, pill, circle, and shaped. Find more information on available border radius classes on the Border Radius page .
tag
指定在根元素上使用的自定义标签。
theme
Specify a theme for this component and all of its children.
tile
Removes any applied border-radius from the component.
title
Specify a title text for the component.
width
设定组件的宽度。

插槽

actions
MISSING DESCRIPTION (edit in github )
default
默认Vue 插槽。
header
MISSING DESCRIPTION (edit in github )
title
Slot for the component’s title content.