Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 417 Bytes

problem1-en.md

File metadata and controls

7 lines (5 loc) · 417 Bytes

Event cannot be duplicated (click on event, etc.)

This plugin does not make a deep copy of the node (cl (true) of jq)

Solution

  1. A simple direct native js for addEventListener, there is a problem with asynchronous data can not be bound. (Not recommended)
  2. The event agent binds the parent element to the corresponding event and makes event completions on the required child elements. (recommend)