Interface IHighlightAdjacentMatchOptions

interface IHighlightAdjacentMatchOptions {
    from?: SearchStartAnchor;
    scroll?: boolean;
    select?: boolean;
}

Hierarchy

  • IHighlightMatchOptions
    • IHighlightAdjacentMatchOptions

Properties

Properties

What should be used as an anchor when searching for adjacent match. Defaults to 'auto'.

scroll?: boolean

Whether the highlighted match should be scrolled into view. Defaults to true.

select?: boolean

Whether the user cursor should be moved to select the match. protectSelection flag takes precedence over this option. Defaults to true.