DNN-JavaScript-Libraries | Common JavaScript libraries packaged as DNN JavaScript Library extensions
kandi X-RAY | DNN-JavaScript-Libraries Summary
kandi X-RAY | DNN-JavaScript-Libraries Summary
Version 7.2 of the DNN Platform introduced the JavaScript Library extension type. This allows common JavaScript libraries to exist in a single place within a DNN site, instead of every module, skin, and piece of content that wants to include them using their own. DNN presently comes with libraries for jQuery, jQuery UI, jQuery Migrate, Knockout, and Knockout Mapping. In addition to these built-in libraries, new libraries can be installed into DNN, and used by various components. DNN allows multiple versions of a JavaScript library to be used, so one module can request a particular version of a script, while another requests another. So long as they aren't on the same page, they will get what they requested; otherwise, DNN will use the higher version.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Checks if the element is hidden by another element
- find zindex of zIndex
- Parse element position
- call the function
- Hide the button
- Check if offset is less than one
- Toggles the state of the hover state .
- create a template function
DNN-JavaScript-Libraries Key Features
DNN-JavaScript-Libraries Examples and Code Snippets
Community Discussions
Trending Discussions on DNN-JavaScript-Libraries
QUESTION
I have seen a couple of forums where people mention that they can't use Defer and Async in DNN for JavaScript files. Is this true? See the two links below:
Is there any new Developments or recent Updates that will allow this without having to use the Composite function turned on in DNN's performance tab?
Some people mention that you can include your JavaScript functions inside a $( document ).ready() function.
I would also like to know what is the difference between method 1 and 2 below for including JavaScript files in DNN?
Method 1 (ASP)
...ANSWER
Answered 2018-Jun-15 at 22:12It depends on how you include your JavaScript files in your modules. If you use the Client Dependency Framework there currently is not a way to specify async or defer. However, there is a open GitHub issue / Jira issue regarding this. If you use standard Script tags in your modules to include the JavaScript then you can use anything the Script tag supports.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install DNN-JavaScript-Libraries
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page