Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Replace Loading screen

$
0
0

Hi,

I am trying to replace “Loading…” text on loading screen. I was trying to create my custom index_string and add there my custom <div>, but I am not able to do this correct.

He is my code:

app.index_string = '''

<!DOCTYPE html>

<html>

    <head>

        {%metas%}

        <title>{%title%}</title>

        {%favicon%}

        {%css%}

    

    </head>

    <body>

    <div id="react-entry-point">

        <div class="_dash-loading">

            <div>
            My custom
            </div>

        </div>

    </div>
    {%app_entry%}
        <footer>

            {%config%}

            {%scripts%}

            {%renderer%}

        </footer>

        <div></div>

    </body>

</html>

'''

My <div> appears for a second, but later “Loading…” text appears.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 6271

Trending Articles