Socket
Socket
Sign inDemoInstall

@syncfusion/ej2-inputs

Package Overview
Dependencies
1
Maintainers
1
Versions
241
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syncfusion/ej2-inputs


Version published
Weekly downloads
121K
decreased by-20.32%
Maintainers
1
Install size
7.90 MB
Created
Weekly downloads
 

Package description

What is @syncfusion/ej2-inputs?

@syncfusion/ej2-inputs is a comprehensive package that provides a variety of input controls for building modern web applications. It includes components like TextBox, NumericTextBox, MaskedTextBox, Slider, and more, which are essential for creating interactive and user-friendly forms.

What are @syncfusion/ej2-inputs's main functionalities?

TextBox

The TextBox component allows users to input text. It supports various configurations like placeholder text, floating labels, and more.


import { TextBox } from '@syncfusion/ej2-inputs';

let textBoxObj = new TextBox({
    placeholder: 'Enter your name'
});
textBoxObj.appendTo('#textbox');

NumericTextBox

The NumericTextBox component is used for numerical input. It supports features like min/max values, step increments, and custom formatting.


import { NumericTextBox } from '@syncfusion/ej2-inputs';

let numericTextBoxObj = new NumericTextBox({
    value: 10,
    min: 0,
    max: 100,
    format: 'n2'
});
numericTextBoxObj.appendTo('#numerictextbox');

MaskedTextBox

The MaskedTextBox component allows users to input text in a specific format, such as phone numbers or dates, using a mask pattern.


import { MaskedTextBox } from '@syncfusion/ej2-inputs';

let maskedTextBoxObj = new MaskedTextBox({
    mask: '000-000-0000'
});
maskedTextBoxObj.appendTo('#maskedtextbox');

Slider

The Slider component is used for selecting a value from a range. It supports features like min/max values, step increments, and orientation.


import { Slider } from '@syncfusion/ej2-inputs';

let sliderObj = new Slider({
    value: 30,
    min: 0,
    max: 100,
    step: 1
});
sliderObj.appendTo('#slider');

Other packages similar to @syncfusion/ej2-inputs

Readme

Source

NumericTextBox

NumericTextBox component is used to get the numeric inputs from the user. The input values can be increment or decrement with a predefined step value.

Key features

  • Min-Max range validation.
  • Internationalization.
  • Standard format & Custom format.
  • Restrict decimals.
  • Keyboard navigation.

Resources

Demo Documentation AngularDemo AngularDocumentation

TextBox

TextBox is an input element that allows to get input from the user. It allows the user either to edit or display the input values.

Key features

  • Supports textbox with icon/element is added as a group.
  • Supports textbox with Floating Label.
  • Supports two sizing of textbox, namely Small and Normal.
  • Supports three validation states,namely Success ,Error and Warning.

Resources

Keywords

FAQs

Last updated on 10 May 2017

Did you know?

Socket

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc