Abstract
Static
Private
_checkStatic
GetStatic
GetMethod that could be used to get a Recommended position from an element if it is ouside of boudaries of a given testAgainstElement
Suggested position (Based on GlobalEnum.Position)
Element to check if is outside of boundaries
Element where the boundaries will be tested
Element Offset values to ba take in consideration
Static
GetMethod that could be used on cases where we do not have the right values from the getBoundingClientRect() method - Example when the item is with height 0(zero) and we know the value height to be tested!
Suggested position (Based on GlobalEnum.Position)
Element Bounds values to test against
Element bounds values that will be tested against
Static
IsMethod that can be used to test if a given element is outside of a testAgainstElement boudaries
Element to check if is outside of boundaries
Element where the boundaries will be tested
Element Offset values to be taken in consideration
Get the Body offset values counting with Header height if is there
Returns
Body OffsetValues