[whatwg] classList.toggle()

mozer xmlizer at gmail.com
Sat Apr 28 03:49:38 PDT 2007


+1

On 4/28/07, Maciej Stachowiak <mjs at apple.com> wrote:
>
>
>
> 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
>
>



More information about the whatwg mailing list