datacamp-light icon indicating copy to clipboard operation
datacamp-light copied to clipboard

DCL.instance initiliaze? Other than window.load

Open WeatherAnchor opened this issue 4 years ago • 0 comments

Is there any other way to initialize the dcl.instances? I always have to write my functions on window.load methods. I wanna initialize by calling my custom functions. window.onload = function () { DCL.instances["my_dc_id"].on("feedback", function(payload) { //does something here }); }

WeatherAnchor avatar Sep 24 '20 09:09 WeatherAnchor