setAttrs
Sets several attributes at once, as setAttr does for each entry.
Import:
import 'obsidian-test-mocks/setup';Signature:
function setAttrs(this: Element, $object: Record<string, string | number | boolean | null>): voidParameters:
| Parameter | Type | Description |
|---|---|---|
this |
Element | |
$object |
Record<string, string | number | boolean | null> |
Returns: void