@progress/kendo-angular-layout
Version:
Kendo UI for Angular Layout Package - a collection of components to create professional application layoyts
46 lines (45 loc) • 2.15 kB
JavaScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { Component, HostBinding } from '@angular/core';
import * as i0 from "@angular/core";
/**
* Contains the main content of the `TileLayoutItem` component.
*
* @example
* ```html
* <kendo-tilelayout-item>
* <kendo-tilelayout-item-body>
* <p>Main content goes here</p>
* </kendo-tilelayout-item-body>
* </kendo-tilelayout-item>
* ```
*/
export class TileLayoutItemBodyComponent {
hostClass = true;
minHeight = 0;
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TileLayoutItemBodyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TileLayoutItemBodyComponent, isStandalone: true, selector: "kendo-tilelayout-item-body", host: { properties: { "class.k-tilelayout-item-body": "this.hostClass", "class.k-card-body": "this.hostClass", "style.min-height": "this.minHeight" } }, ngImport: i0, template: `
<ng-content></ng-content>
`, isInline: true });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TileLayoutItemBodyComponent, decorators: [{
type: Component,
args: [{
selector: 'kendo-tilelayout-item-body',
template: `
<ng-content></ng-content>
`,
standalone: true
}]
}], propDecorators: { hostClass: [{
type: HostBinding,
args: ['class.k-tilelayout-item-body']
}, {
type: HostBinding,
args: ['class.k-card-body']
}], minHeight: [{
type: HostBinding,
args: ['style.min-height']
}] } });