mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-19 23:13:04 +08:00

Needed to have a nice structured cookbook dir in the docs Includes: Move the data-module tests under the data dir Move the frame tests under the ui dir Rename the dialog.md file to dialogs.md Fix the web-view title Add previous_url attributes to each article for SEO Rename the style dir to styling to match the reference Fix the frame-tests path
721 B
721 B
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;