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

  • LitElement
    • IgcCircularGradientComponent

Index

Constructors

  • Returns IgcCircularGradientComponent

Properties

color: string = 'black'

Defines the color of the gradient stop

offset: string = '0%'

Defines where the gradient stop is placed along the gradient vector

opacity: number = 1

Defines the opacity of the gradient stop

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