An easy to use and highly customizable select plugin with a list of the currencies of over 150 nations in the world.
npm install --save vue-select-currency
- Import package into root file
import VueSelectCurrency from 'vue-select-currency'
Vue.use(VueSelectCurrency)
In component, use as
<VueSelectCurrency></VueSelectCurrency>
Props | Type | Required |
---|---|---|
classAttrib | String | optional |
preSelected | String | optional |
displayType | String | optional ['long', 'short'] |
To customize using props
<VueSelectCurrency :classAttrib="'form-control extra-class1 extra-class2'" :preSelected="'Nigerian Naira'" :displayType="'long'"></VueSelectCurrency>
v 0.1.2