Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
ng-antd-color-picker
Advanced tools
The angular version of the color-picker component based on antd styles.
The angular version of the color-picker component based on antd styles.
Angular version >= 15
npm install ng-antd-color-picker
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
Custom Header / Footer
Color Block
Parameter | Description | Type | Default |
---|---|---|---|
[value] | Value of color | string |ColorValue | - |
[defaultValue] | Default value of color | string |ColorValue | - |
[disabled] | Disable ColorPicker | boolean | false |
[disabledAlpha] | Disable Transparency | boolean | false |
[panelRenderHeader] | Set the header of the color picker | TemplateRef<void> | - |
[panelRenderFooter] | Set the tail of the color picker | TemplateRef<void> | - |
(nzOnChange) | Callback when value is changed | EventEmitter<{ color: Color; type?: HsbaColorType }> | - |
(nzOnChangeComplete) | Called when clear | EventEmitter<HsbaColorType> | - |
Parameter | Description | Type | Default |
---|---|---|---|
[color] | Module colors | string | #1677ff |
[nzOnClick] | Callbacks for clicking on color blocks | EventEmitter<boolean> | - |
FAQs
The angular version of the color-picker component based on antd styles.
The npm package ng-antd-color-picker receives a total of 243 weekly downloads. As such, ng-antd-color-picker popularity was classified as not popular.
We found that ng-antd-color-picker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.