I want to make a component which generates any number of buttons passed to it. Now, the questions is how to pass the data about the button from template to component, so that the specified action will get called on click of the corresponding button.
Aucun commentaire:
Enregistrer un commentaire