Socket
Socket
Sign inDemoInstall

svelte-marquee-text-widget

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    svelte-marquee-text-widget

[CSS GPU Animation] Marquee Text for Svelte


Version published
Weekly downloads
101
decreased by-36.48%
Maintainers
1
Install size
182 kB
Created
Weekly downloads
 

Readme

Source

svelte-marquee-text-widget

[CSS GPU Animation] Marquee Text for Svelte

npm license npm

Demo

https://borakilicoglu.github.io/svelte-marquee-text-widget/

Install

npm install svelte-marquee-text-widget or yarn add svelte-marquee-text-widget

Usage

Import that in your App.svelte or similar file

import MarqueeTextWidget from "svelte-marquee-text-widget";

On your page you can now use html like this:

<!-- simple marquee text -->
<marquee-text-widget>
  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
  eirmod tempor invidunt ut labore et dolore magna.
</marquee-text-widget>

<!-- short text need more duplicates -->
<marquee-text-widget repeat="{10}">
  Short text =(
</marquee-text-widget>

<!-- slow duration -->
<marquee-text-widget duration="{30}">
  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
  eirmod tempor invidunt ut labore et dolore magna.
</marquee-text-widget>

Props

PropTypeDefaultDescription
durationNumber15Animation Duration
repeatNumber2Number of repeat the Slot (It's important for to short content)
pausedBooleanfalseThe property specifies whether the animation is running or paused                                   

Keywords

FAQs

Last updated on 18 May 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc