monster.ui.mask()

Syntax

monster.ui.mask(target, type[, options]);

Parameters

KeyDescriptionTypeDefaultRequired
targetField on which the method will be applied.jQuerytrue
typeType of mask to apply. Available presets: 'phoneNumber', 'macAddress' 'ipv4', 'extension'.`String(‘phoneNumber''macAddress''AAA 000-S0S’))`
optionsOptions to be applied in case type parameter is not a preset. (check available options)Objectfalse

Description

This helper is a wrapper over the jQuery Mask plugin.

On this page