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

Unified Diff: third_party/polymer/v1_0/components/iron-pages/iron-pages.html

Issue 1221923003: Update bower.json for Polymer elements and add PRESUBMIT.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 5 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: third_party/polymer/v1_0/components/iron-pages/iron-pages.html
diff --git a/third_party/polymer/v1_0/components/iron-pages/iron-pages.html b/third_party/polymer/v1_0/components/iron-pages/iron-pages.html
index 6fe2f482845e12ac7960c358e3f8a9d6c4bf073d..1753f0eb177068b874c1d4824e2d159be18ac52d 100644
--- a/third_party/polymer/v1_0/components/iron-pages/iron-pages.html
+++ b/third_party/polymer/v1_0/components/iron-pages/iron-pages.html
@@ -71,6 +71,18 @@ Example:
Polymer.IronSelectableBehavior
],
+ properties: {
+
+ // as the selected page is the only one visible, activateEvent
+ // is both non-sensical and problematic; e.g. in cases where a user
+ // handler attempts to change the page and the activateEvent
+ // handler immediately changes it back
+ activateEvent: {
+ value: null
+ }
+
+ },
+
observers: [
'_selectedPageChanged(selected)'
],

Powered by Google App Engine
This is Rietveld 408576698