2.0.2 • Published 4 months ago

phone-mask-ruby v2.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

phone-mask-ruby

The plugin activates the mask when entering phone numbers. Belarusian, Russian and Ukrainian numbers are supported, the rest are introduced without a mask.

Install

npm i phone-mask-ruby

Import

const phoneMaskRUBY = require("phone-mask-ruby");

or

import phoneMaskRUBY from 'phone-mask-ruby'

Option (selector)

Type: string Default: input[data-phone-input]

The selector of the input fields of telephone numbers (you can also use the text input field).

Usage

const phoneMaskRUBY = require("phone-mask-ruby");

phoneMaskRUBY("your-selector");

or

const phoneMaskRUBY = require("phone-mask-ruby");

phoneMaskRUBY();

Note

Many thanks for the main idea and help to the web-developer Alexei Goloburdin.

2.0.2

4 months ago

2.0.1

4 months ago

2.0.0

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago