From d2ce1fdaeb41b956b43ce1c37d5add0bed1af2ed Mon Sep 17 00:00:00 2001 From: Siraj Kimuli Date: Tue, 1 Feb 2022 14:46:03 +0300 Subject: [PATCH] Example for Raw value --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 50cd5fe..fe1f94a 100644 --- a/README.md +++ b/README.md @@ -164,6 +164,9 @@ You can use `mask` function directly by importing it (or using `Maska.mask` if y ## Getting raw (unmasked) value To get raw value read `data-mask-raw-value` property of input. You can subscribe to `@maska` event to know when this value updates. Please see [examples page](https://beholdr.github.io/maska/). +```html +@maska="rawValue = $event.target.dataset.maskRawValue" +``` ## Dynamic masks