mmo-console
1 symbol · generated 30 Sep 2026
mmo-console
mmo-console.jhs:1Console element to display errors, warning and logs
- Extends
- CustomShadowElement
Index
| warningCount readonly accessor | Get the warning count | |
| errorCount readonly accessor | Get the error count | |
| constructor() | ||
| init() | ||
| log(data, parent) | Log a message to the console | |
| hasErrors() | Check if the console has errors | |
| addLogs(data, group) | Add logs to the console |
Properties2
warningCount
readonlyaccessormmo-console.jhs:46Get the warning count
- Type
number
errorCount
readonlyaccessormmo-console.jhs:54Get the error count
- Type
number
Methods5
constructor()
mmo-console.jhs:9init()
mmo-console.jhs:15log(data, parent)
mmo-console.jhs:24Log a message to the console
| data | object | - The data to log |
| parent = null | HTMLElement | - The parent element to log the message to |
hasErrors()
mmo-console.jhs:38Check if the console has errors
| returns | boolean | True if the console has errors, false otherwise |
addLogs(data, group)
mmo-console.jhs:63Add logs to the console
| data | array | - The logs to add to the console |
| group = null | string | - The group to add the logs to (optional) |