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

Method buttons

src/lib/MenuComponent.ts:79–82  ·  view source on GitHub ↗

* Get all buttons

()

Source from the content-addressed store, hash-verified

77 * Get all buttons
78 */
79 static buttons (): MenuButton[] {
80 const config = this.engine.configuration(this.tag) as { buttons: MenuButton[] };
81 return config.buttons;
82 }
83
84 /**
85 * Find a button by its string identifier

Callers 8

addButtonMethod · 0.95
addButtonAfterMethod · 0.95
addButtonBeforeMethod · 0.95
removeButtonMethod · 0.95
buttonMethod · 0.95
renderMethod · 0.80
renderMethod · 0.80
renderMethod · 0.80

Calls 1

configurationMethod · 0.65

Tested by

no test coverage detected