Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the possiblity to load custom js on startup #6457

Closed
freddidierRTE opened this issue May 14, 2024 · 0 comments · Fixed by #6466
Closed

Add the possiblity to load custom js on startup #6457

freddidierRTE opened this issue May 14, 2024 · 0 comments · Fixed by #6466
Assignees
Labels
Enhancement New feature

Comments

@freddidierRTE
Copy link
Contributor

freddidierRTE commented May 14, 2024

Add in web-ui an array of string defining js file with relative url to be loaded on startup

param name proposal : "customJsToLoad"

The base path for js should be /externalJs

Add a fictive example that just write in the console "Custom js example executed" in a file name example.js in external/

See how we can be sure the script has been loaded before loading a template , using await in the loading sequence should be possible

@freddidierRTE freddidierRTE added the Enhancement New feature label May 14, 2024
quinarygio added a commit that referenced this issue May 16, 2024
Signed-off-by: Giovanni Ferrari <giovanni.ferrari@soft.it>
quinarygio added a commit that referenced this issue May 17, 2024
Signed-off-by: Giovanni Ferrari <giovanni.ferrari@soft.it>
freddidierRTE pushed a commit that referenced this issue May 21, 2024
Signed-off-by: Giovanni Ferrari <giovanni.ferrari@soft.it>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants