DiviArea.Utils.isPosition(container, positionType)
Checks, whether the given element (or one of its’ parents) has the given position attribute. Typically used to check, if an element is fixed or inline.
Params
container
- The element to check.
positionType
- The position value to find, like
absolute
orfixed
.
Returns
True, when the given element has the given position type.
Notes
No notes