The tile component is used within the tile manager as a container for displaying various types of information.
- Element
-
igc-tile
- 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`.
Remarks
The tile is a region, and the content of its title slot names it.
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 = 1 Defined in src/components/tile-manager/tile.ts:253
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 = null Defined in src/components/tile-manager/tile.ts:278
disableFullscreen
Section titled "disableFullscreen"Whether to hide the fullscreen-action slot and the default fullscreen
action.
disableFullscreen: boolean = false Defined in src/components/tile-manager/tile.ts:332
disableMaximize
Section titled "disableMaximize"Whether to hide the maximize-action slot and the default maximize action.
disableMaximize: boolean = false Defined in src/components/tile-manager/tile.ts:341
disableResize
Section titled "disableResize"Whether to disable resizing of the tile, whatever the resize mode of the manager.
disableResize: boolean = false Defined in src/components/tile-manager/tile.ts:322
maximized
Section titled "maximized"Whether the tile occupies all available space within the layout.
maximized: boolean = false Defined in src/components/tile-manager/tile.ts:312
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 = -1 Defined in src/components/tile-manager/tile.ts:356
rowSpan
Section titled "rowSpan"The number of rows the tile spans. A value is truncated to a whole number, at least 1.
rowSpan: number = 1 Defined in src/components/tile-manager/tile.ts:264
rowStart
Section titled "rowStart"The start row of the tile. A value below 1 removes the explicit start.
rowStart: number | null = null Defined in src/components/tile-manager/tile.ts:289
tagName
Section titled "tagName"The tagName read-only property of the Element interface returns the tag name of the element on which it's called.
tagName: "igc-tile" = 'igc-tile' Defined in src/components/tile-manager/tile.ts:143
Accessors
Section titled "Accessors"fullscreen
Section titled "fullscreen"Whether the tile occupies the whole screen.
get fullscreen(): boolean Defined in src/components/tile-manager/tile.ts:299
Returns boolean
Methods
Section titled "Methods"connectedCallback
Section titled "connectedCallback"connectedCallback(): void Defined in src/components/tile-manager/tile.ts:378