![New axobject-query Maintainer Faces Backlash Over Controversial Decision to Support Legacy Node.js Versions](https://cdn.sanity.io/images/cgdhsj6q/production/86e6ebdea652d20da070ebbda20134b839972db7-1024x1024.webp?w=800&fit=max&auto=format)
Security News
New axobject-query Maintainer Faces Backlash Over Controversial Decision to Support Legacy Node.js Versions
A JavaScript library maintainer is under fire after merging a controversial PR to support legacy versions of Node.js.
vue-input-calculator
Advanced tools
Readme
Calculator interface for input field. Touch & Keyboard input. Vue.js component.
Vue 2 < ver. 1.0.0
Vue 3 > ver. 1.0.0
yarn add vue-input-calculator
Or
npm install --save vue-input-calculator
// main.js
import VueInputCalculator from "vue-input-calculator";
Vue.component('vue-input-calculator', VueInputCalculator);
<template>
<div>
<input type="number" v-model.number="targetValue"/>
<VueInputCalculator enableKeyboard v-model="targetValue">
CALC
</VueInputCalculator>
</div>
</template>
<script>
import VueInputCalculator from "vue-input-calculator";
export default {
name: 'component.vue',
components: {VueInputCalculator},
data() {
return { targetValue: 0 }
}
}
</script>
Props(Parameter) | Type | Default | Description |
---|---|---|---|
v-model (required) | String, Number | - | target input value |
auto-apply | Boolean | false | auto continue/close on calc result |
enable-keyboard | Boolean | false | enable keyboard input |
persistent | Boolean | false | disable backdrop click to cancel (outside click) |
readonly-input | Boolean | true | calculator input read only |
is-history-logs | Boolean | true | show math operations log |
z-index | String, Number | 9999 | layer calculator z-index position |
trigger-wrapper-class | String | - | trigger for open calculator class styles |
text-color | String | #ffffff | calculator text color |
bg-color | String | #2f2f31 | calculator background color |
event-buttons-bg-color | String | #424345 | calculator buttons color(c, ›) |
number-buttons-bg-color | String | #616163 | calculator buttons color(0-9.) |
action-buttons-bg-color | String | #f49e3f | calculator buttons color(+-*=) |
action-success-button-bg-color | String | #3ff451 | calculator OK button color |
FAQs
Calculator input component. Mobile friendly.
The npm package vue-input-calculator receives a total of 14 weekly downloads. As such, vue-input-calculator popularity was classified as not popular.
We found that vue-input-calculator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
A JavaScript library maintainer is under fire after merging a controversial PR to support legacy versions of Node.js.
Security News
Results from the 2023 State of JavaScript Survey highlight key trends, including Vite's dominance, rising TypeScript adoption, and the enduring popularity of React. Discover more insights on developer preferences and technology usage.
Security News
The US Justice Department has penalized two consulting firms $11.3 million for failing to meet cybersecurity requirements on federally funded projects, emphasizing strict enforcement to protect sensitive government data.