Skip to content

Live

<ns-live>

Overview

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

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 state of the live.
Type
boolean
Default
false

busy-message

Property
busyMessage
Description
The message to display when busy.
Type
string
Default
Updating

aria-live

Property
ariaLive
Description
The aria-live attribute.
Type
string
Options
polite assertive
Default
polite

type

Property
type
Type
string
Default
standard

Slots

SlotPermitted tagsDescription
Anonymous slotAny HTML flow content.

Last updated: