| 19 | export type WebCellProps<T extends HTMLElement = HTMLElement> = JsxProps<T>; |
| 20 | |
| 21 | export 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 | |
| 39 | interface DelegatedEvent { |
| 40 | type: keyof HTMLElementEventMap; |
nothing calls this directly
no outgoing calls
no test coverage detected