((el, msg) => {
const ask = () => el.contentWindow.postMessage(msg, ‘*’)
addEventListener(‘message’, e => e.data.replyTo === msg && (el.style.height = `${e.data.h}px`))
addEventListener(‘resize’, ask)
el.addEventListener(‘load’, ask)
})(document.querySelector(‘iframe#elementor’), ‘height’)
The post The ultimate toy guide of 2022 appeared first on Today's Parent.