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

Aspect Ratio

python component Media 4 params
PREVIEW
Preview not available — component requires runtime dependencies or no examples defined.
USAGE
python
from djust_components.components.aspect_ratio import AspectRatio

component = AspectRatio(content='',
    ratio='16/9',
    custom_class='',
    kwargs)
html = component.render()
PARAMETERS 4
NameTypeDefault
content <class 'str'> ''
ratio <class 'str'> '16/9'
custom_class <class 'str'> ''
kwargs