Defines custom template properties.

interface TemplateSettings {
    icon?: string;
    name?: string;
    structure: string;
}

Properties

Properties

icon?: string

24x24 pixel size icon for the new template tool on the sidebar as base64 encoded data image. Optional, but template tool on the sidebar won't have an icon if not provided.

name?: string

Name of the new template tool on the sidebar. Optional and auto-generated 'Custom Tempalte - XY' is missing.

structure: string

A structure containing a molecule defining the new template. Accepted structure types: 'CXON' | 'MRV' | 'Mol:V2' | 'Mol:V3' | 'SMILES' | 'SMARTS' | 'InChI' | 'InChIKey' | 'CDX' | 'SKC' | 'SDF' | 'RDF' | 'RXN';

Generated using TypeDoc