Gutter Line Elements

Each gutter line is composed of a wrapper, a line number span, and an accessory span.

The wrapper is the element that wraps all of the children which, in total, represent a line number in the gutter and their accessories.

The two elements exist to help facilitate the styling of the gutter line. The line number span is the element that hosts the actual line number text. The accessory span is basically designed to be a place to put icons signifying a breakpoint or bookmark. The accessory span is also positioned first in the wrapper so that it can be styled to be on the left side of the line number in ltr languages and on the right side of the line number in rtl languages.

For an overview of gutter customization, see Gutters.

For examples of creating gutter line elements, see GutterCustomizer.

Hierarchy

  • GutterLineElement

Properties

accessorySpan: HTMLElement

The accessory span is basically designed to be a place to put icons signifying a breakpoint or bookmark or whatever have you exist on that line.

gutterLineWrapper: HTMLElement

Wraps all of the children while, in total, represent a line number in the gutter.

lineNumberSpan: HTMLElement

Hosts the actual line number text.

Generated using TypeDoc