ngx-color-palette
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
440249
4586
78