Interface StructureConfig

Configuration for the StructureVisualizer

interface StructureConfig {
    info: string | HTMLElement;
    loadStructure?: ((index, structure) => Structure);
    meta: string | HTMLElement;
    structure: string | HTMLElement;
}

Properties

info: string | HTMLElement

Id of the DOM element to use for the environment information

loadStructure?: ((index, structure) => Structure)

Custom structure loading callback, used to set ViewersGrid.loadStructure

Type declaration

meta: string | HTMLElement

Id of the DOM element to use to display metadata

structure: string | HTMLElement

Id of the DOM element to use for the structure viewer grid