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
orfixed
.
Returns
True, when the given element has the given position type.
Notes
No notes