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
50 lines (49 loc) • 955 B
TypeScript
import { TemplateRef } from '@angular/core';
/**
* Custom tab change event.
* @see {@link TabView.onChange}
* @group Events
*/
export interface TabViewChangeEvent {
/**
* Browser event
*/
originalEvent: Event;
/**
* Index of the selected tab
*/
index: number;
}
/**
* Custom tab close event.
* @see {@link TabView.onClose}
* @group Events
*/
export interface TabViewCloseEvent {
/**
* Browser event
*/
originalEvent: Event;
/**
* Index of the closed tab
*/
index: number;
/**
* Used to close tab.
*/
close?(): void;
}
/**
* Defines valid templates in TabView.
* @group Templates
*/
export interface TabViewTemplates {
/**
* Previous button icon template for the scrollable component.
*/
previousicon(): TemplateRef<any>;
/**
* Next button icon template for the scrollable component.
*/
nexticon(): TemplateRef<any>;
}