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

Unified Diff: lib/iron_overlay_behavior.dart

Issue 1418513006: update elements and fix some bugs (Closed) Base URL: git@github.com:dart-lang/polymer_elements.git@master
Patch Set: code review updates Created 5 years, 2 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
« no previous file with comments | « lib/iron_media_query.dart ('k') | lib/iron_range_behavior.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/iron_overlay_behavior.dart
diff --git a/lib/iron_overlay_behavior.dart b/lib/iron_overlay_behavior.dart
index eee295c57f909103df2293f4fa6e2869eaf9182c..1621810ccba5dfcb790cf2f5aa3eca7934155f53 100644
--- a/lib/iron_overlay_behavior.dart
+++ b/lib/iron_overlay_behavior.dart
@@ -23,7 +23,8 @@ import 'iron_overlay_backdrop.dart';
/// it will cancel whenever the user taps outside it or presses the escape key. This behavior is
/// configurable with the `no-cancel-on-esc-key` and the `no-cancel-on-outside-click` properties.
/// `close()` should be called explicitly by the implementer when the user interacts with a control
-/// in the overlay element.
+/// in the overlay element. When the dialog is canceled, the overlay fires an 'iron-overlay-canceled'
+/// event. Call `preventDefault` on this event to prevent the overlay from closing.
///
/// ### Positioning
///
« no previous file with comments | « lib/iron_media_query.dart ('k') | lib/iron_range_behavior.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698