I use a dojo.clone(obj)clone DOM node for clone, but I don’t know how cloning event handlers are. Does anyone know how to do this?
dojo.clone(obj)
If it objis a DOM node, it just does obj.cloneNode(true). He does not make concrete attempts to clone events. So, you are at the mercy of any obj.cloneNode(true)clone events that have been answered here .
obj
obj.cloneNode(true)
Source: https://habr.com/ru/post/1768783/More articles:Почему msvc позволяет мне делать это, но не gcc/g++? - c++Is there a way to flip the response list from a script as values? - pythonChange text on Android tab - androidAPI Карт Google на главной странице ASP.NET: почему он остается пустым? - javascriptJPA / HSQLDB still has all my memory - javaHow to click javascript button using htmlunit? - javajavascript cloneNode with events - javascriptHow to make sure UIView -drawRect: draws with contentScaleFactor 1.0f? - iphoneSignpost OAuth on Android: How to recreate a Consumer between two successful runs? - androidmorning web page loading for screenshots - screen-scrapingAll Articles