ngx-chilean-rut
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

NgxRut

Esta librería permite validar en ReactiveForm y formatear RUT chilenos en Angular.

##Instalacion

    npm install ngx-chilean-rut;

Uso

    import { Component } from '@angular/core';

    @Component({
        selector: 'app-root',
        standalone: true,
        imports: [RutPipe, RutDirective],
        templateUrl: './app.component.html',
        styleUrls: ['./app.component.css']
      template: `
        <input type="text" rut [(ngModel)]="textRut" />
        <h1>  {{textRut | rut}}</h1>
      `
    })
    export class AppComponent {
        textRut: string;
    }

Ejemplo de uso Link

Readme

Keywords

none

Package Sidebar

Install

npm i ngx-chilean-rut

Weekly Downloads

2

Version

0.0.5

License

MIT

Unpacked Size

40.2 kB

Total Files

21

Last publish

Collaborators

  • jpduranhe