diff --git a/docs/README.md b/docs/README.md index 66940b1..1053835 100644 --- a/docs/README.md +++ b/docs/README.md @@ -134,7 +134,7 @@ export default { ``` -### Get value +### Bind value To get masked value you can use standard `v-model` directive. But if you want to access an unmasked (raw) value, you can pass a variable as `v-maska` directive value. @@ -242,6 +242,12 @@ export default { ?> Please see [issue#149](https://github.com/beholdr/maska/issues/149): options object should be assigned in the current file. +You can set options and bind to an object at the same time: + +``` html + +``` + #### Global registration of directive @@ -560,3 +566,7 @@ mask.masked("12") // = 1-2 mask.unmasked("12") // = 12 mask.completed("12") // = true ``` + +# Known issues + +When used on input of type `number`, could have inconsistent behavior in different browsers. Use attribute `inputmode="numeric"` with `type="text"` if you need a numeric keyboard.