+ 1

Delegates

Are there delegates in js?

10th Sep 2020, 9:06 PM
Adrián Valdés
Adrián Valdés - avatar
3 odpowiedzi
+ 4
the jQuery delegate() Method attaches one or more event handlers for specified elements that are children of selected elements, and specifies a function to run when the events occur. Event handlers attached using the delegate() method will work for both current and FUTURE elements (like a new element created by a script). Learn more: https://www.w3schools.com/jquery/event_delegate.asp
10th Sep 2020, 9:29 PM
Galaxy-Coding (inactive)
Galaxy-Coding (inactive) - avatar
+ 2
https://www.sololearn.com/discuss/1752834/?ref=app
10th Sep 2020, 9:08 PM
BroFar
BroFar - avatar
+ 1
Thanks
10th Sep 2020, 9:09 PM
Adrián Valdés
Adrián Valdés - avatar