mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
721 B
721 B
nav-title, title, description, previous_url
| nav-title | title | description | previous_url |
|---|---|---|---|
| progress How-To | progress | Examples for using progress | /ApiReference/ui/progress/HOW-TO |
Progress
Using the progress view requires the Progress module. Binding the Progress value property to a view-model property.
<Page loaded="pageLoaded">
{%raw%}<Progress value="{{ someProperty }}" />{%endraw%}
</Page>
function pageLoaded(args) {
var page = args.object;
page.bindingContext = { someProperty : 42 };
}
exports.pageLoaded = pageLoaded;