1.0.0 • Published 3 years ago

vue2-marquee v1.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
3 years ago

vue-marquee

A custom Marquee component based on Vue

Properties:

    // data list
    list: {
        type: Array<String>,
        default: () => []
    },
    color: {
        type: String,
        default: '#fff'
    },
    fontSize: {
        type: String,
        default: '28px'
    },
    backgroundColor: {
        type: String,
        default: 'rgba(0, 0, 0, 0.5)'
    },
    // show icon or not
    icon: {
        type: Boolean,
        default: true
    },
    // custom stuyle. if true, the default color,fontSize,backgroundColor will be useless
    custom: {
        type: Boolean
    }

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

For detailed explanation on how things work, consult the docs for vue-loader.