@metreeca/tile
    Preparing search index...
    • Creates headless tabs.

      Parameters

      • options: { labels?: Readonly<Record<string, boolean>> | Some<string>; active?: string } = {}

        The tabs configuration

        • Optionallabels?: Readonly<Record<string, boolean>> | Some<string>

          The labels identifying the panels, in display order: a record stating for each label whether its panel can be shown, or a list of labels whose panels can all be shown, taken as given with duplicates removed, keeping the first occurrence; empty if omitted.

        • Optionalactive?: string

          The label of the panel to show; the first enabled panel if omitted or if it identifies a disabled panel.

      Returns Tabs

      Immutable Tabs for labels, showing active where its panel is enabled, else the first enabled one

      TypeError If labels includes a blank label, or if active isn't one of them