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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/iron-pages/iron-pages-extracted.js

Issue 1221923003: Update bower.json for Polymer elements and add PRESUBMIT.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 5 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
1 1
2 2
3 Polymer({ 3 Polymer({
4 4
5 is: 'iron-pages', 5 is: 'iron-pages',
6 6
7 behaviors: [ 7 behaviors: [
8 Polymer.IronResizableBehavior, 8 Polymer.IronResizableBehavior,
9 Polymer.IronSelectableBehavior 9 Polymer.IronSelectableBehavior
10 ], 10 ],
11 11
12 properties: {
13
14 // as the selected page is the only one visible, activateEvent
15 // is both non-sensical and problematic; e.g. in cases where a user
16 // handler attempts to change the page and the activateEvent
17 // handler immediately changes it back
18 activateEvent: {
19 value: null
20 }
21
22 },
23
12 observers: [ 24 observers: [
13 '_selectedPageChanged(selected)' 25 '_selectedPageChanged(selected)'
14 ], 26 ],
15 27
16 _selectedPageChanged: function(selected, old) { 28 _selectedPageChanged: function(selected, old) {
17 this.async(this.notifyResize); 29 this.async(this.notifyResize);
18 } 30 }
19 }); 31 });
20 32
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698