Skip to content

Commit

Permalink
feat: expose parts of player to outside of shadow root (#956)
Browse files Browse the repository at this point in the history
Fixes #950
  • Loading branch information
nvborisenko committed Feb 14, 2024
1 parent 2a87c37 commit c996d39
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions packages/player/src/template.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
<div class="overlay">
<button title="Play / Pause" class="button ready" tabindex="0"></button>
<div class="message error">
<div class="overlay" part="overlay">
<button
part="play-button"
title="Play / Pause"
class="button ready"
tabindex="0"
></button>
<div part="message" class="message error">
An error occurred while loading the animation.
</div>
<svg
part="loader"
class="loader loading"
viewBox="0 0 24 24"
stroke="#ffffff"
Expand Down

0 comments on commit c996d39

Please sign in to comment.