Mixins / foldkit-mixins-ui

ResizableView

interface · packages/mixins-ui/src/resizable.ts:87

interface ResizableView<Message> extends Bounds {
  readonly model: Model
  readonly onMessage: (message: typeof Message.Type) => NoInfer<Message>
  readonly orientation?: 'horizontal' | 'vertical' | undefined
  readonly label: string
  readonly first: Html
  readonly second: Html
  readonly style?: NamedStyle<typeof ResizableSlots> | undefined
  readonly mixins?: MixinList<Message> | undefined
}

Members

ResizableView.model

property · packages/mixins-ui/src/resizable.ts:88

readonly model: Model

ResizableView.onMessage

property · packages/mixins-ui/src/resizable.ts:90

readonly onMessage: (message: typeof Message.Type) => NoInfer<Message>

Lifts the split's own Messages into the application's.

ResizableView.orientation

property · packages/mixins-ui/src/resizable.ts:92

readonly orientation?: 'horizontal' | 'vertical' | undefined

horizontal puts the panels side by side, vertical one over the other.

ResizableView.label

property · packages/mixins-ui/src/resizable.ts:94

readonly label: string

The handle's accessible name: what it resizes.

ResizableView.first

property · packages/mixins-ui/src/resizable.ts:95

readonly first: Html

ResizableView.second

property · packages/mixins-ui/src/resizable.ts:96

readonly second: Html

ResizableView.style

property · packages/mixins-ui/src/resizable.ts:98

readonly style?: NamedStyle<typeof ResizableSlots> | undefined

A style of ResizableSlots, for the split's look.

ResizableView.mixins

property · packages/mixins-ui/src/resizable.ts:100

readonly mixins?: MixinList<Message> | undefined

Mixins beside the style.