[whatwg] classList.toggle()

+1 also.

On Apr 28, 2007, at 3:49 AM, mozer wrote:

> +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:51:18 UTC