     this.$widget = $("");
        return this.$widget;
    }
}

module.exports = new MyWidget();</code></pre>
<p>To implement this widget:</p>
<ol>
  <li>Create a new <code>JS Frontend</code> note in Trilium and paste in the code
    above.</li>
  <li>Assign the <code>#widget</code>  <a href="#root/_help_zEY4DaJG4YT5">attribute</a> to
    the <a href="#root/_help_BFs8mudNFgCS">note</a>.</li>
  <li>Restart Trilium or reload the window.</li>
</ol>
<p>To verify that the widget is working, open the developer t