update components
This commit is contained in:
parent
76376601ab
commit
912bd57ca0
20 changed files with 233 additions and 243 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue