PopupManager Class
Popup Manager class
Methods
Name | Description | |
---|---|---|
constructor(): PopupManager | ||
addOrUpdatePopup(popupInfo: PopupInfo): void Static | ||
closeToolSettings(): boolean Static | ||
displayCard(content: React.ReactNode, options: DisplayCardPopupOptions): boolean Static | ||
displayToolbar(items: ToolbarItem[], options: CommonPopupOptions & { onItemExecuted: (item: any) => void }): boolean Static | ||
getPopupPosition(el: HTMLElement, pt: Readonly<WritableXAndY>, offset: Readonly<WritableXAndY>, size: SizeProps): Point Static | ||
hideCard(id?: string): boolean Static | ||
hideComponent(id?: string): boolean Static | ||
hideHTMLElement(): boolean Static | Deprecated | |
hideInputEditor(): boolean Static | ||
hideKeyinPalette(): boolean Static | ||
hideToolbar(): boolean Static | ||
openToolSettings(dataProvider: DialogLayoutDataProvider, el: HTMLElement, pt: Readonly<WritableXAndY>, offset: Readonly<WritableXAndY>, onCancel: () => void, relativePosition: RelativePosition): boolean Static | ||
removePopup(id: string): boolean Static | ||
showCard(content: PopupContentType, title: string | PropertyRecord, toolbarProps: AbstractToolbarProps, el: HTMLElement, pt: Readonly<WritableXAndY>, offset: Readonly<WritableXAndY>, onItemExecuted: (item: any) => void, onCancel: () => void, relativePosition: RelativePosition): boolean Static | Deprecated | |
showComponent(displayElement: React.ReactElement<any, string | React.JSXElementConstructor<any>>, options: CommonPopupOptions): boolean Static | Displays a React component as a popup. | |
showHTMLElement(displayElement: HTMLElement, el: HTMLElement, pt: Readonly<WritableXAndY>, offset: Readonly<WritableXAndY>, onCancel: () => void, relativePosition: RelativePosition): boolean Static | Deprecated | |
showInputEditor(el: HTMLElement, pt: Readonly<WritableXAndY>, value: Primitives.Value, propertyDescription: PropertyDescription, onCommit: OnValueCommitFunc, onCancel: () => void): boolean Static | ||
showKeyinPalette(keyins: KeyinEntry[], el: HTMLElement, onItemExecuted?: (item: any) => void, onCancel?: () => void): boolean Static | ||
showToolbar(toolbarProps: AbstractToolbarProps, el: HTMLElement, pt: Readonly<WritableXAndY>, offset: Readonly<WritableXAndY>, onItemExecuted: (item: any) => void, onCancel: () => void, relativePosition: RelativePosition): boolean Static | Deprecated |
Properties
Name | Type | Description | |
---|---|---|---|
defaultOffset Accessor Static | Readonly<WritableXAndY> | ||
onPopupsChangedEvent Static Readonly | PopupsChangedEvent | ||
popupCount Accessor Static ReadOnly | number | ||
popups Accessor Static | ReadonlyArray<PopupInfo> |
Defined in
Last Updated: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.