Svelte Multiple Event Functions

Hi.

Is there a way to fire multiple functions within an event eg.

<ListItem
        checkbox
        title="Please confirm"
        onChange={(e)=>Func1(e); Func2()}
        />

The above obviously dont work.

onChange={(e)=>{Func1(e); Func2()}}

But still this is ugly, just create one function and call other ones from it

1 Like