* Configuration options for creating loading screens. * @internal
| 21 | * @internal |
| 22 | */ |
| 23 | interface LoadingScreenConfig { |
| 24 | /** Title for the loading screen window */ |
| 25 | title?: string; |
| 26 | /** Initial message to display */ |
| 27 | message: string; |
| 28 | /** Width of the loading box (default: "50%") */ |
| 29 | width?: string | number; |
| 30 | /** Height of the loading box in rows (default: 7) */ |
| 31 | height?: number; |
| 32 | /** Whether to show a spinner animation (default: true) */ |
| 33 | showSpinner?: boolean; |
| 34 | /** Position of the spinner within the screen (default: "center") */ |
| 35 | spinnerPosition?: "center" | "bottom"; |
| 36 | /** Whether the loading box should be scrollable (default: false) */ |
| 37 | allowScrolling?: boolean; |
| 38 | } |
| 39 | |
| 40 | /** |
| 41 | * Creates the basic loading screen components shared by both loading functions. |
nothing calls this directly
no outgoing calls
no test coverage detected