Skip to content

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

ParameterType
ownElement[]
formElement
protectedElementsReadonlySet<Element>

Returns

Element

Proprietary. All rights reserved.