mirror of
https://github.com/tenrok/maska.git
synced 2026-06-20 20:00:34 +03:00
chore: update README for v3
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
Simple zero-dependency input mask for Vue 2/3 or vanilla JS.
|
Simple zero-dependency input mask.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
@@ -25,22 +25,18 @@ Do you like **Maska**? Please support me via [Boosty](https://boosty.to/beholdr)
|
|||||||
|
|
||||||
## Features ✨
|
## Features ✨
|
||||||
|
|
||||||
- No dependencies and small size: ~2.5 Kb gziped
|
- No dependencies and small size: ~3 Kb gziped
|
||||||
- Works with any native input
|
- Vanilla JS version + Vue 2/3, Alpine.js, Svelte integrations
|
||||||
- Ability to define custom tokens
|
- Works with native and custom inputs
|
||||||
|
- Custom tokens with modifiers, transform functions and hooks
|
||||||
|
- Number mask mode
|
||||||
- Dynamic, reversed and eager masks
|
- Dynamic, reversed and eager masks
|
||||||
- Token modifiers, transform functions and hooks
|
|
||||||
|
|
||||||
## What’s new in v2 🎉
|
## What’s new in v3 🎉
|
||||||
|
|
||||||
- Fully rewritten in TypeScript
|
- Integrations with Alpine.js and Svelte
|
||||||
- Autobind to vue variable
|
- Number mask mode
|
||||||
- Eager and reversed masking modes
|
- Other small improvements and fixes
|
||||||
- Optonal and repeated tokens
|
|
||||||
- Simplified syntax for custom tokens
|
|
||||||
- Dynamic masks with custom function logic
|
|
||||||
- Hooks for pre/post- processing
|
|
||||||
- Ability to replace or merge custom tokens
|
|
||||||
|
|
||||||
## Source of Inspiration 💡
|
## Source of Inspiration 💡
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user