12 lines
147 B

<script>
function b(node, params) {
return {
duration: 100,
tick: t => {
node.b = t;
}
};
}
</script>
<div transition:b>b</div>