| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 @license | 2 @license |
| 3 Copyright (c) 2016 The Polymer Project Authors. All rights reserved. | 3 Copyright (c) 2016 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 --><html><head><link rel="import" href="../polymer/polymer.html"> | 9 --><html><head><link rel="import" href="../polymer/polymer.html"> |
| 10 | 10 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 | 70 |
| 71 And the `subrouteData` will look like this: `{ id: '123' }` | 71 And the `subrouteData` will look like this: `{ id: '123' }` |
| 72 | 72 |
| 73 `app-route` is responsive to bi-directional changes to the `data` objects | 73 `app-route` is responsive to bi-directional changes to the `data` objects |
| 74 they produce. So, if `routeData.page` changed from `'article'` to `'about'`, | 74 they produce. So, if `routeData.page` changed from `'article'` to `'about'`, |
| 75 the `app-route` will update `route.path`. This in-turn will update the | 75 the `app-route` will update `route.path`. This in-turn will update the |
| 76 `app-location`, and cause the global location bar to change its value. | 76 `app-location`, and cause the global location bar to change its value. |
| 77 | 77 |
| 78 @element app-route | 78 @element app-route |
| 79 @demo demo/index.html | 79 @demo demo/index.html |
| 80 @demo demo/data-loading-demo.html |
| 80 --> | 81 --> |
| 81 | 82 |
| 82 </head><body><script src="app-route-extracted.js"></script></body></html> | 83 </head><body><script src="app-route-extracted.js"></script></body></html> |
| OLD | NEW |