Skip to main content

LightBox

The LightBox component is a window consisting of 2 parts, header and body. This window can be draggable and used as a full screen, and you can also customize its position on the screen. This component includes the form that opens on the screen, the image dialog box, etc.

Props

AttributeDescriptionType
widthSets the width of the lightbox.string
heightSets the height of the light box.string
headerPaddingsets the header padding.string
zIndexThe z-index used for the component.string
pinnedpin the component.boolean
classAllows custom properties to take effect.string
borderSpecifies the frame thickness.boolean
closeBtnAdd a close button to the component.boolean
headerPaddingAdd padding to the header.string
fullScreenIt can maximize and minimize the light box.boolean
resizableComponent allowing you to resize as you prefer.boolean
visibleVisibility of LightBox component.boolean

Events

AttributeDescription
closePopupEvent emitted when click close button
mountedEvent emitted when mounted
clickOutsideEvent emitted when click div outside
clickInsideEvent emitted when click div inside

Samples Component

How do I use the full screen feature of the LightBox component?

How do I use the minimize feature of the LightBox component?

How do I use the resizable property of the LightBox component?

Samples Qjson

LightBox