[whatwg] classList.toggle()
David Hyatt
hyatt at apple.com
Sat Apr 28 03:51:18 PDT 2007
+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
>>
>>
More information about the whatwg
mailing list