Core.Web.Library.Group
| Constructor Summary | |
|---|---|
| Public | Core.Web.Library.Group()Creates a new library group. |
| Instance Field Summary | |
|---|---|
| Internal | _listenerListListener storage. |
| Internal | _librariesArray of libraries to be loaded. |
| Internal | _loadedCountNumber of libraries which have been loaded. |
| Internal | _totalCountNumber of libraries to load. |
| Instance Method Summary | |
|---|---|
| Public | add()Adds a library to the library group. |
| Public | addLoadListener()Adds a listener to be notified when all libraries in the group have been loaded. |
| Internal | _fireLoadEvent()Notifies listeners of completed library loading. |
| Public | hasNewLibraries()Determines if this library group contains any new (not previously loaded) libraries. |
| Internal | _install()Installs all libraries in the group. |
| Internal | _notifyRetrieved()Event listener invoked when a single library has been successfully retrieved. |
| Public | load()Initializes library loading. |
| Public | removeLoadListener()Removes a listener from being notified when all libraries in the group have been loaded. |
libraryUrl
(String)
- the URL from which to retrieve the library.l
(Function)
- the listener to addl
(Function)
- the listener to remove