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

ember-cli-icon-rating

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-icon-rating

Icon (i.e. stars) rating input for ember applications

  • 1.0.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

ember-cli-icon-rating

Ember Observer Score Build Status Coverage Status NPM Version NPM Downloads Dependency Status DevDependency Status Greenkeeper

Description

Rating Input that can use any Font Awesome Icon and defaults to using the star icon

DEMO

Installation

  • ember install ember-cli-icon-rating

Usage

  • Note: Uses DDAU so no updates are done without an onClick handler

Simplest Case

{{icon-rating
  value=value
  onClick=(action (mut value))
}}

Full Example

{{icon-rating
  min=5
  max=10
  size=4
  value=5
  icon='dollar'
  readOnly=true
  baseColor='red'
  fillColor='green'
  onClick=(action 'updateValue')
}}

Component Options Available

  • max - Number of stars
  • readOnly - handlers will not run
  • value - Number of stars selected
  • icon - Font Awesome icon to use for rating
  • size - size of star, i.e. lg, 2 - 5 (see Font Awesome docs)
  • baseColor - any rgb, hex, string color to be used as the initial color before selection
  • fillColor - any rgb, hex, string color to be used as the hover color or after selection
License

MIT license.

Keywords

FAQs

Package last updated on 18 Oct 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