0.2.2 • Published 6 years ago

vue-number-select-disc v0.2.2

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

Vue Number Select Disc

Vue Component

This component is in an early development state.

-> Demo

Install

This plugin supports Vue >= 2.0.

Available through npm as vue-number-select-disc.

npm install vue-number-select-disc
# or
yarn add vue-number-select-disc
import Vue from 'vue'
import VueNumberSelectDisc from 'vue-number-select-disc'

Vue.use(VueNumberSelectDisc)

Usage

<vue-number-select-disc v-model="myValue" />

Available attributes

NameTypeDefaultDescription
widthNumber, String200Component width
heightNumber, String200Component height
v-modelNumber, String0Value binding
minNumber0Allowed min value
maxNumber10000Allowed max value
precisionNumber1Adjust how amount of degree needed to inc or dec the value
disabledBooleanfalseComponent will be inert
signedBooleanfalseIs the number signed or unsigned
showTextBooleantrueWhether to show the value and unit
showHandleBooleanfalseShow a handle to indicate rotation
floatingBooleantrueFloating point numbers
fractionNumber0 > x < 5Number fraction to show
stepWidthNumber1Amount to inc or dec the value
strokeWidthNumber20Outer circle width
unitString''Unit will be appended to the value text

Available events

NameDescription
selectedWill be triggered when a new number was selected

License

MIT

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.2

6 years ago

0.1.0

6 years ago