new InputMask(maskBuilder.parse("AA-####"), "input"); new InputMask(maskBuilder.accept(JST_CHARS_NUMBERS + "-./", 10), "input"); new InputMask(maskBuilder.letters(2), "input");
accept | Returns a mask that accepts the specified characters |
any | A mask that only limits the size |
capitalizeLetters | A mask that allows only capitalized letters |
decimal | A mask that allows decimal numbers |
letters | A mask that allows only letters |
lowerLetters | A mask that allows only lowercase letters |
parse | Parses a String, returning the field array |
upperLetters | A mask that allows only uppercase letters |