This file contains the main JavaScript code for the app, including utility functions, app-specific behaviors, and integration with the Android environment.
Members
-
static isApp :boolean
-
Global flag indicating whether the app is running as a standalone app or within a browser.
Methods
-
inner debounce(callback, time) → {function}
-
Returns a function, that, as long as it continues to be invoked, will not be triggered. The function will be called after it stops being called for N milliseconds. source: https://gist.github.com/nmsdvid/8807205#gistcomment-2641356
Parameters:
Name Type Description callback
function The function to debounce.
time
number The debounce time in milliseconds.
Returns:
function -Returns a debounced version of the given function.
-
inner useAppPanes() → {boolean}
-
Determines whether to use the interface for mobile devices depending on the application environment and device type.
Returns:
boolean -Returns true if app panes should be used, false otherwise.