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

    Module constants/drawer

    Type Aliases - Constants

    DrawerWidget

    A DRAWER_WIDGET value.

    DrawerBindingKind

    A DRAWER_BINDING value.

    Variables - Constants

    DRAWER_WIDGET

    Widget kinds a column's meta.drawer config can request. The value discriminates the ColumnDrawerConfig union, so each one implies the runtime type of that branch's options (e.g. DRAWER_WIDGET.AUTOCOMPLETE_OBJECTS needs { code, label }[]).

    DRAWER_BINDING

    Where a drawer section's value reads and writes in app state. Discriminates the ColumnDrawerBinding union, so ColumnDrawerSection can dispatch on it without columns knowing how the context is structured.

    DRAWER_ADORNMENT

    Sentinel values for a numberRange widget's adornment. Anything else is used verbatim as the start-adornment text.