Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
Added: focus/blur methodes
Browse files Browse the repository at this point in the history
  • Loading branch information
dominiklessel committed Jul 5, 2014
1 parent fbda98e commit e211a1e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions core-input.html
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,14 @@
blurAction: function() {
// re-fire non-bubbling event
this.fire('blur', null, this, false);
},

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

blur: function() {
this.$.input.blur();
}

});
Expand Down

0 comments on commit e211a1e

Please sign in to comment.