Answer the question
In order to leave comments, you need to log in
How to dynamically create a button or label?
Good afternoon, tell me the correct solution. I have a list treeview with items in it. It is necessary to somehow create buttons (mini tabs or something) in which there will be the name of the selected element and a cross, so that by clicking on the cross, this element can be removed from the selected one, it should also be removed from the treeview . Create such a certain array of buttons of the selected elements. At the moment, the data about the selected elements of the treeview is passed to the VuexStore in an array. Can you tell me how to implement something like this? Or does anyone have an example?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question