✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🧬 Learn how to build RNA-Seq data apps with Python & Dash. Register for the May 20 Webinar!

Use diolog to get text

Is it possible to get text with html.Dialog like promp function of javascript?
How can I do it?
Thank you

Hi @marctelly
I think you can add anything as html.Dialog children
For text you can use html.H1 to html.H6 or html.P.
An other good option is use markdown and use all its possibilities.

I @Eduardo thank you for your answer.

This doesn’t work, I want to ask name of plot by using dialog box in dash like promp function in javascript but when I use {html.Script("prompt('text');", type='text/javascript') I have nothing in return.

I found the right way to do it here