Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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.

  • 0.0.1-beta
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
305
increased by9.32%
Maintainers
1
Weekly downloads
 
Created
Source

NgAntdColorPicker

Introduction

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

Angular version >= 15

Development

git clone https://github.com/OriginRing/ng-color-picker.git
npm install

## build
npm run build
cd dist/ng-antd-color-picker
npm pack

## install ng-antd-color-picker-${version}.tgz
npm install dist/ng-antd-color-picker/ng-antd-color-picker-${version}.tgz

## start
npm run start

## test
npm run test

Installation

npm install ···

Usage

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

Package last updated on 01 Aug 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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc