MCPcopy
hub / github.com/koala73/worldmonitor / constructor

Method constructor

src/components/TechHubsPanel.ts:66–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64 private onHubClick?: (hub: TechHubActivity) => void;
65
66 constructor() {
67 super({
68 id: 'tech-hubs',
69 title: t('panels.techHubs'),
70 showCount: true,
71 infoTooltip: t('components.techHubs.infoTooltip', {
72 highColor: getCSSColor('--semantic-normal'),
73 elevatedColor: getCSSColor('--semantic-elevated'),
74 lowColor: getCSSColor('--text-dim'),
75 }),
76 });
77 }
78
79 public setOnHubClick(handler: (hub: TechHubActivity) => void): void {
80 this.onHubClick = handler;

Callers

nothing calls this directly

Calls 2

tFunction · 0.90
getCSSColorFunction · 0.90

Tested by

no test coverage detected