I have a function that lives in a component and I want to pass multiple arguments to it from the parent. I realise I can pass them individually but I'd like to pass them as one arg if possible.
I'd like this to work but the syntax in actionArgs
isnt correct
<MyComponent @actionName= @actionArgs= />
<button ></button>
I've tried wrapping in parenthesis but that didnt work either.
Aucun commentaire:
Enregistrer un commentaire