Lines Matching refs:data
72 // var val = this.$menu.find('.active').data('value');
73 this.$element.data('active', val);
91 var val = this.$menu.find('.active').data('value');
93 this.$element.data('active', val);
202 // Two of them are callback functions (sync and async) for local and remote data processing
231 this.$element.data('active', items[0]);
233 this.$element.data('active', null);
315 var data = [];
321 data.push({
330 data.push({
337 data.push(value);
340 items = jQuery(data).map(function (i, item) {
350 i = jQuery(that.options.item || that.theme.item).data('value', item);
360 self.$element.data('active', item);
368 this.$element.data('active', items.first().data('value'));
400 var newVal = this.updater(next.data('value'));
420 var newVal = this.updater(prev.data('value'));
461 this.$element.data('typeahead', null);
462 this.$element.data('active', null);
679 return this.data('active');
683 var data = $this.data('typeahead');
685 if (!data) {
686 $this.data('typeahead', (data = new Typeahead(this, options)));
688 if (typeof option == 'string' && data[option]) {
690 data[option].apply(data, Array.prototype.slice.call(arg, 1));
692 data[option]();
748 jQuery(document).on('focus.typeahead.data-api', '[data-provide="typeahead"]', function (e) {
750 if ($this.data('typeahead')) {
753 $this.typeahead($this.data());