nsr

nativescript-star-ratings

NativeScript star ratings UI component plugin.

Showing:

Popularity

Downloads/wk

22

Maintenance

No Maintenance Data Available

Package

Dependencies

0

License

Apache-2.0

Type Definitions

Built-In

Tree-Shakeable

No?

Categories

Readme

NativeScript Star Ratings

npm npm Build Status

Installation

tns plugin add nativescript-star-ratings

Configuration

IMPORTANT: Make sure you include xmlns:ui="nativescript-star-ratings" on the Page element

<ui:StarRating emptyBorderColor="white" emptyColor="white" filledBorderColor="black" filledColor="red" value="2" max="5"/>

Angular

import { registerElement } from 'nativescript-angular/element-registry';
registerElement('StarRating', () => require('nativescript-star-ratings').StarRating);
<StarRating emptyBorderColor="white" emptyColor="white" filledBorderColor="black" filledColor="red" value="{{value}}" max="{{max}}"></StarRating>

API

Properties

PropertyDefaultTypeRequiredDescription
emptyBorderColorbluestring
  • - [ ]
IOS only
emptyColorwhitestring
  • - [ ]
filledBorderColorbluestring
  • - [ ]
IOS only
filledColorbluestring
  • - [ ]
value0number
  • - [ ]
max5number
  • - [ ]

ScreenShots

IOSAndroid
IOSAndroid

TODO

  • Custom images

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100