primevue-mirror/components/terminalservice/TerminalService.d.ts

31 lines
710 B
TypeScript
Executable File

/**
* [Live Demo](https://www.primevue.org/terminal/)
*
* @module terminalservice
*
*/
/**
* Confirmation Service methods.
*
* @group Interfaces
*
*/
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;