Skip to content

shripalsoni04/nativescript-star-ratings

 
 

Repository files navigation

NativeScript Star Ratings (iOS)

npm npm This plugin contains the UI control for a star rating inside your NativeScript app. Currently this plugin is in development and only for iOS.

Image

Usage

Define Plugin Element in Page

xmlns:TNSStarRatings="nativescript-star-ratings"

Use element inside view

<TNSStarRatings:StarRating width="300" height="40" value="1" />

Options

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"

Contributing

Feel free to submit a PR (pull-request) for new features, bug fixes, etc.

Credits

About

NativeScript star ratings UI component plugin.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 63.7%
  • TypeScript 35.6%
  • Ruby 0.7%