The tile component is used within the tile manager as a container for displaying various types of information.
- Slots
-
default— Default slot for the tile's content. -
title— Renders the title of the tile header. -
maximize-action— Renders the maximize action element of the tile header. -
fullscreen-action— Renders the fullscreen action element of the tile header. -
actions— Renders items after the default actions in the tile header. -
side-adorner— Renders the side resize handle of the tile. -
corner-adorner— Renders the corner resize handle of the tile. -
bottom-adorner— Renders the bottom resize handle of the tile.
- CSS Parts
-
base— The wrapper for the entire tile content, header and content. -
header— The container for the tile header, including title and actions. -
title— The title container of the tile. -
actions— The actions container of the tile header. -
content-container— The container wrapping the tile’s main content. -
tile-container— The wrapper around the tile content and its resize adorners. Present only while the tile can resize. -
trigger-side— The side resize handle of the tile. -
trigger— The corner resize handle of the tile. -
trigger-bottom— The bottom resize handle of the tile. -
draggable— Indicates that drag and drop is on. Applies to `base`. -
resizable— Indicates that resizing is on. Applies to `base`. -
dragging— Indicates a running drag operation. Applies to `base`. -
resizing— Indicates a running resize operation. Applies to `base`. -
maximized— Indicates the maximized state. Applies to `base`. -
fullscreen— Indicates the fullscreen state. Applies to `base`. -
active— Indicates that the resize adorners show. Applies to `tile-container`. -
custom— Indicates a slotted custom adorner. Applies to `trigger-side`, `trigger` and `trigger-bottom`.
Properties
Section titled "Properties"colSpan
Section titled "colSpan"The number of columns the tile spans. A value is truncated to a whole number, at least 1. The tile spans at most the columns from its start to the last column, and the value stays.
colSpan: number colStart
Section titled "colStart"The start column of the tile. A value below 1 removes the explicit start. A start after the last column moves the tile back so that its span fits, and the value stays. A resize that changes the column span of such a tile sets the start to the column where the tile is.
colStart: number | null disableFullscreen
Section titled "disableFullscreen"Whether to hide the fullscreen-action slot and the default fullscreen
action.
disableFullscreen: boolean disableMaximize
Section titled "disableMaximize"Whether to hide the maximize-action slot and the default maximize action.
disableMaximize: boolean disableResize
Section titled "disableResize"Whether to disable resizing of the tile, whatever the resize mode of the manager.
disableResize: boolean maximized
Section titled "maximized"Whether the tile occupies all available space within the layout.
maximized: boolean position
Section titled "position"The visual position of the tile in the layout, as the CSS order. A value
is truncated to a whole number.
position: number rowSpan
Section titled "rowSpan"The number of rows the tile spans. A value is truncated to a whole number, at least 1.
rowSpan: number rowStart
Section titled "rowStart"The start row of the tile. A value below 1 removes the explicit start.
rowStart: number | null Accessors
Section titled "Accessors"fullscreen
Section titled "fullscreen"Whether the tile occupies the whole screen.
get fullscreen(): boolean
Returns boolean
Events
Section titled "Events"onTileDragCancel
Section titled "onTileDragCancel"Fired when a drag is canceled, for example on Escape, after the start positions are back.
onTileDragCancel(args: CustomEvent<IgrTileComponent>): void Parameters
- args:
CustomEvent<IgrTileComponent>
Returns void
onTileDragEnd
Section titled "onTileDragEnd"Fired when a drag completes, after its last swap applies.
onTileDragEnd(args: CustomEvent<IgrTileComponent>): void Parameters
- args:
CustomEvent<IgrTileComponent>
Returns void
onTileDragStart
Section titled "onTileDragStart"Fired when a drag operation on a tile is about to begin. Cancelable.
onTileDragStart(args: CustomEvent<IgrTileComponent>): void Parameters
- args:
CustomEvent<IgrTileComponent>
Returns void
onTileFullscreen
Section titled "onTileFullscreen"Fired when the fullscreen state changes, with the new state in
onTileFullscreen(args: CustomEvent<IgrTileChangeStateEventArgs>): void Parameters
Returns void
onTileMaximize
Section titled "onTileMaximize"Fired before the default maximize action changes the maximized state, with the new state in
onTileMaximize(args: CustomEvent<IgrTileChangeStateEventArgs>): void Parameters
Returns void
onTileResizeCancel
Section titled "onTileResizeCancel"Fired when a resize is canceled, for example on Escape.
onTileResizeCancel(args: CustomEvent<IgrTileComponent>): void Parameters
- args:
CustomEvent<IgrTileComponent>
Returns void
onTileResizeEnd
Section titled "onTileResizeEnd"Fired when a resize operation on a tile is successfully completed.
onTileResizeEnd(args: CustomEvent<IgrTileComponent>): void Parameters
- args:
CustomEvent<IgrTileComponent>
Returns void
onTileResizeStart
Section titled "onTileResizeStart"Fired when a resize operation on a tile is about to begin. Cancelable.
onTileResizeStart(args: CustomEvent<IgrTileComponent>): void Parameters
- args:
CustomEvent<IgrTileComponent>