Search results

SearchResults

Search Result info

Properties

index number

Gets the index of current search result.

length number

Gets the length of search results.

Methods

clear

Clears all the instance of search result.

Returns void

replaceAll

Replace all the instance of search result.

Parameter Type Description
textToReplace string text to replace

Returns void