Is there a way to only show the waveform behind a region? #4204
-
|
I've taken a look at these discussions:
The issue i've found with changing
However, if you apply this property to a region, its direct parent isn't the waveform, it's a wrapper div. I found that if I apply the property to the wrapper div, you can get the desired effect, but since it's in the shadow dom I can't select it. For example, if you change the css at https://wavesurfer.xyz/examples/?styling.js for I'm not sure if i'm missing something obvious. I'd appreciate any help. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Don't think it's possible out of the box. ChatGPT suggested a solution involving CSS gradients and masks, perhaps worth exploring. |
Beta Was this translation helpful? Give feedback.
If it helps, sure, I don't mind.