UNPKG

@progress/kendo-angular-layout

Version:

Kendo UI for Angular Layout Package - a collection of components to create professional application layoyts

44 lines (43 loc) 2.1 kB
/**----------------------------------------------------------------------------------------- * 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 header content of the `TileLayoutItem` component. * You can drag this area to reorder items when reordering is enabled. * * @example * ```html * <kendo-tilelayout-item> * <kendo-tilelayout-item-header> * <h3>Custom Header</h3> * </kendo-tilelayout-item-header> * <p>Item content</p> * </kendo-tilelayout-item> * ``` */ export class TileLayoutItemHeaderComponent { hostClass = true; static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TileLayoutItemHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TileLayoutItemHeaderComponent, isStandalone: true, selector: "kendo-tilelayout-item-header", host: { properties: { "class.k-tilelayout-item-header": "this.hostClass", "class.k-card-header": "this.hostClass" } }, ngImport: i0, template: ` <ng-content></ng-content> `, isInline: true }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TileLayoutItemHeaderComponent, decorators: [{ type: Component, args: [{ selector: 'kendo-tilelayout-item-header', template: ` <ng-content></ng-content> `, standalone: true }] }], propDecorators: { hostClass: [{ type: HostBinding, args: ['class.k-tilelayout-item-header'] }, { type: HostBinding, args: ['class.k-card-header'] }] } });