0.0.3 • Published 2 years ago

svelte-use-boop v0.0.3

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

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.