Comments (1)
算了,我已经重写了你插件了,用作用域插槽实现。
用v-bind:imgListSrc="imgListSrc" 相当于接收参数
<div class="yd-slider-item">
<slot v-bind:imgListSrc="imgListSrc"></slot>
</div>
v-slot,用于使用预定义的参数
<template v-slot="slotProps2">
<a href="javascript:void(0)">
<img :src="slotProps2.imgListSrc">
</a>
</template>
from vue-ydui.
Related Issues (20)
- 我找到文档地址了 HOT 1
- [解决方案] 香港服务器IP被墙了,华东地区访问不了
- DateTime组件只想显示三个日期
- 血汗钱。。。。
- 作者斐讯钱退出来没有呢? HOT 1
- coding的个人版页面下线了,看不了文档了 HOT 1
- yd-scrollnav
- rollnotice 支持rem 修改方法
- 大佬,官网 http://www.ydui.org/ 无法访问,您检查一下哦。
- 大佬,input标签绑定失焦事件后,清除clear图标点击会触发失焦事件
- 级联插件只支持三级么?
- Yd
- YD日期控件,打开默认选中不是当前日期
- 时间组件没有单独的年选项
- 为什么HTML版本的不更新了 HOT 2
- ydui-滚动加载时,$refs没有yd-infinitescroll的ref
- 文档无法打开 HOT 1
- 可惜了,这么好的项目 HOT 1
- 2022找到了可fq访问的文档链接
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-ydui.