how to add toggle class in javascript using css modules code example
Example: how to add toggle class in javascript using css modules
onClick() {
alert("clicked");
$('.'+ styles.transform ).toggleClass(styles.transform-active);
}
onClick() {
alert("clicked");
$('.'+ styles.transform ).toggleClass(styles.transform-active);
}