Closed David405 closed 3 years ago
The main problem I am facing is that I don't understand how participate.js
interact with participate.html,
I mean, when you do mount('#xxxx', xxxx)
inside participate.js,
how does participate.js
know it has to search participate.html
for #xxxxx
?
If you can get me up to speed by explaining this, I think I can figure out a solution from there.
@dckc I was able to figure out a fix, Idk if it's the best way to approach this but it works correctly and isn't causing any obvious problems.
What I did was, since I don't know how to make another HTML file use participate.js
, I divided participate.html
into two main divs (one div controls the developer interface, the other controls the voting interface) and created a navbar, the navbar buttons control which area of the DOM is shown or hidden, this way, I can use participate.html
to render the voting interface.
I'm out of town this weekend.
On Fri, Jul 23, 2021 at 2:28 PM David Asamonye @.***> wrote:
-- Dan Connolly http://www.madmode.com/