[whatwg] classList.toggle()

How about about adding a toggle() operation to classList? Adds the  
token if not present, removes it if present. This would be useful for  
script code that dynamically manipulates classes to cause style changes.

Regards,
Macie

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20070427/1b3c48fc/attachment.htm>

Received on Friday, 27 April 2007 19:36:07 UTC