W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2011

Re: Element.create(): a proposal for more convenient element creation

From: Aryeh Gregor <ayg@aryeh.name>
Date: Tue, 2 Aug 2011 12:48:51 -0400
Message-ID: <CAKA+AxncKB6LSw6b4rhzCUQJ6qNGM+u2KxRxwXQ68tdwiZBnkA@mail.gmail.com>
To: Maciej Stachowiak <mjs@apple.com>
Cc: WebApps WG <public-webapps@w3.org>
On Mon, Aug 1, 2011 at 9:33 PM, Maciej Stachowiak <mjs@apple.com> wrote:
> In an IRC discussion with Ian Hickson and Tab Atkins, we can up with the
> following idea for convenient element creation:
> Element.create(tagName, attributeMap, children…)
>    Creates an element with the specified tag, attributes, and children.

How does this compare to popular JS helper libraries like jQuery?  It
would be useful to know what convenience APIs authors are using now
before introducing our own.
Received on Tuesday, 2 August 2011 16:49:48 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:46 GMT