Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ngx-color-palette

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-color-palette - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

3

lib/ngx-color-palette.component.d.ts

@@ -7,2 +7,3 @@ import { AfterViewInit, ElementRef, EventEmitter } from '@angular/core';

squared: boolean;
position: string;
currentColor: EventEmitter<any>;

@@ -337,3 +338,3 @@ mode: string;

static ɵfac: i0.ɵɵFactoryDeclaration<NgxColorPaletteComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NgxColorPaletteComponent, "ngx-color-palette", never, { "color": "color"; "squared": "squared"; }, { "currentColor": "currentColor"; }, never, never, false, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NgxColorPaletteComponent, "ngx-color-palette", never, { "color": "color"; "squared": "squared"; "position": "position"; }, { "currentColor": "currentColor"; }, never, never, false, never>;
}
{
"name": "ngx-color-palette",
"version": "0.0.5",
"version": "0.0.6",
"peerDependencies": {

@@ -5,0 +5,0 @@ "@angular/common": "^15.2.0",

export * from './lib/ngx-color-palette.service';
export * from './lib/ngx-color-palette.component';
export * from './lib/ngx-color-palette.module';
export * from './lib/RAW';

@@ -11,5 +11,10 @@ <img width="256px" src="https://github.com/manoj10101996/resources/blob/main/ngx-color-palette.png?raw=true"/>

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.
---
> 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.
Now `position` your color picker with additional attribute.
`
top, bottom, left, right, bottom-left, bottom-right, top-left, top-right, center
`
[<img src="https://github.com/manoj10101996/resources/blob/main/ngx-color-palette.gif?raw=true" width="100%" >](https://www.beforepost.com/package/ngx/ngx-color-palette)

@@ -25,3 +30,2 @@

## Import

@@ -39,10 +43,6 @@

```
<ngx-color-palette [color]="'red'" (currentColor)="currentColor($event)"></ngx-color-palette>
```
on .html
```
<ngx-color-palette [color]="color" [squared]="false" (currentColor)="currentColor($event)"></ngx-color-palette>
<ngx-color-palette [color]="color" [squared]="false" [position]="position" (currentColor)="currentColor($event)"></ngx-color-palette>
```

@@ -60,9 +60,10 @@

| Field | type | Info |
| ------------ | -------------- | ------------------------------ |
| color | string | Variable to bind |
| squared | boolean | Non-rounded egdes |
| currentColor | event / method | to get changed / emitted value |
| 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 |
[<img src="https://github.com/manoj10101996/resources/blob/main/ngx-color-palette-poster.png?raw=true" width="100%" >](https://www.beforepost.com/package/ngx/ngx-color-palette)

@@ -69,0 +70,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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