A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
Use Javascript to modify the module header
-
I could set the header name in
config.json
but I would like to modify the value in runtime. So I wonder if I could modify the header using Javascript.Thanks in advance
-
Sure, you can use
this.data.header = 'My header is awesome';
-
@C-son said in Use Javascript to modify the module header:
this.data.header = ‘My header is awesome’;
Thanks