holiber / sl-vue-tree

Customizable draggable tree component for Vue.js
https://holiber.github.io/sl-vue-tree/
MIT License
345 stars 78 forks source link

Fixed to return an element with the getNodeEl method #85

Open shibukk opened 4 years ago

shibukk commented 4 years ago

Hi.

It looks like the getNodeEl method isn't returning an element. I fixed it to return the element as it is in the d.ts file. https://github.com/holiber/sl-vue-tree/blob/8cad1b17c11811b614ec59cbf73880c2367406e1/src/sl-vue-tree.d.ts#L51

Thank you.