Skip to content

Commit

Permalink
Remove traces of r4-track-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
oskarrough committed Oct 18, 2023
1 parent d3fa806 commit 68c4ffc
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions examples/r4-track/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
</li>
</menu>
<r4-track></r4-track>
<r4-track-actions></r4-track-actions>
</body>

<script>
Expand All @@ -32,15 +31,6 @@

const $channel = document.querySelector('r4-track')
trackId && $channel.setAttribute('id', trackId)

/* add some actions to the channel */
const onTrackInput = ({ detail }) => {
console.log('track action', detail)
}

const $actions = document.querySelector('r4-track-actions')
trackId && $actions.setAttribute('id', trackId)
$actions.addEventListener('input', onTrackInput)
</script>

</html>

0 comments on commit 68c4ffc

Please sign in to comment.