djust-theming | Demo Home Components | Gallery Storybook Editor Diff

Image Lightbox

python component Media 8 params
PREVIEW
Preview not available — component requires runtime dependencies or no examples defined.
USAGE
python
from djust_components.components.image_lightbox import ImageLightbox

component = ImageLightbox(images=None,
    active=0,
    open=False,
    close_event='close_lightbox',
    navigate_event='lightbox_navigate',
    show_counter=True,
    custom_class='',
    kwargs)
html = component.render()
PARAMETERS 8
NameTypeDefault
images typing.Optional[list] None
active <class 'int'> 0
open <class 'bool'> False
close_event <class 'str'> 'close_lightbox'
navigate_event <class 'str'> 'lightbox_navigate'
show_counter <class 'bool'> True
custom_class <class 'str'> ''
kwargs