8.8 released—CSS Media Query support, SF Symbols and much more...
Learn more

<ActivityIndicator> is a UI component that shows a progress indicator signaling to the user of an operation running in the background.

xml
<ActivityIndicator busy="true" />

Examples

Always busy ActivityIndicator

xml
<ActivityIndicator busy="true" />

Props

busy

ts
busy: boolean

Gets or sets whether the indicator is busy.


...Inherited

For additional inherited properties, refer to the API Reference.

Events

busyChange

ts
on('busyChange', (args: EventData) => {
  const indicator = args.object as ActivityIndicator
  console.log(`indicator.busy changed to: ${indicator.busy}`)
})

Emitted when the busy property changes.

See EventData.

Native component

Previous
Components
Next
Button