@cmi-dair/brainviewer
    Preparing search index...

    Class Legend

    HTML legend for use with the Brain Viewer.

    Index

    Constructors

    Methods

    Constructors

    • Create a new legend. Call update(...) to initialize or update the DOM after.

      Parameters

      • elem: HTMLElement

        DOM element to attach legend to.

      • Optionalsettings: Partial<LegendSettings>

      Returns Legend

    Methods

    • Update legend with new settings.

      Parameters

      • settings: Partial<LegendSettings>

        Legend settings.

      Returns void