It's a fancy list motherfucker
<ul class="list-group">
<li class="list-group-item">
<span class="badge badge-primary"></span> Cras justo odio
</li>
<li class="list-group-item">Dapibus ac facilisis in</li>
<li class="list-group-item">Morbi leo risus</li>
</ul>To allow hover effects add list-group-interactive to list-group classes
To allow toggling, add list-group-toggle to list-group classes
Allows multiple active butt butts.
If you want one of the butts reset the active class, add the class .list-group-toggle-reset to it
If you want to allow the group to have no active bitches add .list-group-toggle-allow-no-active to the group
<ul
class="list-group list-group-toggle list-group-toggle-multiple list-group-toggle-allow-no-active "
>
<li class="list-group-item list-group-toggle-reset">All</li>
<li class="list-group-item">
<span class="badge badge-primary"></span> Cras justo odio
</li>
<li class="list-group-item">Dapibus ac facilisis in</li>
<li class="list-group-item">Morbi leo risus</li>
</ul>it has some but just for the functionality of toggling dem in a .list-group-toggle
Make a new boi by going const listGroup = new fw.ListGroup(element)
useful when you need to close tthis listGroup
toggles the listGroup
element is the element triggered. if left blank, this defaults to the element attached to the instance
click_fw_listGroup- happens on theelementbefore_toggle_fw_listGroup- happens onelementbefore toggletoggle_fw_listGroup- happens onelementwhen toggleafter_toggle_fw_listGroup- happens onelementafter toggle
