Class IgcCircularGradientComponent

Used for defining gradient stops in the igc-circular-progress. For each igc-circular-gradient defined as gradient slot of igc-circular-progress element would be created a SVG stop element. The values passed as color, offset and opacity would be set as stop-color, offset and stop-opacity of the SVG element without further validations.

Element

igc-circular-gradient

Hierarchy

Hierarchy

  • LitElement
    • IgcCircularGradientComponent

Constructors

Properties

color: string = 'black'

Defines the color of the gradient stop

Attr

offset: string = '0%'

Defines where the gradient stop is placed along the gradient vector

Attr

opacity: number = 1

Defines the opacity of the gradient stop

Attr

tagName: "igc-circular-gradient" = 'igc-circular-gradient'

Methods