Skip to content

load dialog timeout #898

@trusktr

Description

@trusktr

Feature request

timeout for load dialog

        <div id="app">
            Please wait...
        </div>

What problem does this feature solve?

Prevents a quick flash if docs load too fast. This keeps the load dialog on screen long enough so the transition doesn't look to quick. F.e. if the load dialog has a spinner, this allows it to spin for a given amount of time.

What does the proposed API look like?

            window.$docsify = {
                loadTimeout: 100, // ms
                // ...
            }

How should this be implemented in your opinion?

Haven't looked at source yet, but probably using a setTimeout.

Are you willing to work on this yourself?

Maybe

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions