Basic
Description
This component is used to display a loading indicator.
API
Supports global configuration
View the default configuration for this component. Learn more about global configuration.
import { LuiSpinModule } from '@lqvrent-workspace/lqvrent-ui/spin';
<lui-spin luiSimple></lui-spin>
<lui-spin [luiSpinning]="isSpinning">
<!-- Blurred content while spinning -->
</lui-spin>
lui-spin
Property | Description | Type | Default |
---|---|---|---|
[luiSimple] | Set to true if the spin has no children | boolean | false |
[luiSize] | Size of the spin. If provide a string, must be a valid CSS unit (ex: 1rem ) | 'small' | 'default' | 'large' | string | 'default' |
[luiIndicator] | Custom indicator | TemplateRef<void> | defined in config |
[luiSpinning] | Whether the spin is showing | boolean | true |
[luiDelay] | Delay (in ms) before the spin is shown | number | 0 |
[luiTip] | Description of the spin | string | - |
More examples
Sizes
This is text, as a reference
Use small
in inline text, default
in card-level block, and large
in a loading page.
Inside container
Embedded
Action completed successfully
Very important stuff that you need to know.
Description
Loading...
Action completed successfully
Very important stuff that you need to know.
Loading...
Loading...
Delay
Action completed successfully
Very important stuff that you need to know.
If luiSpinning
ends during delay, loading status won't appear.
Custom indicator
This is text, as a reference