DiviArea.Utils.isPosition()

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 jQuery, required
The element to check.
positionType string, required
The position value to find, like absolute or fixed.

Returns

True, when the given element has the given position type.

Notes

No notes

Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Get in touch with us