From 50477ecaaafee60dace512750c88f05e4a577b92 Mon Sep 17 00:00:00 2001 From: Dan Beam Date: Thu, 21 Jul 2016 15:58:07 -0700 Subject: [PATCH] allow configuring restore-focus-on-close (#94) * allow configuring restore-focus-on-close * add doc comment * test that restoreFocusOnClose propagates to dropdown * shave some indent and re-order property after merging * the OCD is taking hold * srsly --- paper-menu-button.html | 10 +++++++++- test/paper-menu-button.html | 7 +++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/paper-menu-button.html b/paper-menu-button.html index 1406a3a..3527151 100644 --- a/paper-menu-button.html +++ b/paper-menu-button.html @@ -124,7 +124,7 @@ no-animations="[[noAnimations]]" focus-target="[[_dropdownContent]]" allow-outside-scroll="[[allowOutsideScroll]]" - restore-focus-on-close + restore-focus-on-close="[[restoreFocusOnClose]]" on-iron-overlay-canceled="__onIronOverlayCanceled">