Polymer input change event
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: All I want is to be able to get the input from a polymer element <paper-input> and alert it onchange WITHOUT creating a custom polymer element. issues: on-change doesn't do anything I doubt this.value will do anything Pseudocode: <!DOCTYPE html> <html> <head><!--insert proper head elements here--></head> <body> <paper-input floatingLabel label="test" on-change="alert(this.value)"></paper-input> </body> </html> 回答1: I don't know if the OP wanted a change callback while typing...but for Polymer 1.0+ one can listen to the changes while typing