1717<dd ><p >JavaScript file loaded with every single page for Universal Functions</p >
1818</dd >
1919<dt ><a href =" #UniverseJS " >UniverseJS</a > : <code >File</code ></dt >
20- <dd ><p >Namespace of functions for easy access to repeatable actions.</p >
20+ <dd ><p >Namespace of functions for easy access to repeatable actions. Aimed at reducing complexity, and duplicity. </p >
2121</dd >
2222<dt ><a href =" #UploadImageJS " >UploadImageJS</a > : <code >File</code ></dt >
2323<dd ><p >The JavaScript file loaded with the Upload Image Page.</p >
@@ -208,7 +208,7 @@ Queries GoPage APIs to determine and set a background image if needed, injecting
208208<a name =" UniverseJS " ></a >
209209
210210## UniverseJS : <code >File</code >
211- Namespace of functions for easy access to repeatable actions.
211+ Namespace of functions for easy access to repeatable actions. Aimed at reducing complexity, and duplicity.
212212
213213** Kind** : global variable
214214
@@ -226,6 +226,7 @@ Namespace of functions for easy access to repeatable actions.
226226 * [ .FindReturnsString(action, status)] ( #UniverseJS.universe.FindReturnsString ) ⇒ <code >string</code >
227227 * [ .HotReload(elementID, url, callback, callbackArg)] ( #UniverseJS.universe.HotReload )
228228 * [ .Loader(shouldShow)] ( #UniverseJS.universe.Loader )
229+ * [ .ChangeLangAPI(chosenLang)] ( #UniverseJS.universe.ChangeLangAPI )
229230
230231<a name =" UniverseJS.universe " ></a >
231232
@@ -247,6 +248,7 @@ The namespace to access all internal functions.
247248 * [ .FindReturnsString(action, status)] ( #UniverseJS.universe.FindReturnsString ) ⇒ <code >string</code >
248249 * [ .HotReload(elementID, url, callback, callbackArg)] ( #UniverseJS.universe.HotReload )
249250 * [ .Loader(shouldShow)] ( #UniverseJS.universe.Loader )
251+ * [ .ChangeLangAPI(chosenLang)] ( #UniverseJS.universe.ChangeLangAPI )
250252
251253<a name =" UniverseJS.universe.SnackbarCommon " ></a >
252254
@@ -420,6 +422,17 @@ Simple method of injecting a Loading animation onto the center of the page.
420422| --- | --- | --- |
421423| shouldShow | <code >boolean</code > | indicates if the loader is being turned off or on. True being on, and False being off. |
422424
425+ <a name =" UniverseJS.universe.ChangeLangAPI " ></a >
426+
427+ #### universe.ChangeLangAPI(chosenLang)
428+ Allowing easy universal access to the ChangeLangAPI, by just submitting the chosenLang
429+
430+ ** Kind** : static method of [ <code >universe</code >] ( #UniverseJS.universe )
431+
432+ | Param | Type | Description |
433+ | --- | --- | --- |
434+ | chosenLang | <code >string</code > | The two digit language code that the server should save |
435+
423436<a name =" UploadImageJS " ></a >
424437
425438## UploadImageJS : <code >File</code >
@@ -432,6 +445,7 @@ The JavaScript file loaded with the Upload Image Page.
432445 * [ .insertImg(imageLoc)] ( #UploadImageJS.insertImg ) ⇒ <code >string</code >
433446 * [ .setImage(name)] ( #UploadImageJS.setImage )
434447 * [ .unsetImage()] ( #UploadImageJS.unsetImage )
448+ * [ .writeUserSettings()] ( #UploadImageJS.writeUserSettings )
435449
436450<a name =" UploadImageJS.loadAvailableImages " ></a >
437451
@@ -472,3 +486,9 @@ Will attempt to save the specified image as the Users background image.
472486Will query GoPage API's to remove whatever is currently set as the User Image
473487
474488** Kind** : static method of [ <code >UploadImageJS</code >] ( #UploadImageJS )
489+ <a name =" UploadImageJS.writeUserSettings " ></a >
490+
491+ ### UploadImageJS.writeUserSettings()
492+ Will allow an easy way of writing to user settings and setting up an error callback
493+
494+ ** Kind** : static method of [ <code >UploadImageJS</code >] ( #UploadImageJS )
0 commit comments