1.0.2 • Published 7 years ago

background-color-randomizer v1.0.2

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

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();
  }
}