---
title: "CloseRequestResponse"
---
Defined in: api/node/rust-module.d.cts:443

The value that the callback of [Window.onCloseRequested](/latest/docs/node/api/interfaces/window/#oncloserequested) returns.

## Enumeration Members

### HideWindow

> **HideWindow**: `0`

Defined in: api/node/rust-module.d.cts:445

The window is hidden.

***

### KeepWindowShown

> **KeepWindowShown**: `1`

Defined in: api/node/rust-module.d.cts:447

The window stays shown.