Class ColorPickerComponent

A helper component that offers the ability to change color and keep a history of selected colors.

Implements

  • AfterViewInit

Methods

  • A callback method that is invoked immediately after Angular has completed initialization of a component's view. It is invoked only once when the view is instantiated.

    Returns void

Properties

changeEvent: EventEmitter<string> = ...

Fires an event when the user selects a new style via mouse click.

inspector: Inspector

Associated inspector. Required.

maxColors: number = 10

Maximum number of colors in history

propertyName: string

The name of the property that maps the color.

Version :