From 2329dab5dc99480bed4992e88c28df10d34a2bce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B9=20=D0=9A=D1=80?= =?UTF-8?q?=D1=8F=D0=B6=D0=B5=D0=B2?= Date: Wed, 28 Feb 2024 08:36:55 +0300 Subject: [PATCH] up docs --- docs/guide.html | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/guide.html b/docs/guide.html index 0d4d6c30..43a5d7b0 100644 --- a/docs/guide.html +++ b/docs/guide.html @@ -841,6 +841,11 @@

Enum Mask

new Date(0, i).toLocaleString(window.navigator.language, { month: 'long' }) ), + // optionally can set match function + matchValue: (estr, istr, matchFrom) => + // use case insensitive match + IMask.MaskedEnum.DEFAULTS.matchValue(estr.toLowerCase(), istr.toLowerCase(), matchFrom), + // pattern options can be set as well lazy: false }) @@ -1354,6 +1359,11 @@

Treeshaking s mask: IMask.MaskedEnum, enum: languages, + // optionally can set match function + matchValue: (estr, istr, matchFrom) => + // use case insensitive match + IMask.MaskedEnum.DEFAULTS.matchValue(estr.toLowerCase(), istr.toLowerCase(), matchFrom), + // pattern options can be set as well lazy: false }).on('accept', function() {