FloatingPanelView.model
property · packages/mixins-ui/src/floatingPanel.ts:342
readonly model: ModelMixins / foldkit-mixins-ui
interface · packages/mixins-ui/src/floatingPanel.ts:341
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 step?: number | undefined
readonly direction?: 'ltr' | 'rtl' | undefined
readonly labels?:
| {
readonly minimize?: string
readonly maximize?: string
readonly restore?: string
readonly close?: string
readonly move?: string
readonly resize?: string
}
| undefined
readonly style?: NamedStyle<typeof FloatingPanelSlots> | undefined
readonly mixins?: MixinList<ParentMessage> | undefined
}FloatingPanelView.modelproperty · packages/mixins-ui/src/floatingPanel.ts:342
readonly model: ModelFloatingPanelView.onMessageproperty · packages/mixins-ui/src/floatingPanel.ts:343
readonly onMessage: (message: Message) => NoInfer<ParentMessage>FloatingPanelView.titleproperty · packages/mixins-ui/src/floatingPanel.ts:345
readonly title: stringThe title, naming the panel and its header.
FloatingPanelView.contentproperty · packages/mixins-ui/src/floatingPanel.ts:346
readonly content: HtmlFloatingPanelView.orderproperty · packages/mixins-ui/src/floatingPanel.ts:348
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:350
readonly resizable?: boolean | undefinedWhether it can be resized; default true.
FloatingPanelView.draggableproperty · packages/mixins-ui/src/floatingPanel.ts:352
readonly draggable?: boolean | undefinedWhether its header drags it; default true.
FloatingPanelView.closeOnEscapeproperty · packages/mixins-ui/src/floatingPanel.ts:354
readonly closeOnEscape?: boolean | undefinedWhether Escape closes it; default true.
FloatingPanelView.stepproperty · packages/mixins-ui/src/floatingPanel.ts:356
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:358
readonly direction?: 'ltr' | 'rtl' | undefinedDefault 'ltr'; under 'rtl' the corner the arrows resize from is the bottom left.
FloatingPanelView.labelsproperty · packages/mixins-ui/src/floatingPanel.ts:360
readonly labels?:
| {
readonly minimize?: string
readonly maximize?: string
readonly restore?: string
readonly close?: string
readonly move?: string
readonly resize?: string
}
| undefinedThe controls' words, defaults Minimize, Maximize, Restore, Close, and the header's and corner's.
FloatingPanelView.styleproperty · packages/mixins-ui/src/floatingPanel.ts:371
readonly style?: NamedStyle<typeof FloatingPanelSlots> | undefinedA style of FloatingPanelSlots, for the look.
FloatingPanelView.mixinsproperty · packages/mixins-ui/src/floatingPanel.ts:373
readonly mixins?: MixinList<ParentMessage> | undefinedMixins beside the style.