VPieSegment API
name | type | default |
|---|---|---|
boolean
| false | |
Controls the active state of the item. This is typically used to highlight the component. | ||
| boolean | { duration: number easing: | 'linear' | 'easeInQuad' | 'easeOutQuad' | 'easeInOutQuad' | 'easeInCubic' | 'easeOutCubic' | 'easeInOutCubic' | 'easeInQuart' | 'easeOutQuart' | 'easeInOutQuart' | 'easeInQuint' | 'easeOutQuint' | 'easeInOutQuint' | 'instant' } | false | |
Controls duration and easing of the expand/collapse and hover effect. Defaults to | ||
string
| undefined | |
Sets segment color to be passed straight to CSS style attribute. | ||
string | number | undefined | |
Reduces segment size by a specified angle. Recommended to in range (0-10). | ||
boolean
| false | |
Makes inner slice invisible instead of semi-transparent. | ||
string | number | 0.05 | |
Reduces outer radius until segment is hovered. Expects fraction value (0-0.25) | ||
string | number | undefined | |
Sets inner slice size in percent (0-100). | ||
string
| undefined | |
Decal pattern to put on top of the outer slice. | ||
boolean | { duration: number } | false | |
Enables and controls duration for initial reveal animation. Easing function is shared with | ||
string | number | undefined | |
Sets segment offset angle. | ||
string | number | undefined | |
Number passed as corner radius relative to 100x100 SVG viewport | ||
number
| 0 | |
The value used for calculate segment/arc angle size. | ||
name | type | |
|---|---|---|
[boolean] | ||
Emitted when the segment’s active (hovered) state changes. | ||
The default Vue slot. | ||