Background: I’m creating a html block for a button with a built-in progress tracker which I would like to be reusable where the only editing required is in the schema not in the html code itself. All the data is passed in using {{schema.SOME_KEY}}.
Problem: I can’t work out how to write json actions in the schema under the key btnClick_actions and have them added to the actions processor when I click the button. I’m thinking I need something like
<button @click="schema.btnClick">
in the html block but so far I haven’t got anything to work.
Anyone got any advice?