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

  • Default slot for the tile manager. Only igc-tile elements will be projected inside the CSS grid container.

base - The tile manager CSS Grid container.

--column-count - The number of columns for the tile manager. The column-count attribute sets this variable.

--min-col-width - The minimum size of the columns in the tile-manager. The min-column-width attribute sets this variable.

--min-row-height - The minimum size of the rows in the tile-manager. The min-row-height attribute sets this variable.

--grid-gap - The gap size of the underlying CSS grid container. The gap attributes sts this variable.

Callable

  • Returns ReactNode

Accessors

tiles: IgrTile[]

Gets the tiles sorted by their position in the layout.

Events

onTileDragCancel: (args: CustomEvent<IgrTile>) => void

Type declaration

onTileDragEnd: (args: CustomEvent<IgrTile>) => void

Type declaration

onTileDragStart: (args: CustomEvent<IgrTile>) => void

Type declaration

onTileFullscreen: (args: CustomEvent<IgrTileChangeStateEventArgsDetail>) => void

Type declaration

onTileMaximize: (args: CustomEvent<IgrTileChangeStateEventArgsDetail>) => void

Type declaration

onTileResizeCancel: (args: CustomEvent<IgrTile>) => void

Type declaration

onTileResizeEnd: (args: CustomEvent<IgrTile>) => void

Type declaration

onTileResizeStart: (args: CustomEvent<IgrTile>) => void

Type declaration

Methods

  • Restores a previously serialized state produced by saveLayout.

    Parameters

    • data: string

    Returns void

  • Returns the properties of the current tile collections as a JSON payload.

    The content of the tiles is not serialized or saved. Only tile properties are serialized.

    Returns string

Properties

columnCount: number

Sets the number of columns for the tile manager. Setting value <= than zero will trigger a responsive layout.

Whether drag and drop operations are enabled.

gap: string

Sets the gap size between tiles in the tile manager.

minColumnWidth: string

Sets the minimum width for a column unit in the tile manager.

minRowHeight: string

Sets the minimum height for a row unit in the tile manager.

Whether resize operations are enabled.