MCPcopy
hub / github.com/maurodesouza/profile-readme-generator / on

Method on

src/events/index.ts:8–10  ·  view source on GitHub ↗
(event: Event, callback: Callback)

Source from the content-addressed store, hash-verified

6
7class EventsHandle extends Handles {
8 on(event: Event, callback: Callback) {
9 document.addEventListener(event, callback);
10 }
11
12 off(event: Event, callback: Callback) {
13 document.removeEventListener(event, callback);

Callers 8

ThemeHandlerFunction · 0.80
ReadmeResultFunction · 0.80
PanelProviderFunction · 0.80
CopyCurrentFileContentFunction · 0.80
ModalFunction · 0.80
CanvasProviderFunction · 0.80
ExtensionsProviderFunction · 0.80
SettingsProviderFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected