VTable API
组件页面
属性
名称 | 类型 | 默认值 |
---|---|---|
density | ||
Adjusts the vertical height used by the component. | ||
fixed-footer | ||
Use the fixed-footer prop together with the height prop to fix the footer to the bottom of the table. | ||
fixed-header | ||
Use the fixed-header prop together with the height prop to fix the header to the top of the table. | ||
height | ||
Use the height prop to set the height of the table. | ||
hover | ||
Will add a hover effect to a table’s row when the mouse is over it. | ||
tag | ||
Specify a custom tag used on the root element. | ||
theme | ||
Specify a theme for this component and all of its children. |
插槽
bottom |
Slot to add content below the table. |
default |
The default Vue slot. |
top |
Slot to add content above the table. |
wrapper |
Slots for custom rendering of the table wrapper. |
SASS 变量
名称 | 默认值 |
---|---|
$table-background | |
$table-border | |
$table-border-color | |
$table-color | |
$table-column-padding | |
$table-density | |
$table-font-size | |
$table-header-font-size | |
$table-header-font-weight | |
$table-header-height | |
$table-hover-color | |
$table-line-height | |
$table-row-font-size | |
$table-row-height | |
$table-theme | |
$table-transition-duration | |
$table-transition-property | |
$table-transition-timing-function | |