Polymer input change event

前端 未结 5 1711
独厮守ぢ
独厮守ぢ 2021-02-05 20:42

All I want is to be able to get the input from a polymer element and alert it onchange WITHOUT creating a custom polymer element.

issues: on-change

5条回答
  •  太阳男子
    2021-02-05 20:56

    You can specify a custom change event name in the annotation using the following syntax https://www.polymer-project.org/1.0/docs/devguide/data-binding.html#two-way-native :

    target-prop="{{hostProp::target-change-event}}"
    

提交回复
热议问题