• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

how to update getTemplate()-method?

Scheduled Pinned Locked Moved Troubleshooting
2 Posts 2 Posters 277 Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    Ety60
    last edited by Aug 3, 2020, 10:32 AM

    Hi everyone, I have a beginner’s question. I am making my own module with nunjucks. But I don’t find how to update the getTemplate () method. I know if you’re working with getDom you’re using updateDom (), but what about getTemplate ()?

    S 1 Reply Last reply Aug 3, 2020, 12:17 PM Reply Quote 0
    • S Offline
      sdetweil @Ety60
      last edited by sdetweil Aug 3, 2020, 12:31 PM Aug 3, 2020, 12:17 PM

      @Ety60 you return your nunjuks template

      the sample HelloWorld module uses nunjuks

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      1 / 1
      • First post
        1/2
        Last post
      Enjoying MagicMirror? Please consider a donation!
      MagicMirror created by Michael Teeuw.
      Forum managed by Sam, technical setup by Karsten.
      This forum is using NodeBB as its core | Contributors
      Contact | Privacy Policy