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();
}
}
/background-color-randomizer/
//
Package Sidebar
Install
npm i background-color-randomizer
Weekly Downloads