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

Dependencies (0)

    Dev Dependencies (5)

    Package Sidebar

    Install

    npm i background-color-randomizer

    Weekly Downloads

    3

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • dereklin