suusan2go / vuetify-draggable-treeview

Vuetify draggable v-treeview component
https://v-draggable-treeview.netlify.com/
MIT License
90 stars 35 forks source link

Support for Vuetify props ? #559

Open jdriesen opened 3 years ago

jdriesen commented 3 years ago

Hi,

Seems I can't use the props which are available for a 'normal' v-treeview. e.g. I would like to use the "dense" prop, though this doesn't seem to be supported.

Or am I missing something ? Thanks in advance for your reply,

Johnny

keyboardSmasher commented 3 years ago

Does activatable not work? For example, clicking on an item and have it be highlighted?

suusan2go commented 3 years ago

@jdriesen Hi, currently this library doesn't support all original props. The supported props are here https://github.com/suusan2go/vuetify-draggable-treeview#api. This limitation comes from the implementation that manually constructs DOM based on the original Vuetify markup instead of using the Vuetify component. https://github.com/suusan2go/vuetify-draggable-treeview/blob/16b9871a25db8092482741bfd71eaf072de9f495/src/DraggableTreeviewNode.vue#L1-L66 I know this is not ideal, but I couldn't find another way to make this draggable Treeview component. PRs that support more props are welcome 🙌