Skip to content

Type Alias: SectionKey

ts
type SectionKey = 
  | "demo"
  | "examples"
  | "usage"
  | "modifiers"
  | "parts"
  | "shadowParts"
  | "pseudoElements"
  | "states"
  | "slots"
  | "structure"
  | "subcomponents"
  | "cssProperties"
  | "functions"
  | "animations"
  | "layers"
  | "conditions"
  | "tokensConsumed"
  | "compat"
  | "accessibility"
  | "related"
  | "see";

Defined in: emitters/markdown/src/render.ts:27

The reorderable ## sections of a record page, in default render order. The page header (title, base-class line, deprecation warning, remarks, and the Since/Group/Source meta line) is fixed above these. Pass RenderEntryOptions.sectionOrder to reorder or drop sections.

Released under the MIT License