Collections:
What Is Ketcher Editor Interface
What is Ketcher Editor interface?
✍: FYIcenter.com
Ketcher Editor interface is part of the Ketcher JavaScript API
that allows you to interact with Ketcher editor UI elements.
To access Ketcher Editor interface, you need to access the "ketcher" object as a property of the content "window" object of the "iframe" where the Ketcher is loaded. Then you need to access the "editor" object as a property of the "ketcher" object:
lst = document.getElementsByTagName("iframe");
frm = lst[0];
win = frm.contentWindow;
ketcher = win.ketcher;
editor = ketcher.editor;
With the "editor" object, you can access the following main methods provided by the Ketcher Editor interface:
See next tutorials for examples on how to use these methods.
2023-12-08, 1504🔥, 0💬
Popular Posts:
Molecule Summary: ID: FYI-1003262 Names: InChIKey: SUVMJBTUFCVSAD-UHFFFAOYS A-NSMILES: CS(=O)CCCCN=C...
Molecule Summary: ID: FYI-1000423 SMILES: CCCCCCCC Received at FYIcenter.com on: 2021-06-17
What is Isomer? An Isomer is molecule that has the same the same chemical formula as another molecul...
Molecule Summary: ID: FYI-1002218 Names: InChIKey: MVAWJSIDNICKHF-UHFFFAOYS A-NSMILES: CC(=O)NCCc1c[...
Molecule Summary: ID: FYI-1004131 Names: InChIKey: PHYFQTYBJUILEZ-IUPFWZBJS A-NSMILES: CCCCCCCC/C=C\...