Skip to content

Type Editor


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

ParameterTypeDescription
valueunknownThe attribute value from the node.
attrsMutableAttrsThe mutable attributes object to modify.

Returns

void