Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Section

A Section holds a group of {@link @Widget | Widgets } and provides visual separation between them.

Hierarchy

  • Section

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

header

header: string = ""

widgets

widgets: Widget[] = []

Methods

addWidget

  • Adds the given widget to this section. Widgets are shown in the order they were added.

    Parameters

    • widget: Widget

      A widget to add to the section

    Returns Section

    • This object, for chaining.

setHeader

  • setHeader(header: string): Section
  • Sets the header of the section. Optional.

    Parameters

    • header: string

      The header text.

    Returns Section

    This object, for chaining.

Generated using TypeDoc