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 }); }
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 }); }