html_raw
HtmlRaw
from dara.components.common.html_raw import HtmlRaw
class HtmlRaw(ContentComponent)
A HTML Raw component that displays a raw HTML and stretches to fit its container
A HTML Raw component can be created like:
from dara.components.common import HtmlRaw
HtmlRaw(
html='<iframe height="100%" width="100%" src="https://www.youtube.com/embed/tgbNymZ7vqY"></iframe>'
)
Arguments:
html
: The raw html to display, should be string
Attributes
- html: str