Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nativescript-star-ratings

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nativescript-star-ratings

NativeScript star ratings UI component plugin.

  • 1.0.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

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

Keywords

FAQs

Package last updated on 29 Dec 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc