I have paper-input element
<paper-input
id="{{ id }}"
label="{{ label }}"
on-keyup="{{ keypressHandler }}"
value="{{ value }}">
</paper-input>
and I can catch event when 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 is changed only when focus is removed from input field, so I'm not able to retrieve elements value at the moment button is released.
How can I get elements value in keypressHandler() ?