A linear progress indicator used to express unspecified wait time or display the length of a process.
- Element
-
igc-linear-progress
- Slots
-
default— The text area container.
- CSS Parts
-
track— The igc-linear-progress track area. -
fill— The igc-linear-progress indicator area. -
striped— The igc-linear-progress striped indicator. -
label— The igc-linear-progress label. -
value— The igc-linear-progress label value. -
indeterminate— The igc-linear-progress indeterminate state. -
primary— The igc-linear-progress indicator primary state. -
danger— The igc-linear-progress indicator error state. -
warning— The igc-linear-progress indicator warning state. -
info— The igc-linear-progress indicator info state. -
success— The igc-linear-progress indicator success state.
Constructors
Section titled "Constructors"IgcLinearProgressComponent
new IgcLinearProgressComponent(): IgcLinearProgressComponent Defined in src/components/progress/linear-progress.ts:61
Returns IgcLinearProgressComponent
Properties
Section titled "Properties"animationDuration
Section titled "animationDuration"Inherited from: IgcProgressBaseComponent
Animation duration in milliseconds.
animationDuration: number = 500 Defined in src/components/progress/base.ts:68
hideLabel
Section titled "hideLabel"Inherited from: IgcProgressBaseComponent
Shows/hides the label of the control.
hideLabel: boolean = false Defined in src/components/progress/base.ts:82
indeterminate
Section titled "indeterminate"Inherited from: IgcProgressBaseComponent
The indeterminate state of the control.
indeterminate: boolean = false Defined in src/components/progress/base.ts:75
labelAlign
Section titled "labelAlign"The position for the default label of the control.
labelAlign: LinearProgressLabelAlign = 'top-start' labelFormat
Section titled "labelFormat"Inherited from: IgcProgressBaseComponent
Format string for the default label of the control. Placeholders: {0} - current value of the control. {1} - max value of the control.
labelFormat: string Defined in src/components/progress/base.ts:92
Inherited from: IgcProgressBaseComponent
Maximum value of the control.
max: number = 100 Defined in src/components/progress/base.ts:47
value
Section titled "value"Inherited from: IgcProgressBaseComponent
The value of the control.
value: number = 0 Defined in src/components/progress/base.ts:54
variant
Section titled "variant"Inherited from: IgcProgressBaseComponent
The variant of the control.
variant: StyleVariant = 'primary' Defined in src/components/progress/base.ts:61
styles
Section titled "styles"Array of styles to apply to the element. The styles should be defined using the css tag function, via constructible stylesheets, or imported from native CSS module scripts.
Note on Content Security Policy:
Element styles are implemented with <style> tags when the browser doesn't
support adopted StyleSheets. To use such <style> tags with the style-src
CSP directive, the style-src value must either include 'unsafe-inline' or
nonce-<base64-value> with <base64-value> replaced be a server-generated
nonce.
To provide a nonce to use on generated <style> elements, set
window.litNonce to a server-generated nonce in your page's HTML, before
loading application code:
``
styles: CSSResult[] tagName
Section titled "tagName"tagName: "igc-linear-progress" = 'igc-linear-progress' Methods
Section titled "Methods"register
Section titled "register"register(): void Defined in src/components/progress/linear-progress.ts:39