I would like to know whether it's possible to simplify this problem?
I have a bunch of button components named Btn like this:
<Btn content="7" @click="addSymbol(content)" />
<Btn content="8" @click="addSymbol(content)" />
<Btn content="9" @click="addSymbol(content)" />
<Btn content="/" @click="addSymbol(content)" />
I need to trigger the addSymbol method with the according content attribute and possibly, if I could simplify it so that I do not have to declare it on every single component?