In v2018 there's function ew_ShowTemplates()
so that I can do this
// Startup script
$(document).on("rendertemplate", function(e, args) {
if (args.template) {
args.enabled = false; // do not render template
ew_ShowTemplates(classname); // show initial table
}
});
What is the equivalent of this function in v2024?
My goal is to do this
// Startup script
if (ew.IS_MOBILE) {
// render template
} else {
// don't render template, show initial table
}