OLD | NEW |
1 iron-resizable-behavior | 1 iron-resizable-behavior |
2 ======================= | 2 ======================= |
3 | 3 |
4 `IronResizableBehavior` is a behavior that can be used in Polymer elements to | 4 `IronResizableBehavior` is a behavior that can be used in Polymer elements to |
5 coordinate the flow of resize events between "resizers" (elements that control t
he | 5 coordinate the flow of resize events between "resizers" (elements that control t
he |
6 size or hidden state of their children) and "resizables" (elements that need to
be | 6 size or hidden state of their children) and "resizables" (elements that need to
be |
7 notified when they are resized or un-hidden by their parents in order to take | 7 notified when they are resized or un-hidden by their parents in order to take |
8 action on their new measurements). | 8 action on their new measurements). |
9 | 9 |
10 Elements that perform measurement should add the `IronResizableBehavior` behavio
r to | 10 Elements that perform measurement should add the `IronResizableBehavior` behavio
r to |
11 their element definition and listen for the `iron-resize` event on themselves. | 11 their element definition and listen for the `iron-resize` event on themselves. |
12 This event will be fired when they become showing after having been hidden, | 12 This event will be fired when they become showing after having been hidden, |
13 when they are resized explicitly by another resizable, or when the window has be
en | 13 when they are resized explicitly by another resizable, or when the window has be
en |
14 resized. | 14 resized. |
15 | 15 |
16 Note, the `iron-resize` event is non-bubbling. | 16 Note, the `iron-resize` event is non-bubbling. |
OLD | NEW |