I am trying to catch the point when a new module page is loaded.
frappe/frappe/public/js/frappe/views/module/moduleview.js has render function that asks page.js to create page but how to get when frappe.page and other methods of frappe.views.moduleview.ModuleView are done with creating a view of module.
I want to insert a diagram at the bottom of the module page. Tried to study how it is created but couldn’t find the end point where the DOM is properly ready and i can get the element $(‘.layout-main’) and insert my HTML into it. I tried to do it from frappe.views.moduleview.ModuleView.make method but it doesn’t work.