Socket
Socket
Sign inDemoInstall

ng-antd-color-picker

Package Overview
Dependencies
6
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ng-antd-color-picker

The angular version of the color-picker component based on antd styles.


Version published
Weekly downloads
534
decreased by-10.1%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

NgAntdColorPicker

Introduction

The angular version of the color-picker component based on antd styles.

Angular version >= 17 npm package

Installation

npm install ng-antd-color-picker

Usage

standalone:
import { NgAntdColorPickerComponent, NgAntdColorBlockComponent } from 'ng-antd-color-picker';
module:
import { NgAntdColorPickerModule } from 'ng-antd-color-picker';

<ng-antd-color-picker></ng-antd-color-picker>

<ng-antd-color-block color="#ff6600"></ng-antd-color-block>
  • Basic

    basic
  • Custom Header / Footer

    basic
  • Color Block

    basic

API

ng-antd-color-picker

ParameterDescriptionTypeDefault
[value]Value of colorstringColorValue-
[defaultValue]Default value of colorstringColorValue-
[disabled]Disable ColorPickerbooleanfalse
[disabledAlpha]Disable Transparencybooleanfalse
[panelRenderHeader]Set the header of the color pickerTemplateRef<void>-
[panelRenderFooter]Set the tail of the color pickerTemplateRef<void>-
(nzOnChange)Callback when value is changedEventEmitter<{ color: Color; type?: HsbaColorType }>-
(nzOnChangeComplete)Called when clearEventEmitter<HsbaColorType>-

ng-antd-color-block

ParameterDescriptionTypeDefault
[color]Module colorsstring#1677ff
[nzOnClick]Callbacks for clicking on color blocksEventEmitter<boolean>-

Keywords

FAQs

Last updated on 15 Nov 2023

Did you know?

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc