Skip to content

Commit

Permalink
Add mask raw value attribute and @Mask event
Browse files Browse the repository at this point in the history
  • Loading branch information
beholdr committed Feb 6, 2021
1 parent 75fb163 commit 99013bd
Show file tree
Hide file tree
Showing 10 changed files with 48 additions and 24 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@ While specifying custom tokens you can also add a symbol-transformation behavior
}
```

## 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/).

## Dynamic masks

To use several masks on single input, pass array instead of string as mask value.
Expand Down
6 changes: 3 additions & 3 deletions dist/es6/maska.esm.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions dist/es6/maska.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 99013bd

Please sign in to comment.