MCPcopy Create free account
hub / github.com/Monogatari/Monogatari / willMount

Method willMount

src/lib/ScreenComponent.ts:31–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29 }
30
31 async willMount (): Promise<void> {
32 this.dataset.screen = (this.constructor as typeof ScreenComponent).tag.replace('-screen', '');
33 }
34
35 async onStateUpdate (property: string, oldValue: unknown, newValue: unknown): Promise<void> {
36 if (property === 'open') {

Callers

nothing calls this directly

Calls 1

replaceMethod · 0.80

Tested by

no test coverage detected