data-hide-if-empty="true"
Preview runs the real widget JS — exactly as it appears embedded on a page.