ISketcherOptions
Defined in: js-api/src/chem.ts:166
Options of a Sketcher host: its constructor's third argument.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
showInput? | boolean | Whether the host shows its input row above the sketcher: the molecule field (SMILES, MOLBLOCK, InChI, a ChEMBL id) and its ≡ menu (copy as, recent and favorite molecules, the choice of sketcher). False leaves the row out, and the sketcher takes the whole host. Default: true. | js-api/src/chem.ts:175 |
sketcherType? | string | The sketcher this host shows, by its friendly name or function name ('Crux', 'OpenChemLib', 'Ketcher'), whatever the session's (currentSketcherType), which the host leaves as it is. A sketcher picked in the host's ≡ menu, or set through Sketcher.sketcherType, is the host's from then on; the menu's pick is also the session's, as in any host. Unset: the session's sketcher. | js-api/src/chem.ts:171 |