We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b120db commit 82293e4Copy full SHA for 82293e4
src/autocomplete/typeahead.js
@@ -91,6 +91,7 @@ function Typeahead(o) {
91
.onSync('closed', this._onClosed, this)
92
.onSync('shown', this._onShown, this)
93
.onSync('empty', this._onEmpty, this)
94
+ .onSync('redrawn', this._onRedrawn, this)
95
.onAsync('datasetRendered', this._onDatasetRendered, this);
96
97
this.input = new Typeahead.Input({input: $input, hint: $hint})
@@ -190,6 +191,10 @@ _.mixin(Typeahead.prototype, {
190
191
this.eventBus.trigger('empty');
192
},
193
194
+ _onRedrawn: function onRedrawn() {
195
+ this.eventBus.trigger('redrawn');
196
+ },
197
+
198
_onShown: function onShown() {
199
this.eventBus.trigger('shown');
200
if (this.autoselect) {
0 commit comments