Lines Matching defs:menu
47 this.$menu = jQuery(this.options.menu || this.theme.menu);
72 // var val = this.$menu.find('.active').data('value');
91 var val = this.$menu.find('.active').data('value');
147 element = this.$menu;
149 element = this.$menu.appendTo(this.$appendTo);
152 element = this.$menu.insertAfter(this.$element);
163 // The rules for bootstrap are: 'dropup' in the parent and 'dropdown-menu-right' in the element.
164 // Note that to get right alignment, you'll need to specify `menu` in the options to be:
165 // '<ul class="typeahead dropdown-menu" role="listbox"></ul>'
168 var right = jQuery(element).hasClass('dropdown-menu-right');
183 this.$menu.hide();
370 this.$menu.html(items);
387 var active = this.$menu.find('.active').removeClass('active');
391 next = jQuery(this.$menu.find(jQuery(this.options.item || this.theme.item).prop('tagName'))[0]);
407 var active = this.$menu.find('.active').removeClass('active');
411 prev = this.$menu.find(jQuery(this.options.item || this.theme.item).prop('tagName')).last();
440 this.$menu
448 this.$menu
452 this.$menu
474 this.$menu.remove();
634 this.$menu.find('.active').removeClass('active');
646 * We track the mousedown for IE. When clicking on the menu scrollbar, IE makes the input blur thus hiding the menu.
650 this.$menu.one('mouseup', function (e) {
658 this.$menu.find('.active').removeClass('active');
718 menu: '<ul class="typeahead mikio-dropdown" role="listbox"></ul>',
725 menu: '<div class="typeahead mikio-dropdown" role="listbox"></div>',