Type alias CloseActionOptions

CloseActionOptions: {
    reason?: string;
    runBeforeUnload?: boolean;
}

Type declaration

  • Optional reason?: string

    The reason to be reported to the operations interrupted by the page closure.

  • Optional runBeforeUnload?: boolean

    Defaults to false. Whether to run the before unload page handlers.