Skip to content

How to register tokens globally? #212

Closed Answered by beholdr
azamat7g asked this question in Q&A
Discussion options

You must be logged in to vote

There is no global tokens registration in v2. You can create custom tokens with data-maska-tokens attribute or pass them via options. In second case you can create some global variable and use it for every case.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by azamat7g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants