mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-19 06:10:56 +08:00
672 B
672 B
nav-title | title | environment | description | previous_url |
---|---|---|---|---|
activity-indicator How-To | activity-indicator | nativescript | Examples for using activity-indicator | /ApiReference/ui/activity-indicator/HOW-TO |
ActivityIndicator
Using the activity indicator requires the ActivityIndicator module. {%snippet activity-indicator-require%}
Binding the activity indicator busy property to a view-model property.
<Page>
{%raw%}<ActivityIndicator busy="{{ isLoading }}" />{%endraw%}
</Page>
Creating an activity indicator
{%snippet activity-indicator-create%}
Showing activity indicator while image is loading
{%snippet activity-indicator-loading%}