UNPKG

@progress/kendo-angular-layout

Version:

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

48 lines (47 loc) 1.79 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { TemplateRef } from '@angular/core'; import * as i0 from "@angular/core"; /** * Represents the title template of the Kendo UI TabStrip. * To define the template, nest a `<ng-template>` tag with the `kendoTabTitle` directive inside the component tag. * * > The `kendoTabTitle` directive overrides the TabStripTab [title]({% slug api_layout_tabstriptabcomponent %}#toc-title) option. * * @example * ```ts-preview * * _@Component({ * selector: 'my-app', * template: ` * <kendo-tabstrip> * <kendo-tabstrip-tab [selected]="true"> * <ng-template kendoTabTitle> * <h4>Custom Title</h4> * </ng-template> * <ng-template kendoTabContent> * <h3>Content 1</h3> * </ng-template> * </kendo-tabstrip-tab> * * <kendo-tabstrip-tab title="Sofia"> * <ng-template kendoTabContent> * <h3>Content 2</h3> * </ng-template> * </kendo-tabstrip-tab> * </kendo-tabstrip> * ` * }) * * class AppComponent {} * * ``` */ export declare class TabTitleDirective { templateRef: TemplateRef<any>; constructor(templateRef: TemplateRef<any>); static ɵfac: i0.ɵɵFactoryDeclaration<TabTitleDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<TabTitleDirective, "[kendoTabTitle]", never, {}, {}, never, never, true, never>; }