@jay-js/system
Version:
A powerful and flexible TypeScript library for UI, state management, lazy loading, routing and managing draggable elements in modern web applications.
14 lines (13 loc) • 621 B
TypeScript
export type TRenderOptions = {
insert?: "append" | "prepend";
replace?: boolean;
};
export type TRenderContentItem = Node | string | HTMLElement | Promise<HTMLElement> | null | undefined;
export type TRenderContent = TRenderContentItem | TRenderContentItem[] | null | undefined;
export type TRenderContentItemSync = Node | string | HTMLElement | null | undefined;
export type TRenderContentSync = TRenderContentItemSync | TRenderContentItemSync[] | null | undefined;
export type TRenderTarget = HTMLElement | string | null;
export type TQueryOptions = {
onlyVisible?: boolean;
includeNested?: boolean;
};