14.1.27 • Published 9 months ago
@nativescript-community/ui-pager-indicator v14.1.27
iOS Demo | Android Demo |
Table of Contents
Installation
Run the following command from the root of your project:
ns plugin add @nativescript-community/ui-pager-indicator
API
Properties
Property | Type |
---|---|
color | Color or string |
selectedColor | Color or string |
PagerIndicator add page control for Pager or other Paging Views.
Usage in Angular
If you are planning to use an indicator, add the following to your module:
import { registerElement } from "@nativescript/angular";
import { PagerIndicator } from "@nativescript-community/ui-pager-indicator";
registerElement("PagerIndicator", () => PagerIndicator)
Then in your template:
<Pager id="pager" [items]="items"
...
</Pager>
<PagerIndicator pagerViewId="pager" />
Examples
- Indicator Pager
- A simple pager example using dynamic content and indicator.
Usage in Vue
Import the module into your project.
import Vue from 'nativescript-vue';
Vue.registerElement('PagerIndicator', () => require('@nativescript-community/ui-pager-indicator').PagerIndicator);
then in your template:
<Pager id="pager" :items="items"
...
</Pager>
<PagerIndicator pagerViewId="pager"/>
Examples
- Indicator Pager
- A simple pager example using dynamic content and indicator.
14.1.27
9 months ago
14.1.26
9 months ago
14.1.25
1 year ago
14.1.24
1 year ago
14.1.23
1 year ago
14.1.21
1 year ago
14.1.22
1 year ago
14.1.20
1 year ago
14.1.19
1 year ago
14.1.18
1 year ago
14.1.17
1 year ago
14.1.16
2 years ago
14.1.15
2 years ago
14.1.14
2 years ago
14.1.13
2 years ago
14.1.12
2 years ago
14.1.10
2 years ago
14.1.11
2 years ago
14.1.8
2 years ago
14.1.9
2 years ago
14.1.4
2 years ago
14.1.5
2 years ago
14.1.6
2 years ago
14.1.2
2 years ago
14.1.3
2 years ago
14.1.1
2 years ago
14.1.0
2 years ago
14.0.3
2 years ago