UI Components
ActivityIndicator
UI component for signaling activity.
<ActivityIndicator>
is a UI component that shows a progress indicator signaling to the user of an operation running in the background.
Examples β
Always busy ActivityIndicator β
vue
<ActivityIndicatorbusy="true" />
xml
<ActivityIndicatorbusy="true" />
html
<ActivityIndicatorbusy="true" />
svelte
<activityIndicatorbusy="true" />
tsx
<activityIndicatorbusy="true" />
tsx
<activityindicatorbusy="true" />
Props β
busy β
ts
busy: boolean
Gets or sets whether the indicator is busy.
iosIndicatorViewStyle 8.9+ β
ts
iosIndicatorViewStyle: IOSIndicatorViewStyle ='medium'|'large'
Specifies the style of the indicator. This property is iOS specific.
Valid values: medium
and large
.
Default value: medium
.
...Inherited β
For additional inherited properties, refer to the API Reference.
Events β
busyChange β
ts
on('busyChange', (args:EventData) => {
constindicator= args.object asActivityIndicator
console.log(`indicator.busy changed to: ${indicator.busy}`)
})
Emitted when the busy property changes.
See EventData.
Native component β
- Previous
- Components
- Next
- Button