@univerjs/sheets-find-replace v0.5.4
Interface: IFUniverFindReplaceMixin
Defined in: sheets-find-replace/src/facade/f-univer.ts:21
Methods
createTextFinderAsync()
createTextFinderAsync(text): Promise<null | FTextFinder>
Defined in: sheets-find-replace/src/facade/f-univer.ts:31
Create a text-finder for the current univer.
Parameters
Parameter | Type | Description |
---|---|---|
text | string | The text to find. |
Returns
Promise
<null
| FTextFinder
>
A promise that resolves to the text-finder instance.
Example
const textFinder = await univerAPI.createTextFinderAsync('Hello');