Section Heading

La riga d’intestazione di una sezione: un vero h2–h4 con il solo titolo come nome (il conteggio opzionale viene letto dopo), con azioni in fondo.

Disponibile in
  • Angular: disponibile
  • Vue: disponibile
  • React: disponibile
  • React Native: disponibile

Utilizzo

Meetings24

Pinned3

Importazione

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

Riferimento API

SoneSectionHeadingActionsDirectiveDirettiva

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

Selettore
[soneSectionHeadingActions]

SoneSectionHeadingComponentComponente

`<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").

Selettore
sone-section-heading
Input
NomeTipo Predefinito
titleobbligatoriostring—
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