Global Data Variables
Global variables store the meta-information about the elements common to all apps. It is a tree-list view of the variables and their respective values.
Current User
Variables | Values |
---|---|
id | The ID value of the user who is currently logged in. This is the User ID stored in the Appizap backend. |
name | Name of the current user set in the profile. |
avatarUrl | The URL reference to the profile pic of the current user. |
Email address of the logged-in user | |
ip | The public IP value of the machine, the user logged-in. |
groups | The list of group-names where the user is included.
|
extra | The string message or information that the developers imprint for reference and implementation. |
localStorage
Variables | Values |
---|---|
values | Represents the values set using |
screenInfo
Variables | Values |
---|---|
width | Width value of the current device in px |
height | Height value of the current device in px |
deviceType | The type of the device being used.
|
isMobile |
|
isTablet |
|
isDesktop |
|
theme
Variables | Values |
---|---|
id | Shows the ID value of the theme currently used. |
name | Shows the Name of the theme. |
allThemes | Shows the list of themes available on the platform and their corresponding ID/Names. |
url
Variables | Values |
---|---|
href | The URL value of the current session from the browser. |
hash | |
query |
Last updated