I have a paper input element
<paper-input id="{{ id }}" label="{{ label }}" on-keyup="{{ keypressHandler }}" value="{{ value }}"> </paper-input>
and I can catch the event when the key is released.
Polymer("app-input", { ready: function() { this.value = false; }, keypressHandler: function(event, detail, sender) { console.log("inputChanged"); console.log(this.value); } });
But this.value changes only when the focus is removed from the input field, so I canβt get the value of the elements when the button is released.
How can I get the value of elements in keypressHandler ()?
source share