{ if (props != null && contentPanel != null) fitPopup(props, contentPanel) }} on:keydown={(evt) => { if (props != null) handleKeydown(evt) }} on:beforeprint={() => { if (props != null && contentPanel != null) fitPopup(props, contentPanel) }} on:afterprint={() => { if (props != null && contentPanel != null) fitPopup(props, contentPanel) }} /> {#if props} {#if !(component != null)} {:else}
{#if props.element !== 'content'}