LoadingBarOptions
interface LoadingBarOptions
Options for the LoadingBar
| PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION |
|---|---|---|---|---|
| type | string | ✔️ | "default" | A type(style) of the loading bar. |
| className | object | ✔️ | LoadingBar.DEFAULT_CLASS | Class names of the loading bar elements. |
| loadingLabel | string | ✔️ | "Loading 3D Model..." | A text to display while loading 3D model. |
| parsingLabel | string | ✔️ | "Parsing 3D Model..." | A text to display while parsing the model after loading is done. |
| labelColor | string | ✔️ | "#ffffff" | A text color in CSS string. |
| barWidth | string | ✔️ | "70%" | Loading bar's width in CSS string. This is only applicable for type "default" |
| barHeight | string | ✔️ | "10px" | Loading bar's height in CSS string. |
| barBackground | string | ✔️ | "#bbbbbb" | Loading bar's background color in CSS string. This is not applicable to type "spinner" |
| barForeground | string | ✔️ | "#3e8ed0" | Loading bar's foreground color in CSS string. |
| spinnerWidth | string | ✔️ | "30%" | Spinner's width in CSS string. This is only applicable for type "spinner" |
| overlayBackground | string | ✔️ | "rgba(0, 0, 0, 0.3)" | Overlay's background color in CSS string. This is not applicable to type "top" |