Open
Description
There's a proposal on discourse to allow the setting of multiple attribute values in much the same way that jQuery allows via .attr(PlainObject)
via overloading setAttribute
. I proposed there that the name setAttribute seems to imply singular attribute nature and that it would probably be both more intuitive and more successful as a standards proposal to give it another name. This is just my personal opinion, but it strikes me worth checking here to see how others feel and if anyone is planning on/willing to take up support more formally.
https://discourse.wicg.io/t/proposal-element-setattributes-object/1917/7
Metadata
Metadata
Assignees
Labels
No labels