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, 1294🔥, 0💬
Popular Posts:
Molecule Summary: ID: FYI-1002467 Names: InChIKey: SNPJEQVKFQUWNJ-MRXNPFEDS A-NSMILES: C[C@H](Cc1nnc...
Molecule Summary: ID: FYI-1004013 Names: InChIKey: QBLWWQDTKCIRSW-UHFFFAOYS A-NSMILES: Sc2nnc(c1cccn...
Molecule Summary: ID: FYI-1001326 SMILES: c1(ccc(cc1)Cl)SSc1nnco1 Received at FYIcenter.com on: 2022...
Molecule Summary: ID: FYI-1002990 Names: InChIKey: JYTNQNCOQXFQPK-MRXNPFEDS A-NSMILES: Cc5ccc(n1nccn...
Molecule Summary: ID: FYI-1004788 Names: InChIKey: HCZHHEIFKROPDY-UHFFFAOYS A-NSMILES: O=C(O)c2cc(=O...