WebControlWrapper.RegisterLibrary

From Xojo Documentation


Shared Method

WebControlWrapper.RegisterLibrary(Session as WebSession, JSNamespace as String, LibraryName as String, MinVersion as Integer = 1)

New in 2013r1

Supported for all project types and targets.

Adds a named library to the global library registry so you can look it up later.

Typical usage of these methods are for groups of controls that share a common base library. Over time, as the library evolves, you should still only be sending one copy of the library to the browser. This mechanism gives you a way to store a global reference on a session by session basis of what libraries you have already sent to the browser.

See Also

UnregisterLibrary IsLIbraryRegistered RegisteredLibraryVersion