mirror of
https://github.com/DavidHDev/vue-bits.git
synced 2026-03-07 22:49:31 -07:00
fix: typos in Meta Balls & Rotating Text
This commit is contained in:
@@ -6,16 +6,16 @@ export const metaBalls: CodeObject = {
|
|||||||
installation: `npm i ogl`,
|
installation: `npm i ogl`,
|
||||||
usage: `<template>
|
usage: `<template>
|
||||||
<MetaBalls
|
<MetaBalls
|
||||||
color="color"
|
color="#27ff64"
|
||||||
cursorBallColor="cursorBallColor"
|
cursorBallColor="#27ff64"
|
||||||
:cursorBallSize="cursorBallSize"
|
:cursorBallSize="2"
|
||||||
:ballCount="ballCount"
|
:ballCount="15"
|
||||||
:animationSize="animationSize"
|
:animationSize="30"
|
||||||
:enableMouseInteraction="enableMouseInteraction"
|
:enableMouseInteraction="true"
|
||||||
:enableTransparency="true"
|
:enableTransparency="true"
|
||||||
:hoverSmoothness="hoverSmoothness"
|
:hoverSmoothness="0.05"
|
||||||
:clumpFactor="clumpFactor"
|
:clumpFactor="1"
|
||||||
:speed="speed"
|
:speed="0.3"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ export const rotatingText: CodeObject = {
|
|||||||
:exit="{ y: '-120%' }"
|
:exit="{ y: '-120%' }"
|
||||||
:staggerDuration="0.025"
|
:staggerDuration="0.025"
|
||||||
splitLevelClassName="overflow-hidden pb-0.5 sm:pb-1 md:pb-1"
|
splitLevelClassName="overflow-hidden pb-0.5 sm:pb-1 md:pb-1"
|
||||||
:transition="{ type: "spring", damping: 30, stiffness: 400 }"
|
:transition="{ type: 'spring', damping: 30, stiffness: 400 }"
|
||||||
:rotationInterval="2000"
|
:rotationInterval="2000"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user