Skip to content

How to ensure the model cache size limit is set properly #4735

Closed Answered by elalish
YokeshImersive asked this question in Q&A
Discussion options

You must be logged in to vote

Did you check for JS errors? My best guess is that your script is running before the MV library loads, so customElements.get("model-viewer") is undefined or something. There's even a web API to get an event when a particular custom element loads, which might be useful.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@YokeshImersive
Comment options

@YokeshImersive
Comment options

Answer selected by YokeshImersive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants