T
T
Timur Evgazhukov2018-09-29 09:58:13
Vue.js
Timur Evgazhukov, 2018-09-29 09:58:13

How to make a vue component with multiple root tr elements?

We need to create a vue component that has multiple root tr elements. I do not quite understand how this can be done. Those. such a component can generate from one to several rows in the table. For example, if this row in the table is not active, then only it itself is shown, when it becomes active, the table sort of moves around and additional rows are shown

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Yarkov, 2018-09-29
@evgajukov

Yes, open for yourself https://github.com/y-nk/vue-fragments and stop suffering ))

S
Sergey delphinpro, 2018-09-29
@delphinpro

As usual https://ru.vuejs.org/v2/guide/list.html#v-for-%D0%...
jsfiddle.net/589szoue

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question