/

Angular

Overview Setup Source code

  1. Install libraries

    /your/project/path>

        
          npm install @maskito/{core,angular}
        
  2. Import MaskitoDirective to your component / module

    your.component.ts

        
          import {Component} from '@angular/core';
    import {MaskitoDirective} from '@maskito/angular';
    
    @Component({
      // ...
      imports: [
        MaskitoDirective,
        // ...
      ],
    })
    export class YourComponent {}