chore(react): prototype for note context

This commit is contained in:
Elian Doran
2025-08-25 11:48:56 +03:00
parent 89d2fcb81e
commit 660db3b3ab
6 changed files with 61 additions and 19 deletions

View File

@@ -15,7 +15,7 @@ type EventHandler = ((data: any) => void);
* event / command is executed in all components - by simply awaiting the `triggerEvent()`.
*/
export class TypedComponent<ChildT extends TypedComponent<ChildT>> {
$widget!: JQuery<HTMLElement>;
$widget!: JQuery<HTMLElement | DocumentFragment>;
componentId: string;
children: ChildT[];
initialized: Promise<void> | null;