Skip to content

Function: applyMask()

ts
function applyMask(raw, mask): string;

Formats raw slot characters the way jQuery-mask does while typing: literals appear as soon as they are reached, surplus characters are dropped.

Parameters

ParameterType
rawstring
maskstring

Returns

string

Proprietary. All rights reserved.