TileLayoutComponent
Represents the Kendo UI TileLayout component for Angular
<kendo-tilelayout [columns]="3" [gap]="10">
<kendo-tilelayout-item>Content 1</kendo-tilelayout-item>
<kendo-tilelayout-item>Content 2</kendo-tilelayout-item>
</kendo-tilelayout>
Selector
kendo-tilelayout
Inputs
Name | Type | Default | Description |
---|---|---|---|
autoFlow |
|
|
Controls how the auto-placement algorithm works, specifying exactly how auto-placed items are flowed in the TileLayout (see example). For further reference, check the grid-auto-flow CSS article. |
columns |
|
|
Specifies the number of columns (see example). |
columnWidth |
|
|
Sets the width of the columns. Use numeric values for pixels or string values for other CSS units (see example). |
gap |
|
|
Sets the spacing between layout items in pixels.
Use an object with |
navigable |
|
|
Enables or disables keyboard navigation. |
reorderable |
|
|
Enables or disables item reordering (see example). |
resizable |
|
|
Enables or disables item resizing (see example). |
rowHeight |
|
|
Sets the height of the rows. Use numeric values for pixels or string values for other CSS units (see example). |
Fields
Name | Type | Default | Description |
---|---|---|---|
items |
|
Contains a query list of the |
Events
Name | Type | Description |
---|---|---|
reorder |
|
Fires when item reordering is completed (see example). You can prevent this event to cancel the reorder operation. |
resize |
|
Fires when item resizing is completed (see example). You can prevent this event to cancel the resize operation. |