ColorScale class for selecting a color from a given palette, or interpolating between adjacent colors in that palette.
Constructors
Section titled "Constructors"IgcCustomPaletteColorScaleComponent
new IgcCustomPaletteColorScaleComponent(): IgcCustomPaletteColorScaleComponent Returns IgcCustomPaletteColorScaleComponent
Properties
Section titled "Properties"htmlTagName
Section titled "htmlTagName"htmlTagName: string interpolationMode
Section titled "interpolationMode"interpolationMode: ColorScaleInterpolationMode maximumValue
Section titled "maximumValue"maximumValue: number minimumValue
Section titled "minimumValue"minimumValue: number palette
Section titled "palette"palette: string[] propertyUpdated
Section titled "propertyUpdated"Inherited from: IgcColorScaleComponent
propertyUpdated: object Accessors
Section titled "Accessors"observedAttributes
Section titled "observedAttributes"get observedAttributes(): string[] Returns string[]
Methods
Section titled "Methods"attributeChangedCallback
Section titled "attributeChangedCallback"Inherited from: IgcColorScaleComponent
attributeChangedCallback(name: string, oldValue: string, newValue: string): void Parameters
- name:
string - oldValue:
string - newValue:
string
Returns void
connectedCallback
Section titled "connectedCallback"connectedCallback(): void Returns void
disconnectedCallback
Section titled "disconnectedCallback"disconnectedCallback(): void Returns void
findByName
Section titled "findByName"Inherited from: IgcColorScaleComponent
findByName(name: string): any Parameters
- name:
string
Returns any
providePalette
Section titled "providePalette"providePalette(colors: string[]): void Parameters
- colors:
string[]
Returns void
_createFromInternal
Section titled "_createFromInternal"Inherited from: IgcColorScaleComponent
_createFromInternal(internal: any): IgcColorScaleComponent Parameters
- internal:
any
Returns IgcColorScaleComponent
register
Section titled "register"register(): void