jb-mobile-input
v2.0.3
Published
mobile input web component
Downloads
59
Maintainers
Readme
jb-mobile-input web component
superset component on jb-input , just for mobile number input with extra filter and ready to use validator.
Demo in codepen: jb-mobile-input
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, 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).
Other Related Docs:
see jb-mobile-input-react if you want to use this component as a ReactJS component.
see All JB Design system Component List for more components
use Contribution Guide if you want to contribute in this component.