mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
converting sidebar widgets to normal widgets
This commit is contained in:
@@ -26,6 +26,8 @@ class BasicWidget {
|
||||
doRender() {}
|
||||
|
||||
eventReceived(name, data) {
|
||||
console.log("received", name, "to", this.widgetId);
|
||||
|
||||
const fun = this[name + 'Listener'];
|
||||
|
||||
if (typeof fun === 'function') {
|
||||
|
||||
Reference in New Issue
Block a user