const config = { attributes: true, childList: true, subtree: true };
const callback = (mutationsList, observer) => {
let getBoundingClientRect = this.getBoundingClientRect()
console.log('postion', `left: ${getBoundingClientRect.left}`, `bottom: ${getBoundingClientRect.bottom}`, mutationsList)
};
const observer = new MutationObserver(callback);
observer.observe(this, config);