Toggles an element's custom CSS class.
The toggle()
function either adds or removes an element's custom CSS class.
false
when an existing custom class gets removed from the element's class list.true
when the custom class gets added to the element's class list.
The custom class to toggle.