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

Method content

src/lib/Component.ts:382–384  ·  view source on GitHub ↗

* Attempts to find a content element inside of this * component or its children (light DOM) * * @param name - Name of the content element to find * @returns An Artemis DOM instance with the found elements

(name: string)

Source from the content-addressed store, hash-verified

380 * @returns An Artemis DOM instance with the found elements
381 */
382 content (name: string): DOM {
383 return $_(this).find(`[data-content="${name}"]`);
384 }
385}
386
387export default Component;

Callers 15

resetMethod · 0.45
displayCenteredDialogMethod · 0.45
displayDialogMethod · 0.45
revertMethod · 0.45
applyMethod · 0.45
applyMethod · 0.45
checkUnreadMethod · 0.45
onStateUpdateMethod · 0.45
onPropsUpdateMethod · 0.45
resizeMethod · 0.45
onStateUpdateMethod · 0.45
onPropsUpdateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected