Gathering detailed insights and metrics for vuetify-numeric
Gathering detailed insights and metrics for vuetify-numeric
npm install vuetify-numeric
Typescript
Module System
Node Version
NPM Version
TypeScript (70.93%)
Vue (18.73%)
HTML (5.22%)
JavaScript (4.65%)
Shell (0.47%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
28,426
Last Day
2
Last Week
2
Last Month
423
Last Year
7,395
23 Stars
123 Commits
8 Forks
4 Watching
16 Branches
4 Contributors
Minified
Minified + Gzipped
Latest Version
0.2.1
Package Id
vuetify-numeric@0.2.1
Unpacked Size
1.00 MB
Size
246.21 kB
File Count
9
NPM Version
8.5.1
Node Version
12.22.9
Cumulative downloads
Total Downloads
Last day
0%
2
Compared to previous day
Last week
-97.1%
2
Compared to previous week
Last month
-1.2%
423
Compared to previous month
Last year
4.5%
7,395
Compared to previous year
24
Numeric input components for use with vuetifyjs.
Key | Action |
---|---|
Enter | Activate calculator or calculate your expression and close the calculator. (Note) You can change calculator's activation key |
Delete | Reset calculator |
. or , | Swich your input between integer and fraction part of number |
- | Change your input number sign |
See Live demo . or Codesandbox example codesandbox
The component extends the Vuetify v-text-field
component.
Install the package:
yarn add vuetify-numeric
Add the package to your app entry point:
import VNumeric from 'vuetify-numeric/vuetify-numeric.umd.min'
Or (in develop case)
import VNumeric from 'vuetify-numeric/vuetify-numeric.umd'
Than, register this plugin
Vue.use(VNumeric)
Once the plugin has been installed, you can now use the v-numeric
component in your templates.
Use v-model
to bind to the value.
<template>
<v-numeric text outlined v-model="amount"></v-numeric>
</template>
<script>
export default {
data() {
return {
amount: 0,
};
},
};
</script>
Prop | description | type | default |
---|---|---|---|
min | Sets minimum value | Number | - Number.MAX (infinity) |
max | Sets maximum value | Number | Number.MAX (infinity) |
length | Sets maximum number of digits | Number | 10 |
precision | Number of digits after decimal point | Number | 0 |
negativeTextColor | Text color when number is negative | String | red |
locale | Current locale | String | en-US |
useGrouping | use grouping digits | Boolean | true |
elevation | Sets the calculator elevation | Number | 10 |
fab | FAB-kind calculator's button | Boolean | false |
text | use transparent background in calculator | Boolean | false |
calcStyle | You can customize calculator's button style separately from input field. This is not mandatory. | object | undefined |
calcIcon | You can customize calculator's icon. If it's undefined, the calculator icon does not appear. | string | 'mdi-calculator' |
useCalculator | Turn on/off calculator usage. | boolean | true |
openKey | Key for open build-in calculator | String | 'Enter' |
calcNoTabindex | Set or not tabindex attribute in calc icon | Boolean | false |
This object uses for customizing calculator buttons, and consist of the same Vuetify v-btn properies. For details, see official documentation
calcStyle: {
fab: false,
outlined: false,
rounded: false,
text: false,
tile: false,
large: false,
small: false
}
Anover props are derived from v-text-field component
@input
: Emitted when value is changed after user input.
@change
: Emitted formatted value as string when that is changed after user input.
You can use this library without installation, via cdn provider
<!DOCTYPE html>
<html>
<head>
<link href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/@mdi/font@4.x/css/materialdesignicons.min.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/vuetify@2.x/dist/vuetify.min.css" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui">
</head>
<body>
<div id="app">
<v-app>
<v-main>
<v-container>
<v-row>
<v-numeric text outlined ></v-numeric>
</v-row>
<v-row>
<v-numeric text ></v-numeric>
</v-row>
</v-container>
</v-main>
</v-app>
</div>
<script src="https://cdn.jsdelivr.net/npm/vue@2.x/dist/vue.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vuetify@2.x/dist/vuetify.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vuetify-numeric@0.2.x/vuetify-numeric.umd.min.js"></script>
<script>
new Vue({
el: '#app',
vuetify: new Vuetify({})
})
</script>
</body>
</html>
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
Found 1/2 approved changesets -- score normalized to 5
Reason
dependency not pinned by hash detected -- score normalized to 3
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
71 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-02-03
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More