Closed nlsrchtr closed 9 years ago
Thanks for this really quick response! Great work! For everybody with the same need, feel free to use and change the following usage-example accordingly:
$('textarea.mentions').mentionsInput({
source: '/search',
autocomplete: {
search: function(event, ui) { $('#mentions-loading-animation').removeClass('hide'); },
close: function(event, ui) { $('#mentions-loading-animation').addClass('hide'); }
}
});
I would like to be able to show a loading indicator if the
jquery-mentions
starts to send an external query. I was trying to use the autocomplete syntax likebut I had no luck with it. Is there any solution to this problem? Would be great.