angular2-spinner

    1.0.10 • Public • Published

    Angular2 Spinner

    Simple preloading indicator.

    preview

    Instalation

    import { SpinnerModule } from 'angular2-spinner';
    ....
    imports: [
        SpinnerModule,
    ],
    ...
    

    Usage

    <spinner [size]="20" [tickness]="1" [color]="#ff66ff"></spinner>
    
    <button [disabled]="working" md-icon-button (click)="save()">
        <md-icon *ngIf="!working">save</md-icon>
        <spinner *ngIf="working" [tickness]="1" [size]="20"></spinner>
    </button>
    

    Install

    npm i angular2-spinner

    DownloadsWeekly Downloads

    730

    Version

    1.0.10

    License

    ISC

    Last publish

    Collaborators

    • albulescu
    • mvpninjas