![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
ngx-color-palette
Advanced tools
Angular library which provides color picker functionality to your angular application.
Angular library which provides color picker functionality to your angular application.
A color picker is a graphical user interface widget, usually found within graphics software or online, used to select colors and, in some cases, to create color schemes.
npm i ngx-color-palette
Now position
your color picker with additional attribute.
top, bottom, left, right, bottom-left, bottom-right, top-left, top-right, center
Import the module on your app.module.ts
file as follow.
import { NgxColorPaletteModule } from 'ngx-color-palette';
Then import the module as follow on imports array
NgxColorPaletteModule
on .html
<ngx-color-palette [color]="color" [squared]="false" [position]="position" (currentColor)="currentColor($event)"></ngx-color-palette>
on .ts
color = '#FBC02D'; // any color value (name / hex / rgb / hsl)
public currentColor(event: any) { // to receive output
this.color = event.color;
}
Field | type | Info |
---|---|---|
color | string | Variable to bind |
squared | boolean | Non-rounded egdes |
currentColor | event / method | to get changed / emitted value |
postion | string | place the palette |
top, bottom, left, right, bottom-left, bottom-right, top-left, top-right, center |
To use this package as a service npm i ngx-color-palette
install this on the root angular project .
Note: Don't forget to run this commend
npm i ngx-color-palette
on root folder or else it will throw error.
FAQs
Angular library which provides color picker functionality to your angular application.
We found that ngx-color-palette demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.