We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11e5b47 commit 7faef7bCopy full SHA for 7faef7b
2 files changed
src/index.ts
@@ -16,7 +16,7 @@ const options: Options = {
16
SrcDefer: true,
17
ProgressBar: true,
18
Debug: App.getUrlParameter("debug") == "true" ? true : false,
19
- onLoad: () => customScript(),
+ onLoad: () => customScript(App),
20
onResize: () => console.log("Starter Theme Window Resized"),
21
};
22
new App(options);
src/scripts/main.js
@@ -1,6 +1,6 @@
1
-export const customScript = function () {
+export const customScript = function (App) {
2
console.log("ENGrid client scripts are executing");
3
// Add your client scripts here
4
5
- App.setBodydata("client-js-loading", "finished");
+ App.setBodyData("client-js-loading", "finished");
6
0 commit comments