![]() |
VOOZH | about |
Blaze UI is a framework-free open-source UI toolkit. It provides a great foundation for building scalable websites faster. Blaze UI comes with a lot of pre-styled components and many utilities so that developers don't have to build everything from scratch. All of its components rely solely on native browser features so it can be used without any library or framework.
In this article, we will be seeing Blaze UI Modal Attributes. Modal is a component of a web page that displays in front of all content of the web page. It is generally used to provide or take information from users. The Modal component in Blaze UI has four attributes which are listed below.
Blaze UI Modal Attributes:
Syntax:
<blaze-modal open dismissible full ghost> ... </blaze-modal>
Example 1: The below example shows the use of open and dismissible attributes on the modal. It will be open by default and can be dismissed by clicking on the close button or the overlay.
Output:
Example 2: This example shows the use of the ghost attribute on the blaze modal.
Output:
Example 3: The below example shows the use of the full attribute on the modal to make it appear on fullscreen.
Output:
Reference: https://www.blazeui.com/objects/modals/