com.vaadin.flow.component.html.

Class DescriptionList

All Implemented Interfaces:

AttachNotifier, ClickNotifier<DescriptionList>, DetachNotifier, HasComponents, HasElement, HasEnabled, HasSize, HasStyle, HasText, Serializable

@Tag("dl") public class DescriptionList extends HtmlContainer implements ClickNotifier<DescriptionList>

Component representing a <dl> element.

Since:

1.0

Author:

Vaadin Ltd

See Also:

  • Constructor Details

    • DescriptionList

      public DescriptionList()

      Creates a new empty description list.

    • DescriptionList

      public DescriptionList(Map<DescriptionList.Term,DescriptionList.Description> terms)

      Creates a new description list with the given map of terms and descriptions.

      Parameters:

      terms - the map of terms and descriptions