SearchStartingEvent Interface
Event emitted when a search operation is starting.
export declare interface SearchStartingEvent extends ViewerEvent
Remarks
This event is fired before the actual search begins, allowing listeners to cancel or modify the search operation. The event contains the query text that will be searched for.
Fields
query
The search query text that will be searched for in the document.
query: string;
Remarks
This property contains the text that users want to find within the PDF document.
Inherited Fields
| defaultPrevented | Gets a value indicating whether the event's default action has been canceled. (Inherited from ViewerEvent) |
Inherited Methods
| preventDefault | Cancels the event if it is cancelable, without stopping further propagation of the event. (Inherited from ViewerEvent) |