@nativescript-community/ui-pager-indicator
TypeScript icon, indicating that this package has built-in type declarations

14.1.24 • Public • Published

@nativescript-community/ui-pager-indicator

Downloads per month NPM Version

A NativeScript Indicator for Pager / Carousel /CollectionView


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 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.

/@nativescript-community/ui-pager-indicator/

    Package Sidebar

    Install

    npm i @nativescript-community/ui-pager-indicator

    Weekly Downloads

    14

    Version

    14.1.24

    License

    Apache-2.0

    Unpacked Size

    214 kB

    Total Files

    23

    Last publish

    Collaborators

    • dgmachado
    • classicoldsong
    • mayerlench
    • jcassidyav
    • sebjean
    • cjohn001
    • edusperoni
    • asharghi
    • farfromrefuge
    • triniwiz
    • eddyverbruggen
    • rigor789
    • walkerrunpdx
    • dnr
    • keerl
    • cvietor
    • bradmartin
    • rdlabo
    • tralves