You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

ng-antd-color-picker

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

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.

1.1.0
latest
Source
npmnpm
Version published
Weekly downloads
251
-17.43%
Maintainers
1
Weekly downloads
 
Created
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

color-picker

FAQs

Package last updated on 15 Nov 2023

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