Skip to content

Commit

Permalink
feat: add support for vertical maquees (fixes #15, #65, #78) (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
megasanjay authored Jun 23, 2023
1 parent fb3bfdc commit fe5dbcc
Show file tree
Hide file tree
Showing 3 changed files with 215 additions and 36 deletions.
15 changes: 15 additions & 0 deletions packages/playground/vite-project/src/App.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<template>
<div>
<HelloWorld msg="Hello Vue 3 + TypeScript + Vite + Vue3 Marquee" />

<div>
<p>Default</p>
<Vue3Marquee>
Expand Down Expand Up @@ -49,12 +50,26 @@
<img v-for="i in img_30" :key="i" height="80" :src="i" />
</Vue3Marquee>
</div>
<div>
<p>Gradient Length: 600px</p>
<Vue3Marquee :gradient="true" gradient-length="600px">
<img v-for="i in img_30" :key="i" height="80" :src="i" />
</Vue3Marquee>
</div>
<div>
<p>clone</p>
<Vue3Marquee :clone="true" :duration="5">
<img v-for="i in img_5" :key="i" height="80" :src="i" />
</Vue3Marquee>
</div>
<div>
<p>Vertical</p>
<div style="height: 500px; width: max-content">
<Vue3Marquee :vertical="true">
<img v-for="i in img_30" :key="i" height="50" :src="i" />
</Vue3Marquee>
</div>
</div>
<div>
<p>
Fix for issue:
Expand Down
2 changes: 1 addition & 1 deletion packages/vue3-marquee/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue3-marquee",
"version": "3.1.3",
"version": "3.2.0-beta.0",
"license": "MIT",
"description": "A simple marquee component with ZERO dependencies for Vue 3",
"author": "Sanjay Soundarajan <[email protected]> (https://sanjaysoundarajan.dev)",
Expand Down
Loading

1 comment on commit fe5dbcc

@vercel
Copy link

@vercel vercel bot commented on fe5dbcc Jun 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

vue3-marquee – ./

vue3-marquee.vercel.app
vue3-marquee-megasanjay.vercel.app
vue3-marquee-git-main-megasanjay.vercel.app

Please sign in to comment.