IITC.statusbar

Status bar module for IITC that displays both map and portal status information. Provides a template-based rendering system that can be customized by plugins.

Namespaces

map

portal

Members

static mapTemplates :Object.<string, string>

Templates for map status HTML elements

static portalTemplates :Object.<string, string>

Templates for portal status HTML elements

Methods

static hide()

Hides the statusbar (pane-level visibility). Called by pane-switching code when switching away from the map view.

static init()

Initializes the statusbar system Called after IITC boot process is complete

static renderTemplate(template, replacements) → {string}

Renders a template string by replacing placeholders with actual values.

Parameters:
Name Type Description
template string

Template string with placeholders in format {{ name }}

replacements Object

Key-value pairs where keys match placeholder names

Returns:
string -

Rendered HTML with placeholders replaced by values

Example
// Returns: "<span>Hello World</span>"
IITC.statusbar.renderTemplate("<span>{{ greeting }}</span>", { greeting: "Hello World" });

static show()

Shows the statusbar (pane-level visibility). Called by pane-switching code when the map view is active.