A NativeScript plugin that provides a widget to implement a linear progress bar, inspired by Google Material Design.
The ios implemention uses Philippe Boisney's linear progress bar .
tns plugin add nativescript-linearprogressbar
<Page xmlns="http://schemas.nativescript.org/tns.xsd" loaded="pageLoaded" class="page"
xmlns:Bar="nativescript-linearprogressbar">
<StackLayout>
<Bar:Linearprogressbar indeterminate="true" />
</StackLayout>
</Page>
import { registerElement } from 'nativescript-angular/element-registry';
registerElement('LinearProgressBar', () => require('nativescript-linearprogressbar').Linearprogressbar);
<LinearProgressBar indeterminate="true">
</LinearProgressBar>
- indeterminate - [boolean] if true, the bar will load indeterminately
- barColor - [string] sets the loading bar color with an hexadecimal color code
1.0
slanca (npmdroid(@)gmail.com)