Selkies

panels/floating-panel

A panel that floats over the stream and is dragged by any element inside a data-drag-handle of its own. Its place is a fraction of the room the window leaves it, a margin in from the edges, so a resize keeps it in proportion and on screen; the fraction is kept under a prefixed key when one is named.

Functions

FloatingPanel()

function FloatingPanel(__namedParameters): Element;

Defined in: panels/floating-panel.tsx:31

Renders children at a draggable place, scrolling within what the window leaves below its top.

Parameters

ParameterType
__namedParametersFloatingPanelProps

Returns

Element