update components

This commit is contained in:
Luke Pulverenti 2016-02-22 12:20:38 -05:00
parent 76376601ab
commit 912bd57ca0
20 changed files with 233 additions and 243 deletions

View file

@ -43,20 +43,22 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
return window.getComputedStyle(this)['direction'] === 'rtl';
},
_onLeftKey: function() {
_onLeftKey: function(event) {
if (this._isRTL) {
this._focusNext();
} else {
this._focusPrevious();
}
event.detail.keyboardEvent.preventDefault();
},
_onRightKey: function() {
_onRightKey: function(event) {
if (this._isRTL) {
this._focusPrevious();
} else {
this._focusNext();
}
event.detail.keyboardEvent.preventDefault();
},
_onKeydown: function(event) {