The tile manager component enables the dynamic arrangement, resizing, and interaction of tiles.

Slots
default — Default slot for the tile manager. Only tile elements are projected inside the CSS grid container.
CSS Parts
base — The tile manager CSS Grid container.
maximized-tile — Indicates that a tile is maximized. Applies to `base`.

The number of columns, truncated to a whole number. A value of 0 or less gives a responsive layout.

columnCount: number

The drag mode of the tiles. none turns drag and drop off.

dragMode: TileManagerDragMode

The gap between the tiles.

gap: string | undefined

The locale of the tiles. A tile without its own locale takes this one. Without it, the manager takes its own lang, else the locale of the nearest ancestor that has a locale (a component) or a lang, and then the global locale.

locale: string

The minimum width of a column.

minColumnWidth: string | undefined

The minimum height of a row.

minRowHeight: string | undefined

The resize mode of the tiles. none turns resizing off.

resizeMode: TileManagerResizeMode

The tiles, sorted by their position in the layout.

get tiles(): IgrTileComponent[]

Returns IgrTileComponent[]

Applies a layout from saveLayout to the tiles with the same id. Invalid JSON throws.

loadLayout(data: string): void

Parameters

  • data: string

Returns void

Returns the tile properties as a JSON string. The content of the tiles is not saved.

saveLayout(): string

Returns string

onTileDragCancel(args: CustomEvent<IgrTileComponent>): void

Parameters

Returns void

onTileDragEnd(args: CustomEvent<IgrTileComponent>): void

Parameters

Returns void

onTileDragStart(args: CustomEvent<IgrTileComponent>): void

Parameters

Returns void

onTileFullscreen(args: CustomEvent<IgrTileChangeStateEventArgs>): void

Parameters

Returns void

onTileMaximize(args: CustomEvent<IgrTileChangeStateEventArgs>): void

Parameters

Returns void

onTileResizeCancel(args: CustomEvent<IgrTileComponent>): void

Parameters

Returns void

onTileResizeEnd(args: CustomEvent<IgrTileComponent>): void

Parameters

Returns void

onTileResizeStart(args: CustomEvent<IgrTileComponent>): void

Parameters

Returns void