With our Javascript class FramelixModal
you can create Modal/Dialog windows easily.
Modals in Framelix use the native HTML <dialog>
, which have powerful features like making
the side behind unusable, to focus on the modal.
Modals can be stacked, so you can have many layers of them behind each other.
Let's see a few example codes.
FramelixModal options
There are many options for the FramelixModal.show
call. To modify, size, width, behaviour,
style, buttons, contents, listen for events and many more. Here are the corresponding doc
comments for that.
The complete source including other functions can be found
at