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, 1301🔥, 0💬
Popular Posts:
Molecule Summary: ID: FYI-1005567 Names: InChIKey: AUDDTOOAJOMLPW-UHFFFAOYS A-NSMILES: Cc3cc(=O)oc4c...
How to split a file with a large number of molecules? You can split a file with a large number of mo...
Molecule Summary: ID: FYI-1004403 Names: InChIKey: PRYHOGCYPICMAJ-VSGRCDNAS A-NSMILES: CC[C@H]5CN4CC...
Molecule Summary: ID: FYI-1002074 Names: InChIKey: BPXRCZAENSPPPK-OWOJBTEDS A-NSMILES: F/C=C/[F+]F R...
Molecule Summary: ID: FYI-1002284 Names: InChIKey: OGVBLMOKWOEKIO-UHFFFAOYS A-NSMILES: COn3c1ccccc1c...