I came across this syntax from example in (MeltUI -- a svelte based component library
<Button on:click={() => console.log('clicked')} {...$trigger} action={trigger}> {$open ? 'Close' : 'Open'}</Button>
I want to understand what does the >
in action={trigger}> {$open ? 'Close' : 'Open'}
used for?