2016-04-01 16:43:59 +02:00
|
|
|
# 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: [
|
|
|
|
{
|
2017-01-24 17:22:17 -03:00
|
|
|
module: "helloworld",
|
|
|
|
position: "bottom_bar", // This can be any of the regions.
|
2016-04-01 16:43:59 +02:00
|
|
|
config: {
|
2016-04-03 19:52:13 +02:00
|
|
|
// See 'Configuration options' for more information.
|
2017-01-24 17:22:17 -03:00
|
|
|
text: "Hello world!"
|
2016-04-01 16:43:59 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
````
|
|
|
|
|
|
|
|
## Configuration options
|
|
|
|
|
|
|
|
The following properties can be configured:
|
|
|
|
|
2017-01-17 16:12:03 +01:00
|
|
|
| Option | Description
|
|
|
|
| ------ | -----------
|
|
|
|
| `text` | The text to display. <br><br> **Example:** `'Hello world!'` <br> **Default value:** `'Hello world!'`
|