2
0
mirror of https://github.com/tenrok/maska.git synced 2026-06-14 18:42:27 +03:00

Updated docs about mask with computed properties

This commit is contained in:
Alexander Shabunevich
2020-02-02 17:51:35 +03:00
parent ae7e1b1d47
commit 91b39a795e
+2
View File
@@ -57,6 +57,8 @@ export default {
</script>
```
With Vue you could use computed property as mask value. In this case mask will be reactive.
## Usage with vanilla JS
Just load script `maska.js` and init it, passing element(s) or `document.querySelector` expression: