Skip to content

JSONPath Tools / @jsonpath-tools/jsonpath / Tooltip

Class: Tooltip ​

Tooltip.

Constructors ​

Constructor ​

ts
new Tooltip(text, range): Tooltip;

Parameters ​

text ​

string

Text of the tooltip. In Markdown format.

range ​

TextRange

Range in the text of the query to which the tooltip relates.

Returns ​

Tooltip

Properties ​

range ​

ts
readonly range: TextRange;

Range in the text of the query to which the tooltip relates.


text ​

ts
readonly text: string;

Text of the tooltip. In Markdown format.