How do I use the built-in Number mask with angular-imask? #652
-
If I have imported angular-imask as follows import { IMaskDirectiveModule } from 'angular-imask';
@NgModule({
imports: [
IMaskDirectiveModule, What is the proper value to pass to <input
[imask]="{ mask: ??? }" Also curious how to use other provided masks like RegExp, MaskedRange, and MaskedEnum. |
Beta Was this translation helpful? Give feedback.
Answered by
craigwillard
Apr 2, 2022
Replies: 1 comment
-
I managed to figure this out. Install |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
craigwillard
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I managed to figure this out. Install
imask
, import theimask
library and you have access toIMask.MaskedRange
and all the other masks.