Constructor
new DebugMessageBox(container)
- Source:
Parameters:
Name | Type | Description |
---|---|---|
container |
HTMLElement | The DOM container element. |
Members
debugObject :ClubCrawler.Types.DebugConfig
- Source:
The debug settings object to reference.
Type:
element :HTMLElement
- Source:
The DOM container element.
Type:
- HTMLElement
messages :Array
- Source:
The debug message elements.
Type:
- Array
Methods
deleteMessage(debugMessage)
- Source:
Deletes a message from debug lines when the "x" on a message is clicked, then calls updateDebugMessages.
Parameters:
Name | Type | Description |
---|---|---|
debugMessage |
ClubCrawler.UserInterface.DebugMessage | The message to delete. |
loadDebugObject()
- Source:
Properties:
Type | Description |
---|---|
ClubCrawler.Types.DebugConfig | The global debug settings object. |
Loads the debug object. Adds listeners to debug.emitter for changes to debug.debugLines.
Listens to Events:
updateDebugMessages()
- Source:
Updates debug messages.
Also deletes extra messages which are larger than max debug lines.