Console
From MegaZine3
![]() |
|
|---|---|
| Name | Console |
| Files |
|
The console plugin provides a simple console, which allows easier tracking of errors, e.g. loading problems of page content (to check if there is warning, meaning the path is incorrect), but also for debugging.
The console can be opened by pressing the # key on the keyboard.
Contents |
[edit] Settings
consolekey
- Type: String
- Default:
#
The hotkey with which to open the console. This is the character that gets compared to the KeyboardEvent.charCode of the keyboard event that gets fired when the user presses a key.
consolehtml
- Type: Boolean
- Default:
false
When set to true, console output will be HTML formatted, making the output much more readable. This comes at the cost of performance, though.
[edit] Attributes
This plugin handles no attributes.
[edit] Examples
<book plugins="console"> <!-- ... --> </book>
| MegaZine3 Plugin-related articles | |
|---|---|
| Plugins | Anchors · Background Sounds · Batchpages · Bookmarks · Console · ElementIDs · Gallery · Google Analytics · Help · JavaScript · Keyboard Navigation · Links · NavigationBar · Options · Overlays · Password · PDFLinks · Print · PrintPDF · SWFAddress· Search · Sidebar · Slideshow · Titles |
| Plugin Articles | Writing a plugin · Writing a plugin II · Plugin development |
