Go to homepage

Projects /

Choice Tags

Custom, "tag-looking" radio/checkbox buttons.

View Demo

How to

The Choice Tags component is used to display a list of custom radio/checkbox buttons that appear as clickable tags.

Dynamic Content #

If your radio/checkbox buttons are created dynamically, you may need to initialize them (once they have been added to the page) to make them work properly.

Once the dynamic content has been added to the page, initialize it using the ChoiceTags object:

var choiceTags = document.getElementsByClassName('choice-tags')[0];
new ChoiceTags(choiceTags);

Categories

Bug report & feedback

Component Github page ↗

Project duplicated

Project created

Globals imported

There was an error while trying to export your project. Please try again or contact us.