All Projects → Damon0820 → vue-marquee-roll-up

Damon0820 / vue-marquee-roll-up

Licence: other
MarqueeUp向上轮播的跑马灯/RollNotice向上走的滚动公告/

Programming Languages

javascript
184084 projects - #8 most used programming language
Vue
7211 projects
HTML
75241 projects

Projects that are alternatives of or similar to vue-marquee-roll-up

Vue Core Image Upload
a vue plugin for image to crop and upload
Stars: ✭ 1,321 (+4303.33%)
Mutual labels:  vue-plugin
Vue Awesome Swiper
🏆 Swiper component for @vuejs
Stars: ✭ 12,072 (+40140%)
Mutual labels:  vue-plugin
Vue Swal
A small wrapper for integrating SweetAlert to Vuejs
Stars: ✭ 177 (+490%)
Mutual labels:  vue-plugin
Vue D3
a vue.js plugin for D3
Stars: ✭ 113 (+276.67%)
Mutual labels:  vue-plugin
Vue Scrollto
Adds a directive that listens for click events and scrolls to elements.
Stars: ✭ 1,859 (+6096.67%)
Mutual labels:  vue-plugin
Vue Codemirror
⌨️ @codemirror component for @vuejs
Stars: ✭ 2,115 (+6950%)
Mutual labels:  vue-plugin
V Dragged
Vue directive plugin for drag event detection.
Stars: ✭ 84 (+180%)
Mutual labels:  vue-plugin
Vue Lazy Render
A vue component for lazy rending vue component
Stars: ✭ 219 (+630%)
Mutual labels:  vue-plugin
Vue Analytics
Google Analytics plugin for Vue
Stars: ✭ 1,780 (+5833.33%)
Mutual labels:  vue-plugin
Vue Dragscroll
A vue directive to make a scrollable element scroll by draging to the scroll direction
Stars: ✭ 175 (+483.33%)
Mutual labels:  vue-plugin
Vue Plugin Simple
A template to create vue plugins and shareable components.
Stars: ✭ 114 (+280%)
Mutual labels:  vue-plugin
Vue Jsonp
A tiny library for handling JSONP request.
Stars: ✭ 123 (+310%)
Mutual labels:  vue-plugin
Vue Chimera
VueJS reactive RESTful API
Stars: ✭ 160 (+433.33%)
Mutual labels:  vue-plugin
Vue Ellipse Progress
A Vue.js component to create beautiful animated circular progress bars
Stars: ✭ 101 (+236.67%)
Mutual labels:  vue-plugin
Vuent
🎨 Vue.js components implementing Microsoft Fluent Design
Stars: ✭ 207 (+590%)
Mutual labels:  vue-plugin
Vue Toastr
Vuejs Toast : Plugin and Component Capability.
Stars: ✭ 93 (+210%)
Mutual labels:  vue-plugin
Vue Uweb
vue 友盟统计埋点插件
Stars: ✭ 154 (+413.33%)
Mutual labels:  vue-plugin
Vue
Make Vue greater with RxTS.
Stars: ✭ 228 (+660%)
Mutual labels:  vue-plugin
Vue Emoji Picker
Very simple, yet powerful, vue emoji picker 🎉🔥🚀
Stars: ✭ 218 (+626.67%)
Mutual labels:  vue-plugin
Vue Warehouse
A Cross-browser storage for Vue.js and Nuxt.js, with plugins support and easy extensibility based on Store.js.
Stars: ✭ 161 (+436.67%)
Mutual labels:  vue-plugin

vue-marquee-roll-up

vue插件:向上轮播的跑马灯/向上走的滚动公告。vue's plugin: a marquee which roll up. mobile-friendly

A vue plugin/component which is like a advertising board or marquee roll up。 一个vue的插件/组件,实现了类似广告牌向上滚动的效果滚动,或者说是向上滚动的跑马灯效果。

show result 效果展示

Damon风
Damon风的blog地址

Installation

npm

npm install marquee-roll-up --save

import

import MarqueeRollUp from 'marquee-roll-up'

Usage

<template>
  <div>
    <MarqueeRollUp 
      :marqueeList="list"
      speed="300" 
      autoPlay="5000" 
      height="100" 
      width="200" 
      bg="#f99" 
      color="#fff" 
      fontSize="40">
    <MarqueeRollUp/>
  </div>
</template>
<script>
  import MarqueeRollUp from 'marquee-roll-up'
  export default {
    components: { MarqueeRollUp },
    data () {
      return {
        list: [
          'info item0',
          'info item1',
          'info item2',
          'info item3'
        ]
      }
    }
  }
</script>

Props 参数

  * marqueeList:  [Array]                              跑马灯所跑的信息 the data of the marquee
  * width,height: (px) [Number/String] && match(/\d+/) 跑马灯的宽度和高度 the maximum width and height of the preview container。 width-default: 200 height-default: 38
  * bg:           (color) [String]                     跑马灯的背景颜色 the backgroundColor of the preview container。 default: '#BD9955'
  * color:        (color) [String]                     跑马灯的内容区字体颜色 the color of the font。 default: '#fff'
  * fontSize:     (px) [Number/String] && match(/\d+/) 跑马灯的字体大小 the fontSize of the font。 default: 12
  * autoplay:     (ms) [Number/String] && match(/\d+/) 轮播间隔时间 the autoplay time。 default: 3000
  * speed:        (ms) [Number/String] && match(/\d+/) 轮播动画的速度 the speed of animation。 default: 500

show2 上面使用事例的配置参数展示图 VS 默认样式展示图。the show of above example with personal options VS the show with default options

Damon风

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].