Trying to hide progress bar #3140
-
Hi, according to documentation, I should be able to alter the properties of the progress bar with something similar to this:
But is has no effect. I am building ads in Google Web Designer if that is relevant. In the program is what I assume is an extended class from model-viewer, called . It is possible that the part is not exported, but I really am not sure. So I've tried various combos of CSS to no effect.
or
but the component is still there, thusly.. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Hi @BenSztukowski , thanks for reaching out. Which version of model-viewer are you using? Can you also share a repro link that we can try? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
none working on @google/[email protected] using angular ts. : model-viewer { model-viewer::part(default-progress-bar) { <div slot="progress-bar" style="display: none"> any suggestion? |
Beta Was this translation helpful? Give feedback.
I've had success using the following CSS (use id="model" in your element declaration):
#model {
--progress-bar-color: none;
--progress-bar-height: 0px;
}