UNPKG

primevue

Version:

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![npm version](https://badge.fury.io/js/primevue.svg)](https://badge.fury.io/js/primevue) [![Discord Chat](https://img.shields.io/discord/55794023

31 lines (28 loc) 705 B
/** * [Live Demo](https://www.primevue.org/terminal/) * * @module terminalservice * */ /** * Confirmation Service methods. * * @group Model * */ export interface TerminalServiceOptions { /** * Displays the terminal using the action options. */ on(action: 'command' | 'response' | undefined, fn: any): void; /** * Emits the terminal using the action options. */ emit(action: 'command' | 'response' | undefined, params?: any): void; /** * Closes the terminal using the action options. */ off(action: 'command' | 'response' | undefined, fn: any): void; } declare const TerminalService: TerminalServiceOptions; export default TerminalService;