
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
@vaadin/integer-field
Advanced tools
An extension of vaadin-number-field
component that only accepts entering integer numbers.
<vaadin-integer-field label="X"></vaadin-integer-field>
Install the component:
npm i @vaadin/integer-field --save
Once installed, import the component in your application:
import '@vaadin/integer-field';
Vaadin components come with two built-in themes, Lumo and Material. The main entrypoint of the package uses Lumo theme.
To use the Material theme, import the component from the theme/material
folder:
import '@vaadin/integer-field/theme/material/vaadin-integer-field.js';
You can also import the Lumo version of the component explicitly:
import '@vaadin/integer-field/theme/lumo/vaadin-integer-field.js';
Finally, you can import the un-themed component from the src
folder to get a minimal starting point:
import '@vaadin/integer-field/src/vaadin-integer-field.js';
Apache License 2.0
Vaadin collects development time usage statistics to improve this product. For details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.
FAQs
vaadin-integer-field
The npm package @vaadin/integer-field receives a total of 34,827 weekly downloads. As such, @vaadin/integer-field popularity was classified as popular.
We found that @vaadin/integer-field demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 12 open source maintainers 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
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.