IgxColorEditorComponent

new IgxColorEditorComponent(renderer: Renderer2, _elRef: ViewContainerRef, ngZone: NgZone, injector: Injector): IgxColorEditorComponent

Returns IgxColorEditorComponent

_childTemplateRef: TemplateRef<any>
_dynamicContent: ViewContainerRef
container: Element
ngAcceptInputType_allowTextInput: string | boolean
ngAcceptInputType_baseTheme: any
ngAcceptInputType_density: any
ngAcceptInputType_isDisabled: string | boolean
ngAcceptInputType_isFixed: string | boolean
ngAcceptInputType_openAsChild: string | boolean
ngAcceptInputType_openOnFocus: string | boolean
ngAcceptInputType_showClearButton: string | boolean
ngAcceptInputType_useTopLayer: string | boolean
ɵcmp: ɵɵComponentDeclaration<IgxColorEditorComponent, "igx-color-editor", never, object, object, never, ["*"], true, never>
ɵfac: ɵɵFactoryDeclaration<IgxColorEditorComponent, never>

Gets or sets the AllowTextInput property to detirmine if entering text into the input is allowed

get allowTextInput(): boolean

Returns boolean

set allowTextInput(v: boolean): void

Parameters

  • v: boolean

Returns void

Gets or sets the base built in theme to use for the date picker.

get baseTheme(): BaseControlTheme

Returns BaseControlTheme

set baseTheme(v: BaseControlTheme): void

Parameters

  • v: BaseControlTheme

Returns void

Gets or sets the display density to use for the date pcicker.

get density(): ControlDisplayDensity

Returns ControlDisplayDensity

set density(v: ControlDisplayDensity): void

Parameters

  • v: ControlDisplayDensity

Returns void

get gotFocus(): EventEmitter<object>

Returns EventEmitter<object>

Gets or Sets the text color

get iconColor(): string

Returns string

set iconColor(v: string): void

Parameters

  • v: string

Returns void

get isDisabled(): boolean

Returns boolean

set isDisabled(v: boolean): void

Parameters

  • v: boolean

Returns void

Indicates that the editor dropdown will position itself relative to the window instead of the document.

get isFixed(): boolean

Returns boolean

set isFixed(v: boolean): void

Parameters

  • v: boolean

Returns void

Gets or Sets the property name that contains the label.

get label(): string

Returns string

set label(v: string): void

Parameters

  • v: string

Returns void

Gets or sets the color to use for the text.

get labelTextColor(): string

Returns string

set labelTextColor(v: string): void

Parameters

  • v: string

Returns void

Gets or sets the font to use for the input.

get labelTextStyle(): string

Returns string

set labelTextStyle(v: string): void

Parameters

  • v: string

Returns void

get lostFocus(): EventEmitter<object>

Returns EventEmitter<object>

Indicates that the dropdown should open as a child of the color editor.

get openAsChild(): boolean

Returns boolean

set openAsChild(v: boolean): void

Parameters

  • v: boolean

Returns void

Gets or sets the AllowTextInput property to detirmine if entering text into the input is allowed

get openOnFocus(): boolean

Returns boolean

set openOnFocus(v: boolean): void

Parameters

  • v: boolean

Returns void

Gets or sets the ShowClearButton property to detirmine if the clear button is shown

get showClearButton(): boolean

Returns boolean

set showClearButton(v: boolean): void

Parameters

  • v: boolean

Returns void

Gets or Sets the text color

get textColor(): string

Returns string

set textColor(v: string): void

Parameters

  • v: string

Returns void

Gets or sets the font to use for the combobox.

get textStyle(): string

Returns string

set textStyle(v: string): void

Parameters

  • v: string

Returns void

Indicates that the dropdown will place itself into the browser top layer.

get useTopLayer(): boolean

Returns boolean

set useTopLayer(v: boolean): void

Parameters

  • v: boolean

Returns void

Gets or Sets color value of the editor.

get value(): string

Returns string

set value(v: string): void

Parameters

  • v: string

Returns void

Called when color is selected.

get valueChanged(): EventEmitter<object>

Returns EventEmitter<object>

Called when color is selected.

get valueChanging(): EventEmitter<object>

Returns EventEmitter<object>

Returns a serialized copy of the exported visual model

exportSerializedVisualModel(): string

Returns string

Exports visual information about the current state of the color editor.

exportVisualModel(): any

Returns any

findByName(name: string): any

Parameters

  • name: string

Returns any

ngAfterViewInit(): void

Returns void

ngOnDestroy(): void

Returns void

select(): void

Returns void

updateStyle(): void

Returns void

_createFromInternal(internal: any): IgxColorEditorComponent

Parameters

  • internal: any

Returns IgxColorEditorComponent