This plugin contains the UI control for a star rating inside your NativeScript app. Currently this plugin is in development and only for iOS.
xmlns:TNSStarRatings="nativescript-star-ratings"
<TNSStarRatings:StarRating width="300" height="40" value="1" />
Property | Type | Default |
---|---|---|
max | number | 10 |
min | number | 0 |
value | number | 0 |
starColor | UIColor | red |
allowsHalfStars | boolean | false |
accurateHalfStars | boolean | true |
emptyStar | string | "heart-empty" |
halfStar | string | "heart-half" |
filledStar | string | "heart-full" |
Feel free to submit a PR (pull-request) for new features, bug fixes, etc.
- https://github.com/hsousa/HCSStarRatingView (POD Library)