The DidYouMean controller is responsible for handling query corrections.
DidYouMean
Example: did-you-mean.fn.tsx
Apply query correction using the query correction, if any, currently present in the state.
Adds a callback that's invoked on state change.
A callback that's invoked on state change.
A function to remove the listener.
The state of the DidYouMean controller.
The
DidYouMean
controller is responsible for handling query corrections.Example: did-you-mean.fn.tsx