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

31 lines
705 B
TypeScript
Raw Normal View History

2023-03-06 07:41:45 +00:00
/**
* [Live Demo](https://www.primevue.org/terminal/)
*
* @module terminalservice
*
*/
/**
* Confirmation Service methods.
*
2023-03-07 13:37:45 +00:00
* @group Model
*
*/
2022-09-06 12:03:37 +00:00
export interface TerminalServiceOptions {
2023-03-06 07:41:45 +00:00
/**
* Displays the terminal using the action options.
*/
2023-03-06 10:59:56 +00:00
on(action: 'command' | 'response' | undefined, fn: any): void;
2023-03-06 07:41:45 +00:00
/**
* Emits the terminal using the action options.
*/
2023-03-06 10:59:56 +00:00
emit(action: 'command' | 'response' | undefined, params?: any): void;
2023-03-06 07:41:45 +00:00
/**
* Closes the terminal using the action options.
*/
2023-03-06 10:59:56 +00:00
off(action: 'command' | 'response' | undefined, fn: any): void;
2022-09-06 12:03:37 +00:00
}
declare const TerminalService: TerminalServiceOptions;
export default TerminalService;