try {
let resizeObserver = new ResizeObserver(entries => {
console.log('resize', entries)
})
resizeObserver.observe(this)
} catch (e) {
console.log(e)
}