// All of the popout options + strTitle are related. Proper usage is not yet known...
exportinterfaceShowModalProps{
browserContext?: unknown;// This is another Deck Object that is yet to be found
bForcePopOut?: boolean;
bHideActionIcons?: boolean;
bHideMainWindowForPopouts?: boolean;
bNeverPopOut?: boolean;
fnOnClose?:()=>void;// Seems to be the same as "closeModal" callback, but only when the modal is a popout. Will no longer work after "Update" invocation!
popupHeight?: number;
popupWidth?: number;
promiseRenderComplete?: Promise<void>;// Invoked once the render is complete. Currently, it seems to be used as image loading success/error callback...
strTitle?: string;
}
exportinterfaceShowModalResult{
// This method will not invoke any of the variations of "closeModal" callbacks!
Close:()=>void;
// This method will replace the modal element completely and will not update the callback chains,
// meaning that "closeModal" and etc. will not automatically close the modal anymore (also "fnOnClose"
// will not be even called upon close anymore)! You have to manually call the "Close" method when, for example,
// the "closeModal" is invoked in the newly updated modal: