Trigger typeahead:opened and typeahead:closed.