VIcon API
组件页面
属性
| 名称 | 类型 | 默认值 |
|---|---|---|
| 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 . | ||
| disabled | ||
| Removes the ability to click or target the component. | ||
| end | ||
| Applies margin at the start of the component. | ||
| icon | ||
| Apply a specific icon using the v-icon component. | ||
| size | ||
| Sets the height and width of the component. Default unit is px. Can also use the following predefined sizes: x-small, small, default, large, and x-large. | ||
| start | ||
| Applies margin at the end of the component. | ||
| tag | ||
| Specify a custom tag used on the root element. | ||
| theme | ||
| Specify a theme for this component and all of its children. | ||
插槽
| default |
| The default Vue slot. |
SASS 变量
| 名称 | 默认值 |
|---|---|
| $icon-disabled-opacity | |
| $icon-left-margin-left | |
| $icon-letter-spacing | |
| $icon-line-height | |
| $icon-margin-end | |
| $icon-margin-start | |
| $icon-size | |
| $icon-sizes | |
| $icon-text-indent | |
| $icon-vertical-align | |