Skip to content

five-on-it / apps/client/src/gui/panel / PanelRules

Interface: PanelRules ​

Defined in: apps/client/src/gui/panel.ts:65

How wide a panel may be, and where it goes once its size is known.

Properties ​

blocks ​

blocks: boolean

Defined in: apps/client/src/gui/panel.ts:71

It takes the mouse: a click on it is never a shot, the pointer over it never aims.


place ​

place: (size, theme) => Placement

Defined in: apps/client/src/gui/panel.ts:69

Where it goes, given its size.

Parameters ​

size ​
height ​

number

width ​

number

theme ​

Theme

Returns ​

Placement


width ​

width: (theme) => number

Defined in: apps/client/src/gui/panel.ts:67

The widest the panel may be (px).

Parameters ​

theme ​

Theme

Returns ​

number