svelte-use-boop
v0.0.3
Published
A Svelte action to add boopy-goodness to your app.
Downloads
7
Readme
svelte-use-boop
A Svelte action to add boopy-goodness to your app.
Usage
npm i svelte-use-boop
<script>
import boop from 'svelte-use-boop'
</script>
<svg use:boop={{rotate: 15, scale: 1}} width="50" height="50>
<rect width="50" height="50 fill="black" />
</svg>
Parameters
rotate
A number that represents a rotate()
transform in deg
units
scale
A number that represents a scale()
transform.