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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/app-layout/app-scroll-effects/effects/waterfall-extracted.js

Issue 1984963002: Roll Polymer elements (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 unified diff | Download patch
OLDNEW
(Empty)
1 /**
2 * Toggles the shadow property in app-header when content is scrolled to creat e a sense of depth
3 * between the element and the content underneath.
4 */
5 Polymer.AppLayout.registerEffect('waterfall', {
6 /**
7 * @this Polymer.AppLayout.ElementWithBackground
8 */
9 run: function run(p, y) {
10 this.shadow = this.isOnScreen() && this.isContentBelow();
11 }
12 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698