Skip to main content
zerotal

Documentation


Documentation / @zerotal/monitor / MonitorPanelHost

Interface: MonitorPanelHost

Defined in: monitor/src/panel.ts:103

The monitor's write surface, bound into the container as monitor.panel.

Contributors should declare their own minimal copy of the members they use rather than importing this type, so they depend on this package not at all.

Methods

enabled()

enabled(id): boolean

Defined in: monitor/src/panel.ts:109

Whether the app has left this contributor switched on. Check it first and return early — sections: { scheduler: false } in config/monitor.ts turns a contributor off without uninstalling its provider.

Parameters

id

string

Returns

boolean


section()

section(section): void

Defined in: monitor/src/panel.ts:110

Parameters

section

MonitorSection

Returns

void