ChemPal Documentation - v1.12.0
    Preparing search index...

    What a MoleculeSpinner resolved, reported through MoleculeSpinnerProps.onStatusChange. Everything but state is present only once a structure has been drawn.

    export interface MoleculeSpinnerStatus {
    /** Current lifecycle state. */
    state: MoleculeSpinnerState;
    /** The CID the query resolved to. */
    cid?: PubChemCID;
    /** Whether PubChem served a real 3D conformer or the flat 2D fallback. */
    recordType?: StructureRecordType;
    /** Atoms actually drawn, after any hydrogen stripping. */
    atomCount?: number;
    /** Bonds actually drawn, after any hydrogen stripping. */
    bondCount?: number;
    /** Wall-clock milliseconds spent resolving and fetching from PubChem. */
    elapsedMs?: number;
    }
    interface MoleculeSpinnerStatus {
        state: MoleculeSpinnerState;
        cid?: PubChemCID;
        recordType?: StructureRecordType;
        atomCount?: number;
        bondCount?: number;
        elapsedMs?: number;
    }
    Index

    Properties

    Current lifecycle state.

    The CID the query resolved to.

    recordType?: StructureRecordType

    Whether PubChem served a real 3D conformer or the flat 2D fallback.

    atomCount?: number

    Atoms actually drawn, after any hydrogen stripping.

    bondCount?: number

    Bonds actually drawn, after any hydrogen stripping.

    elapsedMs?: number

    Wall-clock milliseconds spent resolving and fetching from PubChem.