Lines Matching refs:items
82 var items
90 …items = $.isFunction(this.source) ? this.source(this.query, $.proxy(this.process, this)) : this.so…
92 return items ? this.process(items) : this
95 , process: function (items) { argument
98 items = $.grep(items, function (item) {
102 items = this.sorter(items)
104 if (!items.length) {
108 return this.render(items.slice(0, this.options.items)).show()
115 , sorter: function (items) { argument
121 while (item = items.shift()) {
137 , render: function (items) {
140 items = $(items).map(function (i, item) {
146 items.first().addClass('active')
147 this.$menu.html(items)
308 , items: 8 property in $.fn.typeahead.defaults