Sen descrición

gemer 8c04c3722f done with doc and release command %!s(int64=4) %!d(string=hai) anos
public 7e9272d4f7 init %!s(int64=4) %!d(string=hai) anos
src 8c04c3722f done with doc and release command %!s(int64=4) %!d(string=hai) anos
.gitignore 7e9272d4f7 init %!s(int64=4) %!d(string=hai) anos
.npmignore 3c89d8d32e base init component %!s(int64=4) %!d(string=hai) anos
README.md 8c04c3722f done with doc and release command %!s(int64=4) %!d(string=hai) anos
babel.config.js 957c7e184c base init component %!s(int64=4) %!d(string=hai) anos
cspell.json 957c7e184c base init component %!s(int64=4) %!d(string=hai) anos
package-lock.json 7d1d2463b2 0.1.3 %!s(int64=4) %!d(string=hai) anos
package.json 8c04c3722f done with doc and release command %!s(int64=4) %!d(string=hai) anos
yarn.lock 7e9272d4f7 init %!s(int64=4) %!d(string=hai) anos

README.md

@wujing/danmaku 弹幕插件(武警)

Maintainer: 张宇鹏 zhangyupeng@cgaii.com

安装 :

npm install @wujing/danmaku --save

参数:

| 参数 | Type类型 | 必选 required | 描述 | 默认值| | :-: | :-: | :-: | :-: | :-: | :-: | | quotes |  Array | 是 | 预选选择列表 | [] | | showIcon | String/Object | 是 |  显示ICON | None | | closeIcon | String/Object | 是 | 隐藏ICON | None | | limit | Number | 否 | 预选限制条数 | 5000 |

使用方法:

// 引入组件
import Danmaku from "@wujing/danmaku";
import "@wujing/danmaku/dist/danmaku.css";

 // 预选选择列表

const quotesData =["中国人民好样!","中国最强大!!"];
<template>
 <Danmaku
        :quotes="quotesData"
        :showIcon="require('./assets/list-enable-btn.png')"
        :closeIcon="require('./assets/list-disable-btn.png')"
      />
</template>

export default {
  components: {
    Danmaku,
  },
};