0.0.4 • Published 5 years ago

@rifo/pulse-loader v0.0.4

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

PulseLoader

              _                _                 _
  _ __  _   _| |___  ___      | | ___   __ _  __| | ___ _ __
 | '_ \| | | | / __|/ _ \_____| |/ _ \ / _` |/ _` |/ _ \ '__|
 | |_) | |_| | \__ \  __/_____| | (_) | (_| | (_| |  __/ |
 | .__/ \__,_|_|___/\___|     |_|\___/ \__,_|\__,_|\___|_|
 |_|

Demo

Example

Table of Contents

Installation

npm i @rifo/pulse-loader 

Usage

IMPORT MODULE

// import PulseLoaderModule
import { PulseLoaderModule } from '@rifo/pulse-loader';

@NgModule({
  imports:      [ BrowserModule, PulseLoaderModule ],
  declarations: [ AppComponent ],
  bootstrap:    [ AppComponent ]
})
export class AppModule { }

COMPONENT USAGE

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

@Component({
  selector: 'my-app',
  template: `	<ngx-pulse-loader [color]="color" [width]="width"></ngx-pulse-loader>`,
  styleUrls: ['./app.component.scss']
})
export class AppComponent {
    color = '#1abc9c';
    width = '13px';
}