Skip to content

codixir/star-rating-widget-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

star-rating-widget-vanilla-js

Created with CodeSandbox

Usage

  • First create a div with a specific class name inside your HTML.
  • The widget will be mounted on this div
  • Create a new instance of the Stars class with the name of the class and number of stars passed in as parameters as follows:

const stars1 = new Stars(".stars-container1", 5);

About

Created with CodeSandbox

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published