Re: [whatwg/dom] Add NodeList.setAttributes (#895)

To clarify further what I'm proposing after this discussion:

`Element.setAttributes = function(elements: HTMLElement[], attributeValues: {[attrName: string]: (string|number)[]})`

This allows setting a set of attribute values to a set of elements, and also allows the combined setting of multiple attributes.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/895#issuecomment-733801797

Received on Wednesday, 25 November 2020 16:10:21 UTC