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

Method onPropsUpdate

src/components/loading-screen/index.ts:44–48  ·  view source on GitHub ↗
(property: string, _oldValue: unknown, newValue: unknown)

Source from the content-addressed store, hash-verified

42 }
43
44 override async onPropsUpdate (property: string, _oldValue: unknown, newValue: unknown) {
45 if (property === 'max') {
46 this.content('progress').attribute('max', newValue as number);
47 }
48 }
49
50 override render (): string {
51 return `

Callers

nothing calls this directly

Calls 1

contentMethod · 0.45

Tested by

no test coverage detected