javascript - How to implement batch click events in Angular2?
世界只因有你2017-06-26 10:50:54
0
1
780
1. You need to set click events for all images, including the img tag in the html that is added later. 2. How to add click events to all img. 3. Is there a method similar to $().on?
As long as the code is written in js, all native methods can be used.