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

Unified Diff: polymer_1.0.4/bower_components/iron-overlay-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-overlay-behavior/README.md
diff --git a/polymer_1.0.4/bower_components/iron-overlay-behavior/README.md b/polymer_1.0.4/bower_components/iron-overlay-behavior/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..17df695feb2204cd4b4d3e563e4b4e42057f418d
--- /dev/null
+++ b/polymer_1.0.4/bower_components/iron-overlay-behavior/README.md
@@ -0,0 +1,11 @@
+# iron-overlay-behavior
+Makes an element an overlay with an optional backdrop.
+
+`iron-overlay-behavior` displays an element on top of other content. It starts out hidden and is
+displayed by calling `open()` or setting the `opened` property to `true`. It may be closed by
+calling `close()` or `cancel()`, or by setting the `opened` property to `true`.
+
+The difference between `close()` and `cancel()` is user intent. `close()` generally implies that
+the user acknowledged the content of the overlay. By default, it will cancel whenever the user taps
+outside it or presses the escape key. This behavior can be turned off via the `no-cancel-on-esc-key`
+and the `no-cancel-on-outside-click` properties.

Powered by Google App Engine
This is Rietveld 408576698