Type Editor / @type-editor/tables / schema / setDOMAttr
Type Alias: setDOMAttr()
ts
type setDOMAttr = (value, attrs) => void;Defined in: tables/src/schema.ts:135
Function type for setting an attribute value on a DOM attributes object.
Parameters
| Parameter | Type | Description |
|---|---|---|
value | unknown | The attribute value from the node. |
attrs | MutableAttrs | The mutable attributes object to modify. |
Returns
void