Highlighted Code Snippet
Highlighted Code Snippet from the Devtools package.
Loading HighlightedCodeSnippet…
Source code
Waiting for the preview before loading source files · 2 of 2
Properties
Public properties derived from the component’s TypeScript signature.
| Property | Type | Default |
|---|---|---|
annotatedLinesOptional | readonly number[] | [] |
codeRequired | string | — |
lineStartOptional | number | — |
onLineClickOptional | ((line: number, source: string, anchor?: SourceLineAnchor) => void) | — |
onLineHoverOptional | ((line: number) => void) | — |
onRangePointClickOptional | ((line: number, anchor?: SourceLineAnchor) => void) | — |
previewRangeOptional | SourceLineRange | — |
rangeStartLineOptional | number | — |
selectedRangeOptional | SourceLineRange | — |