GuidesAPI Reference
API Reference

toggleGroup(groupId)

Toggle a group on or off depending on it's current state.

import Mimic from 'mimic';

const group = Mimic.groups[0];

console.log(group.active); // true
Mimic.toggleGroup(group.id);

console.log(group.active); // false