Home > @jsplumbtoolkit/dialogs-core > extractValueFromElement
extractValueFromElement() function
Extract the value represented by the given element.
Signature:
export declare function extractValueFromElement(el: HTMLElement, unresolvedElementGetter?: (el: Element) => any): any;
Parameters
Parameter | Type | Description |
---|---|---|
el | HTMLElement | Element to extract value from. |
unresolvedElementGetter | (el: Element) => any | Optional function to use when an element with an unknown tag has a jtk-att declared on it. This function is given the element and whatever it returns - even null - will be the return value. |
Returns:
any