uiCompleteScript is not loading
See original GitHub issueI have integrated this module and everything is working fine except one thing that is uiCompleteScript option.
I have added below line
uiCompleteScript: 'document.getElementsByClassName("download-url-wrapper")[0].style.display = "none"; document.getElementsByClassName("download-url-input")[0].style.display = "none";'
Is this option got changed or it’s not working in this version? Previously it was working fine.
Help will be appreciated. Thanks in advance.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
javascript - Script file not loading - Stack Overflow
My lightbox script file wasn't loeading properly: ... I then removed type="text/javascript" and it loaded perfectly.
Read more >How to tell if a <script> tag failed to load? - GeeksforGeeks
There are two methods which are discussed below: Approach 1: Set a variable loaded = false.
Read more >Javascript Loading and Execution - Medium
First of all, I want to talk about the loading and execution of Javascript. Generally speaking, the browser has two major features for...
Read more >4. Loading Scripts Without Blocking - Even Faster Web Sites ...
Script Defer shouldn't be used because it forces scripts to be loaded in order, whereas the page loads faster if scripts are executed...
Read more >Scripts: async, defer - The Modern JavaScript Tutorial
DOMContentLoaded event means HTML document has been completely loaded and parsed. For defer script, it may create/delete DOM elements, so ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@anuragmishra1 this does appear to be missed in the refactor. Swagger UI does provide a hook called onComplete but
hapi-swagger
doesn’t expose that option. I’ll fix asap.Resolved via https://github.com/glennjones/hapi-swagger/pull/686