@eclipse-scout/core
Version:
Eclipse Scout runtime
51 lines • 1.57 kB
TypeScript
import { ColorScheme, GridData, ObjectOrModel, TileDisplayStyle, WidgetModel } from '../index';
export interface TileModel extends WidgetModel {
/**
* Specifies whether position or size changes should be animated.
*
* Default is true.
*/
animateBoundsChange?: boolean;
/**
* Specifies the color scheme of the tile.
*
* It may be a {@link ColorScheme} object or a string.
* The string needs to consist of the color scheme id and an optional inverted identifier separated by -, e.g. default-inverted.
*
* By default, the non-inverted DEFAULT scheme is used, see {@link colorSchemes}.
*/
colorScheme?: ColorScheme | string;
/**
* Specifies the display style of the tile. Default is {@link Tile.DisplayStyle.DEFAULT};
*/
displayStyle?: TileDisplayStyle;
/**
* Specifies, how the tile should be positioned in the grid, if the container uses a {@link LogicalGrid}.
*/
gridDataHints?: ObjectOrModel<GridData>;
/**
* Specifies, whether the tile is selected
*
* Default is false.
*/
selected?: boolean;
/**
* Specifies, whether the tile can be selected.
*
* Default is false.
*/
selectable?: boolean;
/**
* Specifies whether the tile can be moved using drag & drop.
*
* Default is false.
*/
movable?: boolean;
/**
* Specifies whether the tile can be resized using drag & drop.
*
* Default is false.
*/
resizable?: boolean;
}
//# sourceMappingURL=TileModel.d.ts.map