Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

select checkbox raitng in order javascript React

<StarRatingComponent    name={String} /* name of the radio input, it is required */    value={Number} /* number of selected icon (`0` - none, `1` - first) */    starCount={Number} /* number of icons in rating, default `5` */    onStarClick={Function(nextValue, prevValue, name)} /* on icon click handler */    onStarHover={Function(nextValue, prevValue, name)} /* on icon hover handler */    onStarHoverOut={Function(nextValue, prevValue, name)} /* on icon hover out handler */    renderStarIcon={Function(nextValue, prevValue, name)} /* it should return string or react component */    renderStarIconHalf={Function(nextValue, prevValue, name)} /* it should return string or react component */    starColor={String} /* color of selected icons, default `#ffb400` */    emptyStarColor={String} /* color of non-selected icons, default `#333` */    editing={Boolean} /* is component available for editing, default `true` *//>
Source by www.npmjs.com #
 
PREVIOUS NEXT
Tagged: #select #checkbox #raitng #order #javascript #React
ADD COMMENT
Topic
Name
9+6 =