vuetify-draggable-treeview icon indicating copy to clipboard operation
vuetify-draggable-treeview copied to clipboard

Support for Vuetify props ?

Open jdriesen opened this issue 3 years ago • 2 comments

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

jdriesen avatar Apr 03 '21 12:04 jdriesen

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

keyboardSmasher avatar Apr 08 '21 18:04 keyboardSmasher

@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 🙌

suusan2go avatar Apr 19 '21 13:04 suusan2go