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