From f362a918add9964d2b7198cd2324a90634d4787a Mon Sep 17 00:00:00 2001 From: Daniel Manson Date: Tue, 5 Apr 2016 12:26:23 +0100 Subject: [PATCH] add support for "only" modifier --- iron-a11y-keys-behavior.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/iron-a11y-keys-behavior.html b/iron-a11y-keys-behavior.html index fb90a41..17c5aae 100644 --- a/iron-a11y-keys-behavior.html +++ b/iron-a11y-keys-behavior.html @@ -212,6 +212,8 @@ if (keyName in MODIFIER_KEYS) { parsedKeyCombo[MODIFIER_KEYS[keyName]] = true; parsedKeyCombo.hasModifiers = true; + } else if (keyName === "only"){ + parsedKeyCombo.hasModifiers = true; } else { parsedKeyCombo.key = keyName; parsedKeyCombo.event = event || 'keydown';