Section Heading

La fila de encabezado de una sección: un h2 a h4 real cuyo nombre es solo el título (el contador opcional se lee después), con acciones al final.

Disponible en
  • Angular: disponible
  • Vue: disponible
  • React: disponible
  • React Native: disponible

Uso

Meetings24

Pinned3

Importación

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

Referencia de la API

SoneSectionHeadingActionsDirectiveDirectiva

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

Selector
[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").

Selector
sone-section-heading
Inputs
NombreTipo Predeterminado
titleobligatoriostring—
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