You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| title | The title displayed in the header. | string | vue-web-terminal |
130
-
| show-header | Whether to display the header, this switch will affect the drag and [drop](#Drag) function. Only when the header is displayed can the drag and drop function provided by default be used. | boolean | true |
131
-
| init-log | The log displayed when Terminal is initialized. It is an array composed of [Message](#Message), `null` is not displayed. | array | / |
132
-
| warn-log-count-limit | If the current Terminal log number exceeds this limit, a warning will be issued. Setting a value of `<= 0` will not issue a warning. | number | 200 |
133
-
| auto-help | Whether to enable the command line automatic search prompt function. | boolean | true |
134
-
| enable-example-hint | Whether to show sample prompts, provided that `auto-help` is enabled. | boolean | true |
135
-
| command-store | Customized command library, the search prompt function will scan this library, see [Command Definition](#Command)| array |[Local Commands](#Local)|
136
-
| command-store-sort | Command line library sorting function, the display collation of the custom command library. | function | function(a,b) |
137
-
| input-filter | Custom input filter, the return value is the filtered string, must be plain text, no html tags. | function | function(当前输入字符char, 输入框内字符串value, input事件event) |
138
-
| drag-conf | Drag and drop window configuration items. **If you do not configure it, the parent element will be filled with 100%, and the window width and height are equal to the width and height of the parent element.**| object |[Drag](#Drag)|
139
-
| command-formatter | Command display formatting function, pass in the current command and return a new command, support html. If not set, the internally defined highlight style will be used. | function | function(cmd) |
140
-
| tab-key-handler | The logic processing method when the user types the Tab key can be used in conjunction with the `helpCmd` slot. | function | function(event) |
141
-
| search-handler | User-defined command search prompt implementation, the callback needs to resolve a command object, the specific format see [Command Definition format](#Command), can be used with `helpCmd` this slot | function | function(commandStore, key, callback) |
| title | The title displayed in the header. | string | vue-web-terminal |
130
+
| show-header | Whether to display the header, this switch will affect the drag and [drop](#Drag) function. Only when the header is displayed can the drag and drop function provided by default be used. | boolean | true |
131
+
| init-log | The log displayed when Terminal is initialized. It is an array composed of [Message](#Message), `null` is not displayed. | array | / |
132
+
| warn-log-count-limit | If the current Terminal log number exceeds this limit, a warning will be issued. Setting a value of `<= 0` will not issue a warning. | number | 200 |
133
+
| auto-help | Whether to enable the command line automatic search prompt function. | boolean | true |
134
+
| enable-example-hint | Whether to show sample prompts, provided that `auto-help` is enabled. | boolean | true |
135
+
| command-store | Customized command library, the search prompt function will scan this library, see [Command Definition](#Command)| array |[Local Commands](#Local)|
136
+
| command-store-sort | Command line library sorting function, the display collation of the custom command library. | function | function(a,b) |
137
+
| input-filter | Custom input filter, the return value is the filtered string, must be plain text, no html tags. | function | function(当前输入字符char, 输入框内字符串value, input事件event) |
138
+
| drag-conf | Drag and drop window configuration items. **If you do not configure it, the parent element will be filled with 100%, and the window width and height are equal to the width and height of the parent element.**| object |[Drag](#Drag)|
139
+
| command-formatter | Command display formatting function, pass in the current command and return a new command, support html. If not set, the internally defined highlight style will be used. | function | function(cmd) |
140
+
| tab-key-handler | The logic processing method when the user types the Tab key can be used in conjunction with the `helpCmd` slot. | function | function(event) |
141
+
| search-handler | User-defined command search prompt implementation, the callback needs to resolve a command object, the specific format see [Command Definition format](#Command), can be used with `helpCmd` this slot | function | function(commandStore, key, callback) |
0 commit comments