[whatwg] classList.toggle()

+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
>
>

Received on Saturday, 28 April 2007 03:49:38 UTC