English
FxLoading
About 156 wordsLess than 1 minute
2025-12-16
Shows an animation while data is loading.
Options
| Parameter | Description | Type | Optional Values | Default |
|---|---|---|---|---|
| target | The DOM node that Loading should cover. Can be a DOM object or a string. If a string is passed, it will be used in document.querySelector | object/string | — | document.body |
| body | Same as the body modifier in the v-loading directive | boolean | — | false |
| fullscreen | Same as the fullscreen modifier in the v-loading directive | boolean | — | true |
| lock | Same as the lock modifier in the v-loading directive | boolean | — | false |
| text | Loading text displayed under the loading icon | string | — | — |
| spinner | Custom loading icon class name | string | — | — |
| background | Mask background color | string | — | — |
| customClass | Custom class name for Loading | string | — | — |
Area Loading
Displays loading in containers such as tables.
Customization
You can customize the loading text, icon, and background color.
Full-page Loading
Displays loading while page data is being loaded.
Service
Loading can also be invoked as a service.
