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

Unified Diff: polymer_0.5.4/bower_components/core-list/core-list.html

Issue 895523005: Added Polymer 0.5.4 (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 years, 11 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
Index: polymer_0.5.4/bower_components/core-list/core-list.html
diff --git a/polymer_0.5.0/bower_components/core-list/core-list.html b/polymer_0.5.4/bower_components/core-list/core-list.html
similarity index 96%
copy from polymer_0.5.0/bower_components/core-list/core-list.html
copy to polymer_0.5.4/bower_components/core-list/core-list.html
index 8879092d495784434f2e77af79f37c95041f1f08..1b41a7658ccc35f1f39205a572540e718f83cb8b 100644
--- a/polymer_0.5.0/bower_components/core-list/core-list.html
+++ b/polymer_0.5.4/bower_components/core-list/core-list.html
@@ -20,6 +20,14 @@ may be reused with a new model at any time. Particularly, any state that
may change as the result of a user interaction with the list item must be
bound to the model to avoid view state inconsistency.
+IMPORTANT: `core-list` must ether be explicitly sized, or delegate scrolling to
+an explicitly sized parent. By "explicitly sized", we mean it either has an
+explicit CSS `height` property set via a class or inline style, or else is sized
+by other layout means (e.g. `flex` or `fit`). Alternatively, `core-list` can
+delegate scrolling to a scrollable element that contains the list by setting the
+`scrollTarget` property, and the same explicit sizing requiremets will apply
+to that element.
+
### Template model
List item templates should bind to template models of the following structure:
@@ -162,6 +170,7 @@ the following abstract API:
@group Polymer Core Elements
@element core-list
+@mixins Polymer.CoreResizable https://github.com/polymer/core-resizable
-->
<link rel="import" href="../polymer/polymer.html">
<link rel="import" href="../core-selection/core-selection.html">
« no previous file with comments | « polymer_0.5.4/bower_components/core-list/core-list.css ('k') | polymer_0.5.4/bower_components/core-list/demo.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698