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

Streaming Text

python component Advanced 7 params
EXAMPLES 1
Generating response...
python
streaming_text(text='Generating response...', active=True)
USAGE
python
from djust_components.components.streaming_text import StreamingText

component = StreamingText(stream_event='stream_chunk',
    text='',
    markdown=False,
    auto_scroll=True,
    cursor=True,
    custom_class='',
    kwargs)
html = component.render()
PARAMETERS 7
NameTypeDefault
stream_event <class 'str'> 'stream_chunk'
text <class 'str'> ''
markdown <class 'bool'> False
auto_scroll <class 'bool'> True
cursor <class 'bool'> True
custom_class <class 'str'> ''
kwargs