PolymerElements/iron-resizable-behavior

Name: iron-resizable-behavior

Owner: PolymerElements

Description: null

Created: 2015-04-28 21:16:17.0

Updated: 2018-04-11 19:06:59.0

Pushed: 2018-05-23 02:32:17.0

Homepage: null

Size: 130

Language: HTML

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Build status

Demo and API docs

Polymer.IronResizableBehavior

IronResizableBehavior is a behavior that can be used in Polymer elements to coordinate the flow of resize events between “resizers” (elements that control the size or hidden state of their children) and “resizables” (elements that need to be notified when they are resized or un-hidden by their parents in order to take action on their new measurements).

Elements that perform measurement should add the IronResizableBehavior behavior to their element definition and listen for the iron-resize event on themselves. This event will be fired when they become showing after having been hidden, when they are resized explicitly by another resizable, or when the window has been resized.

Note, the iron-resize event is non-bubbling.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.