W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2007

[whatwg] classList.toggle()

From: mozer <xmlizer@gmail.com>
Date: Sat, 28 Apr 2007 12:49:38 +0200
Message-ID: <21d9ade60704280349o3c900e21iac5e5dd75d79cf27@mail.gmail.com>
+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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:54 UTC