FloatingPanelView.model
property · packages/mixins-ui/src/floatingPanel.ts:457
readonly model: ModelMixins / foldkit-mixins-ui
interface · packages/mixins-ui/src/floatingPanel.ts:456
interface FloatingPanelView<ParentMessage> {
readonly model: Model
readonly onMessage: (message: Message) => NoInfer<ParentMessage>
readonly title: string
readonly content: Html
readonly order?: ReadonlyArray<string> | undefined
readonly resizable?: boolean | undefined
readonly draggable?: boolean | undefined
readonly closeOnEscape?: boolean | undefined
readonly controls?: ReadonlyArray<Control> | undefined
readonly routes?: ReadonlyArray<Route<NoInfer<ParentMessage>>> | undefined
readonly step?: number | undefined
readonly direction?: 'ltr' | 'rtl' | undefined
readonly words?: Partial<FloatingPanelWords> | undefined
readonly style?: NamedStyle<typeof FloatingPanelSlots> | undefined
readonly mixins?: MixinList<ParentMessage> | undefined
}FloatingPanelView.modelproperty · packages/mixins-ui/src/floatingPanel.ts:457
readonly model: ModelFloatingPanelView.onMessageproperty · packages/mixins-ui/src/floatingPanel.ts:458
readonly onMessage: (message: Message) => NoInfer<ParentMessage>FloatingPanelView.titleproperty · packages/mixins-ui/src/floatingPanel.ts:460
readonly title: stringThe title, naming the panel and its header.
FloatingPanelView.contentproperty · packages/mixins-ui/src/floatingPanel.ts:461
readonly content: HtmlFloatingPanelView.orderproperty · packages/mixins-ui/src/floatingPanel.ts:463
readonly order?: ReadonlyArray<string> | undefinedThe ids of every panel on the page, from the bottom; the last is on top.
FloatingPanelView.resizableproperty · packages/mixins-ui/src/floatingPanel.ts:465
readonly resizable?: boolean | undefinedWhether it can be resized; default true.
FloatingPanelView.draggableproperty · packages/mixins-ui/src/floatingPanel.ts:467
readonly draggable?: boolean | undefinedWhether its header drags it; default true.
FloatingPanelView.closeOnEscapeproperty · packages/mixins-ui/src/floatingPanel.ts:469
readonly closeOnEscape?: boolean | undefinedWhether Escape closes it; default true.
FloatingPanelView.controlsproperty · packages/mixins-ui/src/floatingPanel.ts:476
readonly controls?: ReadonlyArray<Control> | undefinedThe header's controls, default all three. Always drawn in the order minimize, maximize, restore, close; restore is drawn whenever the panel is minimized or maximized, so a panel that can only be maximized can still come back.
FloatingPanelView.routesproperty · packages/mixins-ui/src/floatingPanel.ts:484
readonly routes?: ReadonlyArray<Route<NoInfer<ParentMessage>>> | undefinedKeys the application answers on the panel, beside Escape (unless
closeOnEscape is false). They share one keydown owner with it: a route
on the same gesture is a diagnostic naming both. The arrows on the drag
trigger and the resizing corner are the panel's own, and a press they
handled still reaches the panel, as nothing stops propagation.
FloatingPanelView.stepproperty · packages/mixins-ui/src/floatingPanel.ts:486
readonly step?: number | undefinedPixels an arrow moves or resizes it by; five times that with Shift. Default 10.
FloatingPanelView.directionproperty · packages/mixins-ui/src/floatingPanel.ts:488
readonly direction?: 'ltr' | 'rtl' | undefinedDefault 'ltr'; under 'rtl' the corner the arrows resize from is the bottom left.
FloatingPanelView.wordsproperty · packages/mixins-ui/src/floatingPanel.ts:490
readonly words?: Partial<FloatingPanelWords> | undefinedThe controls' words, the header's and the corner's; defaults FloatingPanel.words.
FloatingPanelView.styleproperty · packages/mixins-ui/src/floatingPanel.ts:492
readonly style?: NamedStyle<typeof FloatingPanelSlots> | undefinedA style of FloatingPanelSlots, for the look.
FloatingPanelView.mixinsproperty · packages/mixins-ui/src/floatingPanel.ts:494
readonly mixins?: MixinList<ParentMessage> | undefinedMixins beside the style: FloatingPanel.focusReturn.