组件源码:
https://github.com/AntJavascript/widgetUI/tree/master/InkWell
组件结构:
<template>
<div class='wt-ink'>
<slot></slot>
</div>
</template>
代码分析:
css代码:
.wt-ink {
&:active {
background: rgba(0,0,0,0.1);
}
}
组件源码:
https://github.com/AntJavascript/widgetUI/tree/master/InkWell
组件结构:
<template>
<div class='wt-ink'>
<slot></slot>
</div>
</template>
css代码:
.wt-ink {
&:active {
background: rgba(0,0,0,0.1);
}
}
本文标题:Vue组件开发系列之InkWell组件
本文链接:https://www.haomeiwen.com/subject/srwgtqtx.html
网友评论