The Loading Screen component offers a built-in loading component that you can display when background process is happening.

Implementation

1

Add HTML Container

1<div id="form"></div>
2

Initialize Result Component

1// Create loading form component for individual processing
2const loading = oneSdkInstance.component("form", {
3 name: "LOADING", // Personal information form
4});
3

Mount Component

1// Mount loading form to DOM element with id "form"
2loading.mount("#form");

Configuration Options

1interface LoadingConfig {
2 name: "LOADING"; // Screen identifier
3 title: TitleConfig; // Title configuration
4 descriptions: Description[]; // Description array
5}
Title
1interface TitleConfig {
2 label: string;
3 style?: "ff-title";
4}
Descriptions
1interface Description {
2 label: string;
3 style?: "ff-description";
4}
Built with