Minimalistic activity indicator (loading icon) in shape of a spinning wheel.
yarn add vue-activity-indicator
Add to the main app file
import ActivityIndicator from 'vue-activity-indicator'
Vue.use(ActivityIndicator)
...and then use directly
<activity-indicator />
import ActivityIndicator from 'vue-activity-indicator'
export default {
components: {
ActivityIndicator
}
}
<ActivityIndicator />
Size of the icon in pixels or one of the named sizes (large
, small
, normal
).
Default: "normal"
Width of the icons stroke. If not defined, it will be resolved based on the size.
Default: undefined
Color of the icon. An CSS color value.
Default: "black"
Opacity of the icon, in range from 0 to 1.
Default: .35