mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
This change is related commit f59f035a7ec5e64ab9e629521b39a548a6430b8b Now is used grunt for check ESLint syntax validation of config/* files
26 lines
706 B
Markdown
26 lines
706 B
Markdown
# Module: Hello World
|
|
The `helloworld` module is one of the default modules of the MagicMirror. It is a simple way to display a static text on the mirror.
|
|
## Using the module
|
|
|
|
To use this module, add it to the modules array in the `config/config.js` file:
|
|
````javascript
|
|
modules: [
|
|
{
|
|
module: "helloworld",
|
|
position: "bottom_bar", // This can be any of the regions.
|
|
config: {
|
|
// See 'Configuration options' for more information.
|
|
text: "Hello world!"
|
|
}
|
|
}
|
|
]
|
|
````
|
|
|
|
## Configuration options
|
|
|
|
The following properties can be configured:
|
|
|
|
| Option | Description
|
|
| ------ | -----------
|
|
| `text` | The text to display. <br><br> **Example:** `'Hello world!'` <br> **Default value:** `'Hello world!'`
|