New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

jb-mobile-input

Package Overview
Dependencies
Maintainers
0
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jb-mobile-input

mobile input web component

  • 2.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9
decreased by-50%
Maintainers
0
Weekly downloads
 
Created
Source

jb-mobile-input web component

superset component on jb-input , just for mobile number input with extra filter and ready to use validator.

  • dont accept non-number char
  • accept persian number char
  • type heading 09 in case of user missing it and always give you the number in the same format.
  • have ready to use inside validator with jb-validation

Demo in codepen: jb-mobile-input

using with JS frameworks

to use this component in react see jb-mobile-input/react;

Installation

npm install --save jb-mobile-input

Usage

import 'jb-mobile-input';

or by using cdn

<script src="https://unpkg.com/jb-mobile-input/dist/jb-mobile-input.umd.js"></script>
<jb-mobile-input></jb-mobile-input>

to learn more information about this component and how to customize it like events, validation, styling,... just read jb-input.

styling

all styles come from jb-input except --jb-mobile-input-input-direction this may be set if you want your input to be rtl (not recommended).

Keywords

FAQs

Package last updated on 14 Dec 2024

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc