primeng
Version:
PrimeNG is an open source UI library for Angular featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeB
33 lines (32 loc) • 663 B
TypeScript
import { TemplateRef } from '@angular/core';
/**
* Defines valid templates in TabMenu.
* @group Templates
*/
export interface TabMenuTemplates {
/**
* Custom template of item.
* @param {Object} context - item data.
*/
item(context: {
/**
* Item instance.
*/
$implicit: any;
/**
* Item index.
*/
index: number;
}): TemplateRef<{
$implicit: any;
index: number;
}>;
/**
* Custom template of nexticon.
*/
nexticon(): TemplateRef<any>;
/**
* Custom template of previousicon.
*/
previousicon(): TemplateRef<any>;
}