Interface DidYouMean

The DidYouMean controller is responsible for handling query corrections.

Example: did-you-mean.fn.tsx

interface DidYouMean {
    state: DidYouMeanState;
    applyCorrection(): void;
    subscribe(listener: (() => void)): Unsubscribe;
}

Hierarchy (view full)

Methods

Properties

Methods

Properties

The state of the DidYouMean controller.