Close Docs

Splash (<disco-splash>)

An overlay shown during application startup.

DiscoSplash

Usage

Typically initialized via DiscoApp options, but can be customized.

By default, DiscoApp uses splash mode none. Configure splash explicitly to show it.

new DiscoApp({
    splash: {
        mode: 'auto',
        color: '#1a1a1a',
        icon: '../../assets/logo.png',
        showProgress: true,
        progressColor: '#ffffff'
    }
});

If used manually:

<disco-splash logo="../../assets/logo.png"></disco-splash>

Attributes

Behavior

API

On DiscoApp

On <disco-splash>