vue-smooth-dnd icon indicating copy to clipboard operation
vue-smooth-dnd copied to clipboard

What props can be passed to draggables?

Open davestewart opened this issue 5 years ago • 0 comments

The docs show class, which I tried and it works.

I tried adding a data-* attribute, but it doesn't seem to render. Should it?

          >
            <Draggable v-for="tab in window.tabs"
                       :key="tab.tabId"
                       :tag="{
                          value: 'article',
                          props: {
                            'data-selected': Math.random() > 0.5,
                            class: 'test'
                          }
                        }"
            >
              <TabItem

davestewart avatar Apr 12 '19 16:04 davestewart