Type alias FindInPageOptions

FindInPageOptions: {
    findNext?: boolean;
    forward?: boolean;
    matchCase?: boolean;
    medialCapitalAsWordStart?: boolean;
    wordStart?: boolean;
}

Configuration for find-in-page requests.

Type declaration

  • Optional findNext?: boolean

    Default Value

    false

    Begins a new text-finding session; should be true for first request only, and false on subsequent requests.

  • Optional forward?: boolean

    Default Value

    true

    Searches in the forward direction (backward otherwise)

  • Optional matchCase?: boolean

    Default Value

    false

    Enables case-sensitive searching.

  • Optional medialCapitalAsWordStart?: boolean

    Default Value

    false

    When combined with wordStart, accepts a match in the middle of a word if the match begins with an uppercase letter followed by a
    lowercase or non-letter. Accepts several other intra-word matches.

  • Optional wordStart?: boolean

    Default Value

    false

    Only searches from the start of words.

Generated using TypeDoc