Detect if note appear on dashboard? #2435
Unanswered
henriklynggaard
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using dataviewJS to create the datamodel for a "Contribution Graph" (plugin with the same name). The code in a separate note for easy editing and I have then added that note to a canvas.
Now I would like the contribution Graph to render slightly different depending on whether I view the graph on its own note or on the canvas. From a graph point of view this is easy as it is just a matter of different properties
The question is how do I detect where it is being viewed. I have tried with dv.current() but it reports the original note even when viewed on canvas
Is even possible?
Beta Was this translation helpful? Give feedback.
All reactions