Skip to content

Commit

Permalink
feat: add data-scrolly-container attribute to vue and svelte as well (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsisexistence committed Mar 31, 2024
1 parent c29161a commit ea1f9db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ScrollyVideo.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@
});
</script>

<div bind:this={scrollyVideoContainer} />
<div bind:this={scrollyVideoContainer} data-scrolly-container />
2 changes: 1 addition & 1 deletion src/ScrollyVideo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,5 @@ export default {
</script>

<template>
<div ref="containerElement" />
<div ref="containerElement" data-scrolly-container />
</template>

0 comments on commit ea1f9db

Please sign in to comment.