Module Manager
Information about the module binding

Information

Case does not matter for the module name

setState

1
moduleManager.setState("aura", false)
2
​
3
moduleManager.setState("Keystrokes", true)
Copied!
Sets the specified module to a new toggled state.
Parameter
Type
Description
moduleName
String
The name of the module
state
Boolean
The new state of the module

toggle

1
moduleManager.toggle("aura")
2
​
3
moduleManager.toggle("Keystrokes")
Copied!
Toggles the specified module
Parameter
Type
Description
moduleName
String
The name of the module

toggleSilent

1
moduleManager.toggleSilent("aura")
2
​
3
moduleManager.toggleSilent("Keystrokes")
Copied!
Toggles the specified module without sending a notification
Parameter
Type
Description
moduleName
String
The name of the module

isEnabled

1
if(moduleManager.isEnabled("aura")){...
2
​
3
if(moduleManager.isEnabled("Keystrokes")){...
Copied!
Returns true if the specified module is enabled
Parameter
Type
Description
moduleName
String
The name of the module
Last modified 26d ago