Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

paper-input change vs value-changed

Tags:

polymer-2.x

can anyone please explain the difference between change and value-changed events for polymer's paper-input element? The docs mentioned here do not explain this difference.

like image 498
Ankit Kante Avatar asked Mar 22 '26 00:03

Ankit Kante


1 Answers

change occurs when paper-input loses focus and if there is any changes in the value.

value-changed occurs when user presses a key in paper-input to change the value.

Demo here.

like image 181
Ofisora Avatar answered Mar 24 '26 04:03

Ofisora



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!