frontend/.pnpm-store/v3/files/67/1ba7d8187325ba0cd9e2f702647bdd88184418817cc1dc580ac5352af43b58843ebe7ead96e996a36e9c6595ea063cc0e363e594c448934910e3db7775ca6e

28 lines
820 B
Plaintext

import { Config, UserConfig } from './config';
import { VNode } from 'preact';
import { EventEmitter } from './util/eventEmitter';
import { GridEvents } from './events';
import { PluginManager } from './plugin';
declare class Grid extends EventEmitter<GridEvents> {
config: Config;
plugin: PluginManager;
constructor(userConfig?: UserConfig);
updateConfig(userConfig: Partial<UserConfig>): this;
createElement(): VNode;
/**
* Uses the existing container and tries to clear the cache
* and re-render the existing Grid.js instance again. This is
* useful when a new config is set/updated.
*
*/
forceRender(): this;
/**
* Mounts the Grid.js instance to the container
* and renders the instance
*
* @param container
*/
render(container: Element): this;
}
export default Grid;