How to use the ngx-color/helpers.calculateAlphaChange function in ngx-color

To help you get started, we’ve selected a few ngx-color examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github scttcper / ngx-color / src / lib / common / alpha.component.ts View on Github external
handleChange($event: Event) {
    const data = calculateAlphaChange($event, this, this.container.nativeElement);
    if (data) {
      this.onChange.emit({ data, $event });
    }
  }
}

ngx-color

A Collection of Color Pickers from Sketch, Photoshop, Chrome & more

MIT
Latest version published 1 year ago

Package Health Score

57 / 100
Full package analysis