UNPKG

@empathyco/x-components

Version:
18 lines (10 loc) 586 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [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