Type Editor / @type-editor/tables / schema / getFromDOM
Type Alias: getFromDOM()
ts
type getFromDOM = (dom) => unknown;Defined in: tables/src/schema.ts:127
Function type for reading an attribute value from a DOM element.
Parameters
| Parameter | Type | Description |
|---|---|---|
dom | HTMLElement | The DOM element to read from. |
Returns
unknown
The extracted attribute value.