Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(583)

Unified Diff: lib/src/paper-tabs/paper-tabs.html

Issue 1418513006: update elements and fix some bugs (Closed) Base URL: git@github.com:dart-lang/polymer_elements.git@master
Patch Set: code review updates Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/src/paper-styles/typography.html ('k') | lib/src/paper-toggle-button/paper-toggle-button.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/paper-tabs/paper-tabs.html
diff --git a/lib/src/paper-tabs/paper-tabs.html b/lib/src/paper-tabs/paper-tabs.html
index 4979cd84f8bcb1fc71bee4d30e117433b6331ce7..7939ef0e3b374a1dc00b8189989169aadc10d519 100644
--- a/lib/src/paper-tabs/paper-tabs.html
+++ b/lib/src/paper-tabs/paper-tabs.html
@@ -20,6 +20,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
<link rel="import" href="paper-tab.html">
<!--
+Material design: [Tabs](https://www.google.com/design/spec/components/tabs.html)
+
`paper-tabs` makes it easy to explore and switch between different views or functional aspects of
an app, or to browse categorized data sets.
@@ -125,6 +127,7 @@ Custom property | Description | Default
.not-visible {
opacity: 0;
+ cursor: default;
}
paper-icon-button {
@@ -172,7 +175,7 @@ Custom property | Description | Default
<template>
- <paper-icon-button icon="paper-tabs:chevron-left" class$="[[_computeScrollButtonClass(_leftHidden, scrollable, hideScrollButtons)]]" on-up="_onScrollButtonUp" on-down="_onLeftScrollButtonDown"></paper-icon-button>
+ <paper-icon-button icon="paper-tabs:chevron-left" class$="[[_computeScrollButtonClass(_leftHidden, scrollable, hideScrollButtons)]]" on-up="_onScrollButtonUp" on-down="_onLeftScrollButtonDown" tabindex="-1"></paper-icon-button>
<div id="tabsContainer" class="flex" on-track="_scroll" on-down="_down">
@@ -187,7 +190,7 @@ Custom property | Description | Default
</div>
- <paper-icon-button icon="paper-tabs:chevron-right" class$="[[_computeScrollButtonClass(_rightHidden, scrollable, hideScrollButtons)]]" on-up="_onScrollButtonUp" on-down="_onRightScrollButtonDown"></paper-icon-button>
+ <paper-icon-button icon="paper-tabs:chevron-right" class$="[[_computeScrollButtonClass(_rightHidden, scrollable, hideScrollButtons)]]" on-up="_onScrollButtonUp" on-down="_onRightScrollButtonDown" tabindex="-1"></paper-icon-button>
</template>
@@ -264,8 +267,6 @@ Custom property | Description | Default
/**
* Gets or sets the selected element. The default is to use the index of the item.
- *
- * @type {string|number}
*/
selected: {
type: String,
« no previous file with comments | « lib/src/paper-styles/typography.html ('k') | lib/src/paper-toggle-button/paper-toggle-button.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698