Skip to content

setPaneOptions(options)

setPaneOptions set the pane configuration.

Tip
• This method only sets pane options. Use overrideYAxis(options) or overrideXAxis(options) for axis configuration.

Reference

typescript
(
  options?: {
    id?: string
    height?: number
    minHeight?: number
    dragEnabled?: boolean
    order?: number
    state?: 'normal' | 'maximize' | 'minimize'
  }
) => void

Parameters

  • options Pane configuration.
    • id Pane id.
    • height Height.
    • minHeight Min height.
    • dragEnabled Whether the height can be adjusted by dragging.
    • order Order.
    • state State, supports normal , maximize and minimize .

Returns

setPaneOptions returns undefined .

Usage

Basic usage

Height cannot be adjusted

Minimize the window