New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@tikkhun/vue2-marquee

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tikkhun/vue2-marquee

使用 css 动画写的一个简单的 marquee 显示

  • 0.0.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

vue2-marquee

使用 css 动画写的一个简单的 marquee 显示

使用

直接引入umd格式并从全局变量获取使用

<div id="root">
  <div id="father" :style="fatherStyle" :key="key">
    <span id="children" v-marquee="scrollOptions">{{text}}</span>
  </div>
</div>
<script src="../../dist/marquee.umd.cjs"></script>
<script>
  Vue.use(window.Marquee.marqueePlugin);
  new Vue({
    el: "#root",
    name: "the-app",
    data() {
      return {
        text: "123456789",
        key: 0,
        scrollOptions: {
          scrollDirection: "left",
          scrollSpeed: 10,
        },
        fatherStyle: {
          width: "50px",
          height: "50px",
          backgroundColor: "blue",
        },
      };
    },
  });
</script>

FAQs

Package last updated on 26 May 2024

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc