Skip to content

New feature: Custom prefix

Compare
Choose a tag to compare
@Twikito Twikito released this 18 Aug 14:14
· 270 commits to master since this release

You can change the prefix toggle in data-toggle-class and every attributes to prevent conflict with another JS library. To do so, add this attribute to your <html> element with your new prefix:

<html data-easy-toggle-state-custom-prefix="my-prefix">

It will so be set to all attributes like data-my-prefix-class.