yo(selector).toggleClass(class)
Add a class if it does not exists or remove if exists
<div class="myclass"></div>
// add the class "name"
yo('.myclass').toggleClass('name');
// call it again remove the class "name"
yo('.myclass').toggleClass('name');
Go to index