A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://tzfun.github.io/vue-web-terminal/attributes.html below:

Website Navigation


Attributes | vue-web-terminal

Attributes

This plugin provides rich properties to make it more flexible.

name

Tips

Multiple Terminal instances can be created on the same page, but their name attributes must be different and globally unique.

context context-suffix

Tips

This switch will affect the drag function. The default drag function can only be used when the header is displayed.

title drag-conf

Tips

This configuration is only effective when show-header is turned on.

If this property is not configured, the window width and height will fill the parent element 100%, and the window width and height are equal to the parent element width and height.

init-log command-store log-size-limit enable-default-command line-space cursor-style
type TerminalCursorStyle = 'block' | 'underline' | 'bar' | 'none'
enable-cursor-blink enable-fold enable-hover-stripe command-formatter
type CommandFormatterFunc = (cmd: string) => string;
enable-input-tips enable-help-box input-tips-select-handler

 * Input prompt selection processing function
 *
 * @param command       The complete command line entered by the current user
 * @param cursorIndex   Current cursor position
 * @param item          User selection prompt
 * @param callback      After filling, this function needs to be called to return a new command line
 */
type InputTipsSelectHandlerFunc = (command: string, cursorIndex: number, item: InputTipItem, callback: (cmd: string) => void) => void
input-tips-search-handler

 * Implementation of user-defined command search prompt
 *
 * @param command       The complete command line entered by the current user
 * @param cursorIndex   Current cursor position
 * @param commandStore  Command collection
 * @param callback      Search end callback, the callback format is an array
 */
type InputTipsSearchHandlerFunc = (command: string, cursorIndex: number, commandStore: Command[], callback: (tips: InputTipItem[], openTips?: boolean) => void) => void
push-message-before
type PushMessageBeforeFunc = (message: Message, name: String) => void;
command-sort-handler
type CommandSortHandlerFunc = (a: any, b: any) => number;
input-filter
type InputFilterFunc = (str1: string, str2: string, event: InputEvent) => string | null;

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4