Dojo NG is being built in the open, one section at a time — follow along on Heptapod.

API REFERENCE · FEEDBACK

<dj-loading-indicator>

A linear bar or circular spinner. active (default true) toggles visibility while preserving layout. Exposes role="progressbar".

Try it in the playground

@dojo-ng/loading-indicator · v0.1.1

npm install @dojo-ng/loading-indicator

import "@dojo-ng/loading-indicator";

Properties

PropertyAttributeTypeDefault
active active reflected boolean true
type type reflected "linear""circular-small""circular-medium""circular-large" "linear"
label label string None

CSS parts

Style these with dj-loading-indicator::part(name).

base

CSS custom properties

PropertyDefaultDescription
--dj-loading-linear-height4pxThickness of the linear (bar) indicator.