Class MetadataPanel

The MetadataPanel class displays information regarding the dataset: name, authors, references, description, etc.

By default, only the name is shown, and clicking on it reveals a modal with the other information.

Hierarchy

  • MetadataPanel

Constructors

Methods

Constructors

  • Create a new MetadataPanel inside the HTML element with the given id.

    Parameters

    • element: string | HTMLElement

      HTML element or HTML id of the DOM element where the name of the dataset should be inserted

    • metadata: Metadata

      dataset metadata

    Returns MetadataPanel

Methods