Akshay
05/05/2021, 11:36 AMinitialize: function initialize(options) {
this.on('afterShowContent', function () {
console.log('hi');
});
this.on('afterViewRender', function () {
console.log("hi");
});
},
afterShowContent: function afterShowContent() {
console.log('hi');
return jQuery.Deferred().resolve();
},
How can we achieve "document.ready" functionality in extension view.js?Steve Goldberg
05/05/2021, 12:14 PMjQuery(document).ready()
, why don't you just use jQuery(document).ready()
?Akshay
05/05/2021, 12:43 PMSteve Goldberg
05/05/2021, 12:44 PMAkshay
05/05/2021, 12:47 PMjQuery(document).ready()
Steve Goldberg
05/05/2021, 12:51 PMAkshay
05/05/2021, 12:54 PMjQuery(document).ready()
Thank you 😄