WindowProps
Properties
Section titled “Properties”| Property | Type | Default value | Description |
|---|---|---|---|
children |
ReactNode |
undefined |
- |
className? |
string |
undefined |
Restyles the pane, such as its width. |
id |
string |
undefined |
What the player’s moved place is kept under, unique in the game, such as bag. |
movable? |
boolean |
true |
Whether the player drags it by its title bar to anywhere on the screen, with a mouse. A phone shows one window at a time, centred, either way. |
onClose |
() => void |
undefined |
Called by the close button, by Escape while it stands in front, and on a phone by a press beside it or another window opening. |
open |
boolean |
undefined |
- |
slot? |
Slot |
Slot.Center |
Where it opens until the player moves it. |
title |
string |
undefined |
The title bar’s words, and the window’s name for a screen reader. |