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

31 lines
722 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.
*
* @group Interfaces
*
*/
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.
*/
on: (action: 'command' | 'response' | undefined, fn: any) => void;
2023-03-06 07:41:45 +00:00
/**
* Emits the terminal using the action options.
*/
emit: (action: 'command' | 'response' | undefined, params?: any) => void;
2023-03-06 07:41:45 +00:00
/**
* Closes the terminal using the action options.
*/
off: (action: 'command' | 'response' | undefined, fn: any) => void;
2022-09-06 12:03:37 +00:00
}
declare const TerminalService: TerminalServiceOptions;
export default TerminalService;