(function() {
  'use strict';
  Polymer({
    is: 'paper-typeahead',
    properties: {
      input: String,
      hideResults: {
        type: Boolean,
        value: false
      },
      inputLabel: {
        type: String,
        value: ''
      },
      data: Array,
      filterFn: {
        type: Function,
        value: function() {
          return function(data, input) {
            var r = RegExp(input, 'i');

            if (input === '') {
              return [];
            }

            return data.filter(function(v) {
              return (r.test(v) ? v : null);
            });
          };
        }
      },
      maxResults: 50,
      filteredItems: {
        type: Array,
        computed: 'getFiltered(data.*, input, filterFn, maxResults)'
      }
    },
    listeners: {
      'blur': 'onBlur',
    },
    onBlur: function() {
      this.hideResults = true;
    },
    onFocus: function() {
      this.hideResults = false;
    },
    selected: function(e) {
      this.input = e.detail.target;
      this.fire('itemSelected', {selected: e.detail.target});
      this.fire('blur');
    },
    checkKey: function(e) {
      if (e.which === 40 && this.input.length) {
        // has to be a nicer way to do this
        document.querySelector('[tabindex="0"]').focus();
        return;
      }

      if (e.which === 27) {
        this.hideResults = true;
      } else {
        this.hideResults = false;
      }
    },
    getFiltered: function(data, input, filterFn, maxResults) {
      return filterFn.call(this, data.base, input)
        .slice(0, maxResults);
    }
  });
})();


@@ -647,10 +647,57 @@
 ts: 
-50
+%7B%0A        type: Number,%0A        value: 50%0A      %7D
 ,%0A  

Complete maxResults attribute