Appearance
Function: findWrapper()
ts
function findWrapper(
own,
form,
protectedElements
): Element;The element hidden in place of a field: the highest ancestor below the form that holds none of the form's other controls, hidden inputs or protected text. data-nam-wrapper on an ancestor names it outright.
Parameters
| Parameter | Type |
|---|---|
own | Element[] |
form | Element |
protectedElements | ReadonlySet<Element> |
Returns
Element