Skip to content

Commit f661e4d

Browse files
committed
add doc setAttributes
1 parent 66362b8 commit f661e4d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,10 @@ parses the specified text as HTML and inserts the resulting nodes into the DOM t
126126

127127
Set `value` to `key` attribute.
128128

129+
### HTMLElement#setAttributes(attrs: Record<string, string>)
130+
131+
Set attributes of the element.
132+
129133
### HTMLElement#removeAttribute(key: string)
130134

131135
Remove `key` attribute.

0 commit comments

Comments
 (0)