Toggles whether a class is applied to the element.
示例
语法
toggleClass(c)
参数
c
{String} class name to toggle.
Notice any errors or typos? Please let us know. Please feel free to edit src/dom/p5.Element.js and open a pull request!