Skip to main content

find-in-tab-content

Documentation / lib/components/TabManager/find-in-tab-content

default()

function default(
document: object,
searchText: string,
snippetTextSize?: number): object;

Defined in: web-app/src/lib/components/TabManager/find-in-tab-content.js:15

Find query words in tab content and if found return object

Parameters

ParameterTypeDefault valueDescription

document

{ content: string; favIconUrl: string; tabId: number; title: string; }

undefined

document.content

string

undefined

document.favIconUrl

string

undefined

document.tabId?

number

undefined

document.title?

string

undefined

searchText?

string

undefined

snippetTextSize?

number

100

Returns

object

NameTypeDefined in

dispString

string

web-app/src/lib/components/TabManager/find-in-tab-content.js:8

favIconUrl

string

web-app/src/lib/components/TabManager/find-in-tab-content.js:11

id

number

web-app/src/lib/components/TabManager/find-in-tab-content.js:9

lastSearchWord

string

web-app/src/lib/components/TabManager/find-in-tab-content.js:12

title

string

web-app/src/lib/components/TabManager/find-in-tab-content.js:10