CheerpX.Linux#setConsole
Configure an HTML element as the console output for CheerpX Linux applications
Sets up an HTML element to be used as the console for the application. The element will be focused and styled.
Parameters
- element (
HTMLElement
) - The HTML element that will display the console output from the CheerpX Linux application. This element will be styled and focused to act as the terminal.
Returns
setConsole
does not return a value.
Example
See also
If you’d prefer to capture output yourself, use setCustomConsole
.