ColorScale class for selecting a color from a given palette, or interpolating between adjacent colors in that palette.

IgcCustomPaletteColorScaleComponent

new IgcCustomPaletteColorScaleComponent(): IgcCustomPaletteColorScaleComponent

Returns IgcCustomPaletteColorScaleComponent

htmlTagName: string
interpolationMode: ColorScaleInterpolationMode
maximumValue: number
minimumValue: number
palette: string[]

Inherited from: IgcColorScaleComponent

propertyUpdated: object
get observedAttributes(): string[]

Returns string[]

Inherited from: IgcColorScaleComponent

attributeChangedCallback(name: string, oldValue: string, newValue: string): void

Parameters

  • name: string
  • oldValue: string
  • newValue: string

Returns void

connectedCallback(): void

Returns void

disconnectedCallback(): void

Returns void

Inherited from: IgcColorScaleComponent

findByName(name: string): any

Parameters

  • name: string

Returns any

providePalette(colors: string[]): void

Parameters

  • colors: string[]

Returns void

Inherited from: IgcColorScaleComponent

_createFromInternal(internal: any): IgcColorScaleComponent

Parameters

  • internal: any

Returns IgcColorScaleComponent

register(): void

Returns void