pCon.basket - Plugin Development
    Preparing search index...

    Interface SplitterLayoutProps

    interface SplitterLayoutProps {
        children?:
            | ReactElement<unknown, string | JSXElementConstructor<any>>
            | [
                ReactElement<unknown, string | JSXElementConstructor<any>>,
                ReactElement<unknown, string | JSXElementConstructor<any>>,
            ];
        className?: string;
        defaultSize: number;
        maxSize?: number;
        minSize?: number;
        pane1Visible?: boolean;
        pane2AsPrimary?: boolean;
        pane2Visible?: boolean;
        settingsGroup?: string;
        settingsKey?: string;
        vertical?: boolean;
    }
    Index
    children?:
        | ReactElement<unknown, string | JSXElementConstructor<any>>
        | [
            ReactElement<unknown, string | JSXElementConstructor<any>>,
            ReactElement<unknown, string | JSXElementConstructor<any>>,
        ]

    the first child is used as pane 1 and the second as pane 2

    className?: string

    custom class name

    defaultSize: number

    default/initial size of the primary pane in pixel

    maxSize?: number

    maximum size of the primary pane in pixel

    minSize?: number

    minimal size of the primary pane in pixel

    pane1Visible?: boolean

    if false pane 1 will not be shown

    pane2AsPrimary?: boolean

    if true pane 2 will be the primary pane instead of pane 1

    pane2Visible?: boolean

    if false pane 2 will not be shown

    settingsGroup?: string

    if settingsGroup and settingsKey are defined the user defined size will be stored as a setting

    settingsKey?: string

    if settingsGroup and settingsKey are defined the user defined size will be stored as a setting

    vertical?: boolean

    if true the layout will be vertical instead of horizontal