Can't control button show time in ReactJS #3557
Answered
by
elalish
lilyntalmers
asked this question in
Q&A
-
I'm trying to create a website in ReactJS but can't seem to be able to control button show time. I used to able to control button show time using this:
And this is how I'm importing Model-Viewer in ReactJS:
|
Beta Was this translation helpful? Give feedback.
Answered by
elalish
Jun 29, 2022
Replies: 1 comment 3 replies
-
Not sure what changed, but have you considered an event listener instead of polling? https://modelviewer.dev/docs/#entrydocs-loading-events-modelVisibility |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
lilyntalmers
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not sure what changed, but have you considered an event listener instead of polling? https://modelviewer.dev/docs/#entrydocs-loading-events-modelVisibility