UNPKG

@progress/kendo-angular-dropdowns

Version:
37 lines (36 loc) 1.17 kB
import { TemplateRef } from '@angular/core'; /** * Used for rendering the footer content of the list. * * To define the footer template, nest a `<ng-template>` tag with the `kendo<ComponentName>FooterTemplate` directive inside the component tag. * * You can use: * - The `kendoAutoCompleteFooterTemplate` directive for the AutoComplete. * - The `kendoComboBoxFooterTemplate` directive for the ComboBox. * - The `kendoDropDownListFooterTemplate` directive for the DropDownList. * - The `kendoMultiSelectFooterTemplate` directive for the MultiSelect. * * * @example * ```ts * _@Component({ * selector: 'my-app', * template: ` * <kendo-combobox [data]="listItems"> * <ng-template kendoComboBoxFooterTemplate> * <h4>Footer template</h4> * </ng-template> * </kendo-combobox> * ` * }) * class AppComponent { * public listItems: Array<string> = ["Item 1", "Item 2", "Item 3", "Item 4"]; * } * ``` * * For more examples, refer to the article on [templates]({% slug templates_ddl_kendouiforangular %}). */ export declare class FooterTemplateDirective { templateRef: TemplateRef<any>; constructor(templateRef: TemplateRef<any>); }