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

Unified Diff: lib/iron_a11y_keys_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/google_streetview_pano.dart ('k') | lib/iron_autogrow_textarea.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/iron_a11y_keys_behavior.dart
diff --git a/lib/iron_a11y_keys_behavior.dart b/lib/iron_a11y_keys_behavior.dart
index 0f06fa5a405768ad87075e7365a3e84e47d5f94a..6c5155d0eda2e0ef2a8624d885905596c69a1b66 100644
--- a/lib/iron_a11y_keys_behavior.dart
+++ b/lib/iron_a11y_keys_behavior.dart
@@ -31,6 +31,11 @@ abstract class IronA11yKeysBehavior implements CustomElementProxyMixin {
get keyEventTarget => jsElement[r'keyEventTarget'];
set keyEventTarget(value) { jsElement[r'keyEventTarget'] = (value is Map || (value is Iterable && value is! JsArray)) ? new JsObject.jsify(value) : value;}
+ /// If true, this property will cause the implementing element to
+ /// automatically stop propagation on any handled KeyboardEvents.
+ bool get stopKeyboardEventPropagation => jsElement[r'stopKeyboardEventPropagation'];
+ set stopKeyboardEventPropagation(bool value) { jsElement[r'stopKeyboardEventPropagation'] = value; }
+
/// Can be used to imperatively add a key binding to the implementing
/// element. This is the imperative equivalent of declaring a keybinding
/// in the `keyBindings` prototype property.
« no previous file with comments | « lib/google_streetview_pano.dart ('k') | lib/iron_autogrow_textarea.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698