MCPcopy Index your code
hub / github.com/EasyWebApp/WebCell / WebCell

Interface WebCell

source/WebCell.tsx:21–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19export type WebCellProps<T extends HTMLElement = HTMLElement> = JsxProps<T>;
20
21export interface WebCell<P = {}> extends CustomElement {
22 props: P & WebCellProps;
23 internals: ReturnType<HTMLElement['attachInternals']>;
24 renderer: DOMRenderer;
25 root: ParentNode;
26 mounted: boolean;
27 update: () => Promise<void>;
28 /**
29 * Called at DOM tree updated
30 */
31 updatedCallback?: () => any;
32 /**
33 * Called at first time of DOM tree updated
34 */
35 mountedCallback?: () => any;
36 emit: (event: string, detail?: any, option?: EventInit) => boolean;
37}
38
39interface DelegatedEvent {
40 type: keyof HTMLElementEventMap;

Callers

nothing calls this directly

Implementers 2

RendererComponentsource/WebCell.tsx
ClassClockpreview/Clock.tsx

Calls

no outgoing calls

Tested by

no test coverage detected