| OLD | NEW |
| (Empty) |
| 1 | |
| 2 <!--- | |
| 3 | |
| 4 This README is automatically generated from the comments in these files: | |
| 5 iron-resizable-behavior.html | |
| 6 | |
| 7 Edit those files, and our readme bot will duplicate them over here! | |
| 8 Edit this file, and the bot will squash your changes :) | |
| 9 | |
| 10 The bot does some handling of markdown. Please file a bug if it does the wrong | |
| 11 thing! https://github.com/PolymerLabs/tedium/issues | |
| 12 | |
| 13 --> | |
| 14 | |
| 15 [](https://travis-ci.org/PolymerElements/iron-resizable-behavior
) | |
| 16 | |
| 17 _[Demo and API docs](https://elements.polymer-project.org/elements/iron-resizabl
e-behavior)_ | |
| 18 | |
| 19 | |
| 20 ##Polymer.IronResizableBehavior | |
| 21 | |
| 22 `IronResizableBehavior` is a behavior that can be used in Polymer elements to | |
| 23 coordinate the flow of resize events between "resizers" (elements that control t
he | |
| 24 size or hidden state of their children) and "resizables" (elements that need to
be | |
| 25 notified when they are resized or un-hidden by their parents in order to take | |
| 26 action on their new measurements). | |
| 27 | |
| 28 Elements that perform measurement should add the `IronResizableBehavior` behavio
r to | |
| 29 their element definition and listen for the `iron-resize` event on themselves. | |
| 30 This event will be fired when they become showing after having been hidden, | |
| 31 when they are resized explicitly by another resizable, or when the window has be
en | |
| 32 resized. | |
| 33 | |
| 34 Note, the `iron-resize` event is non-bubbling. | |
| 35 | |
| 36 | |
| OLD | NEW |