-
Hello Community, i've searched the the whole internet and github, but maybe i searched in a wrong way. however. I have written a Right Panel Widget in which all the Attributes are listed. I want to open up the Attribute-Details Widget when i click on an attribute. The same functionality when you click on an owned Attribute in the notes. How do i reuse the widget from Trilium from inside of trilium itself? Thanks and i hope my question is clear enough. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
The widget itself is not accessible through the API and I don't think there's any way to trigger it either without simulating clicking the original widget. |
Beta Was this translation helpful? Give feedback.
-
This widget is not exposed in the API contract. |
Beta Was this translation helpful? Give feedback.
-
It is a hack, but couldn't you use javascript to grab the attributes element and fire the click event? |
Beta Was this translation helpful? Give feedback.
The widget itself is not accessible through the API and I don't think there's any way to trigger it either without simulating clicking the original widget.