tiny_aiplacement/loading

Description:
  • Tiny AI loading screen handling.

Source:
License:
  • http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Tiny AI loading screen handling.

Methods

(static) loadingMessages(element, delay) → {Promise.<function(): void>}

Description:
  • Display a series of messages one by one with a specified delay between each message.

    Returns a promise that resolves when the final message is displayed.

Source:
Parameters:
Name Type Description
element HTMLElement

The element to display the messages in.

delay number

The delay between each message in milliseconds.

Returns:

A function to stop the message cycling.

Type
Promise.<function(): void>