@larmbox/phone-input
v0.0.4
Published
Create a phone input field from any input field.
Downloads
25
Readme
Installation
phone-input is available as an npm package:
npm install @larmbox/phone-input
phone-input can also be imported directly in the browser:
<!-- local -->
<script src="dist/index.browser.min.js"></script>
<!-- jsdelivr.net -->
<script src="https://cdn.jsdelivr.net/npm/@larmbox/phone-input/dist/index.browser.min.js"></script>
Usage
<input id="example" />
<script>
const element = document.getElementById('example');
phoneInput.attach(element);
</script>
Options
Contributing
Please refer to the Larmbox Open Source Community Guidelines.
License
This project is licensed under the terms of the MIT license.