scaleXY
Like svelte's scale transition, but takes individual x and y params.
Example
<script>
import { scaleXY } from '@eirikk/sveltekit-stuff';
</script>
<div
transition:scaleXY
/>
Options
interface ScaleXYParams {
delay?: number;
duration?: number;
easing?: EasingFunction;
opacity?: number;
rotation?: number;
x?: number;
y?: number;
}
Demo
😯