File size: 426 Bytes
583c1c7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
type ComfyPopupProps = {
  target: HTMLElement;
  container?: HTMLElement;
  classList?: string;
  ignoreTarget?: boolean,
  closeOnEscape?: boolean,
  position?: "absolute" | "relative",
  horizontal?: "left" | "right"
}

export declare class ComfyPopup extends EventTarget {
  element: HTMLDivElement;
  constructor(props: ComfyPopupProps, ...children: HTMLElement[]);
  toggle(): void;
  update(): void;
};