mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-07-04 14:47:20 +00:00
Updated Module System Proposal (asciidoc)
parent
d5afbda6ee
commit
7290b282a2
@ -45,7 +45,9 @@ Any helper scrips (php) should be in the module folder, and should not affect an
|
||||
|
||||
`function restoreRegion(region) { ... }` - Function to restore regions to their original state. Also add an `all` input to restore all regions changed by the plugin.
|
||||
|
||||
Maybe it would be better to implement some kind of general multiuser system, so that in config.js you can specify different module sets for different users. Modules could than be used to switch them by providing face, speech or whatever recognition .
|
||||
Maybe it would be better to implement some kind of general multiuser system, so that in config.js you can specify different module sets for different users. Modules could than be used to switch them by providing face, speech or whatever recognition.
|
||||
|
||||
`function changeLayout(layout) { ... }` - Function to change the current layout used by the UI. Modules should be aware of which user (or no user) is logged in or which layout is active so informations can also be changed.
|
||||
|
||||
***
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user