Skip to content

PropertyValueSuggest.getLinktextQuery method

PropertyValueSuggest › getLinktextQuery

Unofficial

Get the link query: the text between the opening [[ and the closing ]] or the caret, whichever comes first.

Signature:

getLinktextQuery(text: string): string

Parameters:

ParameterTypeDescription
textstringText of the value input.

Returns: string — The link query.