Back to Aframe

loading-screen

docs/components/loading-screen.md

1.7.11011 B
Original Source

The loading screen component configures the loading screen visual style.

To configure the style of the loader title bar one can redefine .a-loader-title style. The example below sets the text color to red:

css
 .a-loader-title {
   color: red;
 }

The title text is set to whatever is in document.title or <title></title>.

Example

The example below sets the background color to black and dots color to red.

html
<a-scene loading-screen="dotsColor: red; backgroundColor: black"></a-scene>

Properties

PropertyDescriptionDefault Value
dotsColorLoader dots color.white
backgroundColorLoader background color.#24CAFF
enabledEnables / Disables the loading screen.true