onRelative
onRelative is a JavaScript library designed to simplify the process of positioning elements relative to other elements on a web page. It allows developers to dynamically adjust the position of a target element based on the position and dimensions of a reference element. This is particularly useful for creating tooltips, dropdown menus, or other UI components that need to appear in a specific location in relation to another element without complex manual calculations.
The core functionality of onRelative involves specifying which element should be the reference and which element
onRelative aims to provide a straightforward API that abstracts away the complexities of calculating element offsets