Ghost/ghost/admin/app/components/gh-fullscreen-modal.hbs

17 lines
559 B
Handlebars
Raw Normal View History

<LiquidWormhole @class="fullscreen-modal-container">
<div class="fullscreen-modal-background" {{action "clickOverlay"}}></div>
<div class={{this.modalClasses}}>
{{#if hasBlock}}
{{yield}}
{{else}}
{{#let (component this.modalPath) as |ModalComponent|}}
<ModalComponent
@model={{this.model}}
@confirm={{action "confirm"}}
@closeModal={{action "close"}}
/>
{{/let}}
{{/if}}
</div>
</LiquidWormhole>