@rifo/pulse-loader
v0.0.4
Published
angular pulse loader
Downloads
1
Maintainers
Readme
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';
}