6 lines
94 B

<script>
function foo() {}
function bar() {}
</script>
<div transition:foo in:bar>...</div>