components/common/KetcherEditor#
KetcherEditor()#
Renders in whichever window it is mounted in; inside a popout it runs in an iframe.
Parameters#
| Parameter | Type |
|---|---|
props |
KetcherEditorProps |
Returns#
Element
KetcherEditorProps#
Properties#
height#
molBlock?#
Loaded in preference to smiles; unlike SMILES it carries coordinates and wedge stereo.
onChange?#
Parameters#
| Parameter | Type |
|---|---|
smiles |
string |
Returns#
void
onChangeStructure?#
Parameters#
| Parameter | Type |
|---|---|
structure |
{ molBlock: string; smiles: string; } |
structure.molBlock |
string |
structure.smiles |
string |
Returns#
void