Socket
Socket
Sign inDemoInstall

@robin-rossow/vue-input-number

Package Overview
Dependencies
6
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @robin-rossow/vue-input-number

Input field component to display a formatted number value. It is meant to be used with Vue 3.


Version published
Weekly downloads
187
decreased by-16.14%
Maintainers
1
Install size
12.3 MB
Created
Weekly downloads
 

Readme

Source

Vue Input Number

Input field component to display a formatted number value. It is meant to be used with Vue 3.

This is rewrite based on vue-numeric written in TypeScript.

Installation

Install via NPM

$ npm install @robin-rossow/vue-input-number --save
Use globally
import VueInputNumberPlugin from '@robin-rossow/vue-input-number'

import { createApp } from 'vue'
import App from './App.vue'

createApp(App)
    .use(VueInputNumberPlugin)
    .mount('#app')
Load in component
import { VueInputNumber } from '@robin-rossow/vue-input-number'

Usage

Load in template

<VueInputNumber v-model="ourModel"/>

Props

PropsRequiredTypeDefault
v-modelstring | number | undefined-
outputType'Number' | 'String''Number'
minnumberNumber.MIN_SAFE_INTEGER
maxnumberNumber.MAX_SAFE_INTEGER
precisionnumber0
thousandSeparatorstring | undefined','
decimalSeparatorstring | undefined','
currencystring''
currencySymbolPosition'prefix' |' suffix''prefix'
emptyValuenumber | ''''

License

vue-number-input is open-sourced software licensed under the MIT license

Keywords

FAQs

Last updated on 13 Jul 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc