Coder Social home page Coder Social logo

Adding basic props about vue-orgchart HOT 5 OPEN

dabeng avatar dabeng commented on May 20, 2024
Adding basic props

from vue-orgchart.

Comments (5)

dabeng avatar dabeng commented on May 20, 2024 1

Hi @king1k 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.

Attributes

NameTypeRequiredDefaultDescription
datasourcejsonyesdatasource usded to build out structure of orgchart. It could be a json object.
panbooleannofalseUsers could pan the orgchart by mouse drag&drop if they enable this attribute.
zoombooleannofalseUsers could zoomin/zoomout the orgchart by mouse wheel if they enable this attribute.
zoomin-limitnumberno7Users are allowed to set a zoom-in limit.
zoomout-limitnumberno0.5Users are allowed to set a zoom-out limit.

Scoped Slots

<template slot-scope="{ nodeData }">
  <!-- feel free to customize the internal structure of node -->
</template>

from vue-orgchart.

dabeng avatar dabeng commented on May 20, 2024

Thank you so much for your planning to use vue-orgchart in your new project. I'll expose more options in the Spring Festival. 😊

from vue-orgchart.

verilog15 avatar verilog15 commented on May 20, 2024

@dabeng If I'm not mistaken, the Spring Festival will occur in two days (Happy holidays!) so I guess you already have in mind which options are going to be available. Can you specify them? It would be great to know if you are going to implement all of the options that I need (which the JQuery project has), So I can decide if I can use the Vue version or I'll have to go with the JQuery version. Anyway, if you can say the names before the Spring Festival, it will be great.

from vue-orgchart.

dabeng avatar dabeng commented on May 20, 2024

Hi @verilog15,generally, Chinese New Year vocation is half of month . During that time, I'll expose equivalent options on new vuejs version of orgchart Asap😊

from vue-orgchart.

verilog15 avatar verilog15 commented on May 20, 2024

@dabeng Thanks for the reply! Can you specify when? I gonna have two following two weeks time to add it to our project so I wondering if it will occur on those dates

from vue-orgchart.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.