GithubHelp home page GithubHelp logo

Comments (2)

TinyWisp avatar TinyWisp commented on June 11, 2024 1

I'm sick and weak now. I'll think about it several days later.

from twtree.

TinyWisp avatar TinyWisp commented on June 11, 2024

according to your github id, I think that you are chinese, and speaking chinese is much better for our communication.
根据你的github id, 我猜你是**人,由于我的英文也不是很好,我们说中文的话会更加有利于沟通。

从4.2.0版本起,已经支持触屏。

这儿有几个触屏示例的链接:
https://tinywisp.github.io/twtree/#/zh/example/drag-and-drop-with-touch-support/basic
https://tinywisp.github.io/twtree/#/zh/example/drag-and-drop-with-touch-support/advanced
https://tinywisp.github.io/twtree/#/zh/example/drag-and-drop-with-touch-support/drag-a-node-out
https://tinywisp.github.io/twtree/#/zh/example/drag-and-drop-with-touch-support/drop-an-external-element
https://tinywisp.github.io/twtree/#/zh/example/drag-and-drop-with-touch-support/multiple-trees

如果用手机查看上述示例,左侧菜单可能造成观看不便,用手指点击屏幕空白处,即可展开或隐藏左侧菜单。

主要是要加上属性:enableTouchSupport="true"
如果不涉及将外部元素拖动到树中,或将树中结点拖动到树的外部,用法和鼠标拖拽操作基本一致。

from twtree.

Related Issues (12)

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.