igniteui-webcomponents
Version:
Ignite UI for Web Components is a complete library of UI components, giving you the ability to build modern web applications using encapsulation and the concept of reusable components in a dependency-free approach.
24 lines (23 loc) • 736 B
TypeScript
import type IgcTileManagerComponent from './tile-manager.js';
export interface SerializedTile {
colSpan: number;
colStart: number | null;
disableFullscreen: boolean;
disableMaximize: boolean;
disableResize: boolean;
maximized: boolean;
position: number;
rowSpan: number;
rowStart: number | null;
id: string | null;
}
declare class TileManagerSerializer {
tileManager: IgcTileManagerComponent;
constructor(tileManager: IgcTileManagerComponent);
save(): SerializedTile[];
saveAsJSON(): string;
load(tiles: SerializedTile[]): void;
loadFromJSON(data: string): void;
}
export declare function createSerializer(host: IgcTileManagerComponent): TileManagerSerializer;
export {};