Information about the query string change.

interface IQueryChange {
    newValue: string;
    origin: "reset" | "setter" | "editorUpdate";
}

Properties

Properties

newValue: string

The new value of the query.

origin: "reset" | "setter" | "editorUpdate"

The event which caused the query to change, one of:

  • editorUpdate: as a result of editor change, e.g. user typing code,
  • setter: programmatically, e.g. by the logic in the widget,
  • reset: due to completer model being reset.