Open kuzamuka opened 5 years ago
Hi @kuzamuka . I have to say sorry. For various reasons, I only spared two days to update vue-orgchart during my Chinese New Year holiday. For now, there is the following available attributes and slot and you can find some new Demos on codesandbox.io.
Name | Type | Required | Default | Description |
---|---|---|---|---|
datasource | json | yes | datasource usded to build out structure of orgchart. It could be a json object. | |
pan | boolean | no | false | Users could pan the orgchart by mouse drag&drop if they enable this attribute. |
zoom | boolean | no | false | Users could zoomin/zoomout the orgchart by mouse wheel if they enable this attribute. |
zoomin-limit | number | no | 7 | Users are allowed to set a zoom-in limit. |
zoomout-limit | number | no | 0.5 | Users are allowed to set a zoom-out limit. |
<template slot-scope="{ nodeData }">
<!-- feel free to customize the internal structure of node -->
</template>
Unfortunately, unable to see any demo from the provided demos link.
Hi @dabeng, Which of the following options are available on your Vue orgchart project? (I took it from your other orgchart project).
Thanks!