StaticformatUtility function to format a memory size to a maximum of 4 digits for the integer part by appending the appropriate unit.
the size value to format
the number of digits of the factional part
the language (BCP 47 code, used to determine the delimiter)
StaticinstanceStaticLogStaticNotificationStaticOptionsStaticparseConverts a string with HTML source to a single or multiple DOM trees.
the root nodes of the DOM trees
StaticRendererStaticRenderStaticTableStaticcreateReturns the data (data-* Attribute) of the specified
element with the given key. If it does not exist, it
set to the value provided by the supplier function.
the DOM element
the key of the data
the supplier function
StaticfindDelegates to the instance's Console.findConletPreview.
StaticfindDelegates to the instance's Console.findConletView.
StaticforFinds the lang specific item in a map of items by language. The function first tests for a property as specified by lang, then removes any trailing "-..." from lang and tries again. If not successful, it tests for an entry using "en" and if still no match is found it returns null.
the messages by language identifier
the language identifier
fallback language (defaults to 'en')
StaticinitDelegates to Console.init.
StaticlocalizeLocalizes the given key, using the provided localizations and language.
First, the implementation looks up a mapping using
forLang(l10ns, lang, fallback). Then it looks for an entry for key.
If none is found, it returns the value of key.
the mappings by language identifier
the language identifier
the key to look up
fallback language (defaults to 'en')
StaticlockDelegates to Console.lockMessageQueue.
StaticnotificationDelegates to the instance's Console.notification.
StaticnotifyDelegates to Console.notifyConletModel.
StaticregisterDelegates to Console.registerConletFunction.
StaticunlockDelegates to Console.unlockMessageQueue.
Staticuuid
A class with static members that makes the console and the types used by the API available together with some utilty functions. Usually imported as
JGConsole. Of course, the types and functions may also be imported individually.The class is also registered as
window.JGConsolefor non-modular JavaScript.