add toggleClassIfEnabled example