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

On 8/6/11, Charles Pritchard <chuck@jumis.com> wrote:
[...]
> I've stated in prior threads, that unless the word is aria-* or data-*,
> properties are set on the element.
I see. But that's inherently inconsistent and mostly misleading
("attr" alludes to "attribute" not "usually property except when it's
data or aria").

For setting properties, though, a `setOwnProperties` method could be
convenient.
-- 
Garrett

Received on Monday, 8 August 2011 09:04:11 UTC