We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
is there a way of expanding the node by clicking the title?
The text was updated successfully, but these errors were encountered:
You can handle your own events in the title slot:
title
<sl-vue-tree v-model="nodes"> <template slot="title" slot-scope="{ node }"> <div class="my-custom-title" @click="expandNode(node)"> {{ node.title }} </div> </template> </sl-vue-tree>
expandNode(node) { this.refs.slVueTree.updateNode(node.path, { isExpanded: true }); }
Sorry, something went wrong.
holiber
No branches or pull requests
is there a way of expanding the node by clicking the title?
The text was updated successfully, but these errors were encountered: