Skip to content

Commit

Permalink
Allow to explicitely set the focus of the search bar
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronny Roeller committed Jun 23, 2017
1 parent f117456 commit ed12fa0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions paper-search-bar.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,11 @@
'enter': '_search'
},


focus: function() {
this.$.input.focus();
},

// Private methods
_filter: function(e) {
this.fire('paper-search-filter');
Expand Down

0 comments on commit ed12fa0

Please sign in to comment.