Replies: 2 comments
-
Can you share the actual code at a high level? It's hard to know based just on description. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Below are as high level of the current code (quite dirty as i have not yet cleaned it, my apologies!) - the current code wraps the 'update' function only in an 'async/await' wrapper. frontmatter display function
Corresponding dv.view
Reset function
Corresponding dv.view
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all
i am trying to set up a page with the following structure:
Frontmatter
Body
the code broadly works BUT the display script show 0 for all datapoints. It seems to me that both scripts do execute regardless and that the display script get fed the result of the reset script, whether the button is clicked or not. I am not sure how to manage the competition for frontmatter resource btw the 2 scripts.
what have i tried:
async
/await
functionasync
/await
functionNone of the solutions seem to work. Would you know how to best implement this? Or whether it is possible at all at current?
Happy to paste the code if it helps.
Beta Was this translation helpful? Give feedback.
All reactions