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

Dependents (0)

Package Sidebar

Install

npm i background-color-randomizer

Weekly Downloads

2

Version

1.0.2

License

MIT

Last publish

Collaborators

  • dereklin