console-gui-tools
Advanced tools
Comparing version 2.1.2 to 2.2.0
@@ -110,2 +110,27 @@ /// <reference types="node" /> | ||
/** | ||
* @description This method is used to change the layout options. | ||
* if update is true, the layout will be updated. | ||
* | ||
* @param {LayoutOptions} options | ||
* @param {boolean} [update=true] | ||
* @memberof ConsoleManager | ||
* | ||
* @example CM.setLayoutOptions({ showTitle: true, boxed: true, boxColor: 'cyan', boxStyle: 'bold', changeFocusKey: 'ctrl+l', type: 'double', direction: 'vertical' }) | ||
* @example CM.setLayoutOptions({ ...CM.getLayoutOptions(), type: "quad" }) | ||
*/ | ||
setLayoutOptions(options: LayoutOptions, update?: boolean): void; | ||
/** | ||
* @description This method is used to update the layout | ||
* @memberof ConsoleManager | ||
*/ | ||
updateLayout(): void; | ||
/** | ||
* @description This method is used to get the layout options. | ||
* @returns {LayoutOptions} The layout options. | ||
* @memberof ConsoleManager | ||
* @example CM.getLayoutOptions() | ||
* @example CM.getLayoutOptions().boxed | ||
*/ | ||
getLayoutOptions(): LayoutOptions; | ||
/** | ||
* @description This method is used to get the log page size. | ||
@@ -112,0 +137,0 @@ * @returns {number} The log page size. |
{ | ||
"name": "console-gui-tools", | ||
"version": "2.1.2", | ||
"version": "2.2.0", | ||
"description": "A simple library to draw option menu, text popup or other widgets and layout on a Node.js console.", | ||
@@ -5,0 +5,0 @@ "main": "dist/esm/ConsoleGui.mjs", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1110313
3456