@dtu-olp-2024/carousel-nocobase
Version:
A NocoBase plugin for carousel view display. Built for the DTU GreenHope project.
19 lines (18 loc) • 799 B
TypeScript
import { Plugin } from '@nocobase/client';
export declare class CarouselNocobaseClient extends Plugin {
/**
* Loads and registers various components, scopes, and settings
* into the application. This method does the following:
*
* 1. Adds a scope for block name properties to the application.
* 2. Registers the Carousel component with the application.
* 3. Adds carousel-specific settings to the schema settings manager.
* 4. Adds an initializer item for adding a block to the page,
* using the carousel initializer item.
*
* This method assumes that `this.app` provides functionality for
* adding scopes, components, and initializing schema-related settings.
*/
load(): Promise<void>;
}
export default CarouselNocobaseClient;