UNPKG

primeng

Version:

[![npm version](https://badge.fury.io/js/primeng.svg)](https://badge.fury.io/js/primeng) [![npm downloads](https://img.shields.io/npm/dm/primeng.svg)](https://www.npmjs.com/package/primeng) [![Actions CI](https://github.com/primefaces/primeng/workflows/No

29 lines (28 loc) 589 B
import { TemplateRef } from '@angular/core'; import { MenuItem } from 'primeng/api'; /** * Defines valid templates in SpeedDial. * @group Templates */ export interface SpeedDialTemplates { /** * Custom template of item. */ item(context: { /** * Data of the item. */ $implicit: MenuItem[]; /** * Index of the item. */ index: number; }): TemplateRef<{ $implicit: MenuItem[]; index: number; }>; /** * Custom template of button. */ button(): TemplateRef<any>; }