2
0
mirror of https://github.com/tenrok/maska.git synced 2026-05-15 11:59:38 +03:00

Merge pull request #64 from kimulisiraj/patch-1

Example for Raw value
This commit is contained in:
Alexander Shabunevich
2022-02-03 13:36:38 +03:00
committed by GitHub
+3
View File
@@ -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