Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(552)

Unified Diff: polymer_1.0.4/bower_components/iron-resizable-behavior/README.md

Issue 1205703007: Add polymer 1.0 to npm_modules (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Renamed folder to 1.0.4 Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: polymer_1.0.4/bower_components/iron-resizable-behavior/README.md
diff --git a/polymer_1.0.4/bower_components/iron-resizable-behavior/README.md b/polymer_1.0.4/bower_components/iron-resizable-behavior/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..72be6def8c0dd0bb2e2835e34716e4a9c3c44639
--- /dev/null
+++ b/polymer_1.0.4/bower_components/iron-resizable-behavior/README.md
@@ -0,0 +1,16 @@
+iron-resizable-behavior
+=======================
+
+`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.

Powered by Google App Engine
This is Rietveld 408576698