On this page:
global object jsPanel
The jsPanel script exposes one global object
Basically the global object
jsPanel is for internal use and is home to most
of the functions internally used by
$.jsPanel(). But the one or the other
property/method might be useful in your script:
is a string like containing version information of the jsPanel script.
jsPanel.device added in version 2.4.0
is an object providing some device information. Properties are:
By default the jsPanel script relies on mobile-detect.js to set property values.
If mobile-detect.js is not loaded the values are
If mobile.detect.js is loaded but the device is not recognized as mobile the values are
jsPanel.getMaxOfArray(numArray) added in version 2.4.0
is a method that returns the max value of an array of numbers.
jsPanel.importPanels(configs) added in version 2.4.0
These methods allow to export/save a panel layout and later restore the layout. For detailed information on this topic please refer to export/save current jsPanel layout.