0.0.18 • Published 7 months ago

vue-virtual-list-xg v0.0.18

Weekly downloads
-
License
MIT
Repository
-
Last release
7 months ago

vue-virtual-list-xg

virtual list component for Vue3

源码

live demo is here: https://gitee.com/derekgo/tool-collection/tree/master/virtualList/vue3

安装

npm i vue-virtual-list-xg --save

使用

main.ts

// script
import { createApp } from 'vue';
import App from './App.vue';
import customVideo from "vue-video-xg"
import "vue-video-xg/lib/style.css";//引入样式

const app = createApp(App);
app.use(customVideo); //全局注册
app.mount('#app');

App.vue

<template>
  <div class="app-container">
    <customVideo :config="config" />
  </div>
</template>

<script setup lang="ts">
import {ref} from "vue";

let config = ref({
  src:"", //视频
  poster: "", // 初始化占位图片
  volume: 20,//声音
  themeColor:"#19accc",//主体颜色
  activeColor:"red",//选中颜色
  width:"500px",//宽度
  height:"300px",//高度
})
</script>
0.0.18

7 months ago

0.0.17

7 months ago

0.0.16

7 months ago

0.0.14

9 months ago

0.0.13

9 months ago

0.0.12

9 months ago

0.0.11

9 months ago

0.0.10

9 months ago

0.0.9

9 months ago

0.0.8

9 months ago

0.0.7

9 months ago

0.0.6

9 months ago

0.0.5

9 months ago

0.0.4

9 months ago

0.0.3

9 months ago

0.0.2

9 months ago

0.0.1

9 months ago