Skip to content

Live

<ns-live>

Overview

Live draws attention to areas of the page that are dynamically updating.

✨ This is an auto-generated AI summary of the ns-live's documentation. It may not be accurate. ✨

The ns-live component comprises a loading icon, a helpful message and a subtle animation.

Examples

Guidance

Standard

Labelled diagram of ns-live

Key

KeyField typeGuidelines
AIconThis is the loading icon.
BMessageKeep this under 10 words and describe to the user what is happening e.g. Updating your quote

Implementation

Placement

Specification

Attributes

busy
Property
busy
Description
The toggle to indicate the state of the live.
Type
boolean
Default
false
busy-message
Property
busyMessage
Description
The message to display when in `busy` state.
Type
string
Default
Updating
aria-live
Property
ariaLive
Description
The accessibility feature to indicate the content will be updated after the initial page load.
Type
string
Options
polite assertive
Default
polite
type
Property
type
Type
string
Default
standard

Slots

SlotPermitted tagsDescription
Anonymous slotThe anonymous slot for any html flow content.

Last updated: