Options for dialog windows that are loaded as an HTML file from the server. See PluginAPI.FetchWindow for more details.

interface FetchWindowOptions {
    draggable: boolean;
    min_toggle: boolean;
    onclose(): unknown;
}

Properties

Methods

Properties

draggable: boolean

If true, make the dialog draggable with the mouse.

min_toggle: boolean

Add a minimize button to the header of the dialog window. Clicking the button toggles the visibility of the content child of the dialog.

Methods

  • Add a close button to the dialog header. Use the specified function as the onclick callback.

    Returns unknown