Lightbox

Available as: Web ComponentShortcodeOxygen Element

Overlay a gallery of images on top of the current page.

Properties

display

Type: stringDefault: 'block'CSS variable: --spx-lightbox-display

Component display property.

height

Type: stringDefault: 'auto'

overlay-color

Type: stringDefault: 'rgba(0, 0, 0, 0.92)'CSS variable: --spx-lightbox-overlay-color

Overlay color.

width

Type: stringDefault: '100%'

Events

spxLightboxDidLoad

Fires after component has loaded.

Methods

reload

Reload component.