I am creating a mechanism for Reactjs, and using jQuery in Reactjs is like breaking a thumb with a hammer. You do not do this.
So, I have two functions in jquery that are very useful
window.jQuery(DOMNode).offset();
window.jQuery(elem).position();
I looked at everything where for javascript equivalents. I even looked at their implementation details, but, alas, I do not want our right-hand copy, because it's good that it will be the same as just using the functions themselves.
Does anyone know of any functions that get me the same or similar return values of these functions?
source
share