| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 @license | 2 @license |
| 3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. | 3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. |
| 4 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt | 4 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt |
| 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt | 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt |
| 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt | 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt |
| 7 Code distributed by Google as part of the polymer project is also | 7 Code distributed by Google as part of the polymer project is also |
| 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt | 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt |
| 9 --> | 9 --> |
| 10 | 10 |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 Polymer.IronSelectableBehavior | 71 Polymer.IronSelectableBehavior |
| 72 ], | 72 ], |
| 73 | 73 |
| 74 properties: { | 74 properties: { |
| 75 | 75 |
| 76 // as the selected page is the only one visible, activateEvent | 76 // as the selected page is the only one visible, activateEvent |
| 77 // is both non-sensical and problematic; e.g. in cases where a user | 77 // is both non-sensical and problematic; e.g. in cases where a user |
| 78 // handler attempts to change the page and the activateEvent | 78 // handler attempts to change the page and the activateEvent |
| 79 // handler immediately changes it back | 79 // handler immediately changes it back |
| 80 activateEvent: { | 80 activateEvent: { |
| 81 type: String, |
| 81 value: null | 82 value: null |
| 82 } | 83 } |
| 83 | 84 |
| 84 }, | 85 }, |
| 85 | 86 |
| 86 observers: [ | 87 observers: [ |
| 87 '_selectedPageChanged(selected)' | 88 '_selectedPageChanged(selected)' |
| 88 ], | 89 ], |
| 89 | 90 |
| 90 _selectedPageChanged: function(selected, old) { | 91 _selectedPageChanged: function(selected, old) { |
| 91 this.async(this.notifyResize); | 92 this.async(this.notifyResize); |
| 92 } | 93 } |
| 93 }); | 94 }); |
| 94 | 95 |
| 95 </script> | 96 </script> |
| OLD | NEW |