Skip to content

Module allows to insert reactions button with emojis and helps to get feedback from visitors.

Notifications You must be signed in to change notification settings

Bavian/ReactionsModule

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reactions Module

Module allows to insert reactions buttons with emojis and helps to get feedback from visitors.

How to use

To insert ReactionsModule in your page call function ReactionsModule with 2 parameters.

  1. Object with methods:
    1. Method "get" returns array of objects with "count" and "reaction" parameters. "count" is rate of this reaction. "reaction" is personal selection(selected by the user - true)
    2. Method "set" recieves the index of the reaction selected by the user and returns the value of the method get
    3. Method "getEmojis" - return array of string contains code of the emoji.
  2. HTML element - container for the ReactionBlock

About

Module allows to insert reactions button with emojis and helps to get feedback from visitors.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published