background-color-randomizer
1.0.2 • Public • Published Example
$ npm install background-color-randomizer --save
import { Component } from '@angular/core';
import { randomizeBgColors } from 'background-color-randomizer';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {
public title = 'app';
constructor() {
randomizeBgColors();
}
}
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 1.0.2
2
Version History
Package Sidebar
Install
npm i background-color-randomizer
Weekly Downloads