WebUI: Fix cr-input to work with Polymer 2.
In Polymer 2 the following syntax for registering event listeners
is no longer supported.
listeners: {
'id.eventName': 'onEventName_',
},
Instead the listener must be added either programmatically, or
declaratively directly on the |id| element.
Bug:875470
Change-Id: I84f1d61b9b669dda1922f6c8d5f2bbc8de211c1c
Reviewed-on: https://chromium-review.googlesource.com/1213380Reviewed-by:
Esmael El-Moslimany <aee@chromium.org>
Commit-Queue: Demetrios Papadopoulos <dpapad@chromium.org>
Cr-Commit-Position: refs/heads/master@{#589732}
Showing
Please register or sign in to comment