Update Polymer and pull in iron-list
[chromium-blink-merge.git] / third_party / polymer / v1_0 / components-chromium / iron-pages / iron-pages-extracted.js
blobc1952fcb46395a89fa565827e6051d48a15a039a
3   Polymer({
5     is: 'iron-pages',
7     behaviors: [
8       Polymer.IronResizableBehavior,
9       Polymer.IronSelectableBehavior
10     ],
12     properties: {
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         type: String,
20         value: null
21       }
23     },
25     observers: [
26       '_selectedPageChanged(selected)'
27     ],
29     _selectedPageChanged: function(selected, old) {
30       this.async(this.notifyResize);
31     }
32   });