@chemaxon/marvin
    Preparing search index...

    Interface ToolSettings

    Defines tool / toolbar settings.

    interface ToolSettings {
        isActive?: boolean;
        isHideable?: boolean;
        keepClosedOnSelect?: boolean;
        side?: ToolbarSide;
        subType?: string;
        tools?: ToolSettings[];
        type: string;
    }
    Index
    isActive?: boolean

    Sets the initial state of switch-like tools.

    isHideable?: boolean

    Rightmost hideable tools will be hidden if there's no enough space for all the tools on the top toolbar.

    keepClosedOnSelect?: boolean

    When clicking on a tool group the secondary toolbar is opened by default. Set this parameter to true if you would like to keep it closed.

    Must be provided for the root toolbar element. Tells which toolbar this configuration relates to (left or top).

    subType?: string

    Optionally gives an extra parameter to the type. Possible values by type:

    atom: elements from periodic table, R, A, AH, Q, QH, M, MH, X, XH bond: single-bond, double-bond, triple-bond, up-wedge-bond, down-wedge-bond, wavy-bond, hashed-bond, dashed-bond, bold-bond, aromatic-bond, cis-or-trans-bond, single-or-double-bond, single-or-aromatic-bond, double-or-aromatic-bond, any-bond, cis-trans-or-unspecified-bond bracket: square-bracket, round-bracket circular-arrow: circular-arrow, circular-half-arrow elliptic-arrow: elliptic-arrow straight-arrow: single-arrow, equilibrium-arrow, unbalanced-equilibrium-arrow, rearrangement-arrow, resonance-arrow, open-arrow, dashed-arrow, crossed-arrow, hashed-arrow, retrosynthesis-arrow multistep-arrow: multistep-arrow line: solid-line, dashed-line select: rectangle-select, lasso-select template: benzene, cyclohexane, cyclopentane, cyclobutane, cyclopropane, cyclohexane-chair1, cyclohexane-chair2, cycloheptane, cyclooctane, cyclopentadiene style: fontFamily, fontSize, symbol fontFaces group: bold, italic, underline textScript grroup: superscript, subscript, formula colorsAndLineWeight group: textColor, highlightColor, lineColor, fillColor, lineWeight text-align group: alignLeft, alignCenter, alignRight

    tools?: ToolSettings[]

    Tool settings object denotes a toolbar setting if this member given. Lists further tools/toolbars this toolbar must accomodate.

    type: string

    Type and optional subType together identifies the feature that this tool is a shortcut for. Allowed values are:

    Left Toolbar: select, erase, bonds (group), chain, templates (group), atoms (group), atom, periodic-table, (whenever atoms tool group defined make sure that periodic table is its last item) markush (group), rgdef, rgroup-attachment, variable-attachment, atoms-query (group), increase-charge, decrease-charge, bordersAndLines (group), rectangle, ellipse, line brackets (group), bracket arrows (group), multistep-arrow, straight-arrow, circular-arrow, elliptic-arrow, plus, reactionmap, add-radical, text, picture, color, scribble, reaxys-homology-group, separator

    Top Toolbar: smart-select, clean, aromatize, stereo, search, separator

    2nd Top Toolbar: crop, fonts (group), fontFaces (group), textScript (group), textSymbols (group), colorsAndLineWeight (group), textAlign (group), separator