Socket
Book a DemoInstallSign in
Socket

mat-color-picker

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mat-color-picker

[![npm version](https://badge.fury.io/js/mat-color-picker.svg)](https://badge.fury.io/js/mat-color-picker) <a href="https://npmjs.org/package/mat-color-picker" title="View this project

1.4.3
latest
Source
npmnpm
Version published
Weekly downloads
89
-21.24%
Maintainers
1
Weekly downloads
 
Created
Source

MatColorPicker

npm version NPM downloads

Small on size, big on features! MatColorPicker is created with Angular Material and CDK.

alt text

Install

step: 1

We use some components from Material. To be able to use this component you have to install @angular/animations. If you follow all the steps on Material Guide, you already have this step done.

    npm install --save @angular/animations

Note: @angular/animations uses the WebAnimation API that isn't supported by all browsers yet. If you want to support Material component animations in these browsers, you'll have to include a polyfill.

import {BrowserAnimationsModule} from '@angular/platform-browser/animations';

@NgModule({
  ...
  imports: [BrowserAnimationsModule],
  ...
})
export class PizzaPartyAppModule { }

If you don't want to add another dependency to your project, you can use the NoopAnimationsModule.

import {NoopAnimationsModule} from '@angular/platform-browser/animations';

@NgModule({
  ...
  imports: [NoopAnimationsModule],
  ...
})
export class PizzaPartyAppModule { }

step: 2

Install the component

    npm install mat-color-picker

step: 3

Import the component in your module.

    import { MatColorPickerModule } from 'mat-color-picker';

@NgModule({
  imports: [
    ...
    MatColorPickerModule
    ...
  ],
  ...
})

How to use

    <mat-color-picker></mat-color-picker>

For more example you can our app-demo folder or read the full documentation

License

The MIT License (MIT) Copyright (c) 2018

Sponsors

alt text

Keywords

angular

FAQs

Package last updated on 27 Feb 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.