If you want to display some visual feedback during the search (ie. before the results are displayed), there is a DOM element specially for that.
This element appears on the start of a search and is automatically removed as the results are returned.
To design a custom loader, you can add style to the following element:
<div class="loading"></div>
Comments
0 comments
Please sign in to leave a comment.