@empathyco/x-components
Version:
Empathy X Components
18 lines (10 loc) • 586 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [removeSearchInputFocus](./x-components.removesearchinputfocus.md)
## removeSearchInputFocus() function
Removes focus from the search input element if it is currently focused. This function checks if the active element in the document matches the selector '.x-search-input' and, if so, blurs the element to remove focus.
**Signature:**
```typescript
removeSearchInputFocus: () => void
```
**Returns:**
void