VSheet API
组件页面
属性
名称 | 类型 | 默认值 |
---|---|---|
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 | ||
设定组件的高度。 | ||
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. | ||
width | ||
设定组件的宽度。 |
插槽
default |
默认Vue 插槽。 |
SASS 变量
名称 | 默认值 |
---|---|
$sheet-background | |
$sheet-border | |
$sheet-border-color | |
$sheet-border-radius | |
$sheet-border-style | |
$sheet-border-thin-width | |
$sheet-border-width | |
$sheet-color | |
$sheet-elevation | |
$sheet-positions | |
$sheet-rounded-border-radius | |
$sheet-theme | |