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

Commit

Permalink
More clearly document explicit sizing requirement. Fixes #56.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpschaaf committed Jan 15, 2015
1 parent c61eaa1 commit 8c6574e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions core-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@
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:
Expand Down

0 comments on commit 8c6574e

Please sign in to comment.