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

Method apply

src/actions/ShowTextBox.ts:13–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11 }
12
13 override async apply(): Promise<void> {
14 const textBox = this.engine.element().find('[data-component="text-box"]').get(0) as TextBox | undefined;
15 textBox?.setState({ hidden: false });
16 }
17
18 override async didApply(): Promise<ActionApplyResult> {
19 this.engine.state({ textboxHidden: false });

Callers

nothing calls this directly

Calls 2

getMethod · 0.65
elementMethod · 0.45

Tested by

no test coverage detected