Install iTerm 2
Download, unzip and drag to your Applications directory.
https://www.iterm2.com/downloads.html
| import { Directive, ElementRef, OnDestroy } from '@angular/core'; | |
| import * as textMask from 'vanilla-text-mask/dist/vanillaTextMask.js'; | |
| @Directive({ | |
| selector: '[appMaskDate]' | |
| }) | |
| export class MaskDateDirective implements OnDestroy { | |
| public mask = [/\d/, /\d/, '/', /\d/, /\d/, '/', /\d/, /\d/, /\d/, /\d/]; // dd/mm/yyyy | |
| public maskedInputController; |
Download, unzip and drag to your Applications directory.
https://www.iterm2.com/downloads.html