v-ripples-animation
基本的水波紋動畫指令,支援滑鼠/觸控互動
v-ripples-animation
滑鼠移動或點擊產生水波紋
程式碼範例
<!-- 基本水波紋動畫 -->
<div
v-ripples-animation="{
imageUrl: '/img/background.svg',
resolution: 512,
interactive: true
}"
class="ripples-container"
>
Content here
</div>v-ripples-auto-drops
自動產生隨機水滴效果的指令
v-ripples-auto-drops
自動產生隨機位置的水滴
程式碼範例
<!-- 自動水滴效果 -->
<div
v-ripples-auto-drops="{
interval: 300,
dropRadius: 20,
strength: 0.04,
strengthVariance: 0.04,
interactive: true
}"
class="ripples-container"
>
Content here
</div>