Skip to content

A Input currency component based on antd1.0 and Vue2.0: npm i input-currency-vue

Notifications You must be signed in to change notification settings

zhongdm/input-currency-vue

Repository files navigation

input-currency-vue

A Input currency component based on ant-design-vue .

public

npm run build

npm publish --access public

Build Setup

npm i input-currency-vue

import InputCurrency from 'input-currency-vue'
# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

Usage

<InputCurrency
  v-model="value"
>
<AudioPlayer
  v-model="value"
  allowClear
  currency
>

The format will from 11234 to 11,234

Options

  • v-model(value)
  • allowClear - boolean - - 默认是false - 展示删除图标
  • placeholder - 默认值是"请输入"
  • size - large/default/size - 默认是"default"
  • disalbed - boolean - 默认是false
  • currency - boolean - 返回的数据类型是否是千分符格式的,默认false

About

A Input currency component based on antd1.0 and Vue2.0: npm i input-currency-vue

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published