From ff6c5f6dc1413681746e5115401bc0ae55f86a7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Mon, 6 Mar 2023 10:41:45 +0300 Subject: [PATCH] TerminalService .d.ts updated --- .../terminalservice/TerminalService.d.ts | 21 +++++++++++++------ pages/terminal/index.vue | 2 +- 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/components/terminalservice/TerminalService.d.ts b/components/terminalservice/TerminalService.d.ts index 7f0ce9fdb..996f426bb 100755 --- a/components/terminalservice/TerminalService.d.ts +++ b/components/terminalservice/TerminalService.d.ts @@ -1,3 +1,9 @@ +/** + * [Live Demo](https://www.primevue.org/terminal/) + * + * @module terminalservice + * + */ /** * Confirmation Service methods. * @@ -5,17 +11,20 @@ * */ 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; -/** - * [Live Demo](https://www.primevue.org/terminal/) - * - * @module terminalservice - * - */ export default TerminalService; diff --git a/pages/terminal/index.vue b/pages/terminal/index.vue index 63f203cbc..591d18d9e 100755 --- a/pages/terminal/index.vue +++ b/pages/terminal/index.vue @@ -1,5 +1,5 @@