Section Heading

Die Überschriftenzeile eines Abschnitts: ein echtes h2 bis h4, benannt nur nach dem Titel – die optionale Anzahl wird danach vorgelesen –, mit Aktionen am Ende.

Verfügbar für
  • Angular: verfügbar
  • Vue: verfügbar
  • React: verfügbar
  • React Native: verfügbar

Verwendung

Meetings24

Pinned3

Import

ts
import {
  SoneSectionHeadingActionsDirective,
  SoneSectionHeadingComponent,
} from "@surface-one/angular/section-heading";

API-Referenz

SoneSectionHeadingActionsDirectiveDirektive

`[soneSectionHeadingActions]` — controls at the end of the heading row.

Selektor
[soneSectionHeadingActions]

SoneSectionHeadingComponentKomponente

`<sone-section-heading>` — the heading row of a page section: a real `h2`–`h4` (`level`, default 2) with the `title`, an optional `count` in a secondary badge after it, and controls in `[soneSectionHeadingActions]` at the end of the row. The heading is named by its title alone (`aria-labelledby`), so a heading list reads "Meetings", not "Meetings12"; the count describes it (`aria-describedby`) and is read after the name ("Meetings, heading level 2, 12").

Selektor
sone-section-heading
Inputs
NameTyp Standard
titleerforderlichstring—
count

A count in a secondary badge after the title; `null` hides it.

number | string | nullnull
level

The heading level: 2, 3 or 4.

SectionHeadingLevel2