fun-modal-auto-size

A modal is a dialog that takes over the screen, positioning itself over the rest of the content. While the modal is open the rest of the page cannot be interacted with.

This component is for the actual dialog. It is designed to work together with the fun-modal-controller component.

See the Modals page for more details of using modals with further examples.

Examples

Specifications

Properties

PropertyAttributeRequiredDescriptionTypeDefault
closeButtonclose-buttonfalseShould the modal have a close buttonbooleantrue

Events

NameDescription
funModalCloseOccurs when the close button is clicked.

Slots

NameDescription
bodyFor the modal body.
footerFor the modal footer, usually only contains action buttons.
headerFor the modal header / title.

Dependencies

Depends on

This documentation page generated from the source at fun-modal-auto-size.tsx

Search Gunnel

Powered byAlgolia