Quantcast
Channel: How can I expose a public api from this specific IIFE JS structure? - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by charlietfl for How can I expose a public api from this specific...

One way would be to assign a reference to the function to a window property. If you have to do this often you could have a global object of your own in window namespace and assign as a property to that...

View Article



How can I expose a public api from this specific IIFE JS structure?

In AspNetZero/ABP, the default index.js for an entity looks like the following: (function () { $(function () { var _$formulationFrequenciesTable = $('#FormulationFrequenciesTable'); var...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images