Takeover Search Input Widget
Last updated
Was this helpful?
Last updated
Was this helpful?
The Takeover Search Input widget allows users to inject Search.io search experience into an existing search input field while keeping the current appearance.
See the example in .
The following options can be configured when creating the takeover search input widget.
selector
string
'form[action="/search"] input[name="q"]' if the preset is 'shopify'
The CSS selector of the input being taken over.
mode
'standard'
| 'typeahead'
| 'suggestions'
| 'results'
'results'
omittedElementSelectors
string
| string[]
_
A single or a list of CSS selector of elements to be removed when the widget has mounted.
The mode of the input. For details, see .
See the example in .