Lightbulb Example

The class is specified in the data-toggle-class attribute (in this example text-primary ). The element is indicated by data-toggle-target .

Through the attribute data-toggle-type , the buttons can activate ("on"), or turn off ("off") class to the target element (which is indicated by its ID)