1.0.3 • Published 5 years ago
ts-mind v1.0.3
ts-mindBata 版
TSMind 是一款使用 typescript
编写的脑图库,灵感来自 jsmind
脑图库。
依赖与支持
TSMind 没有任何第三方依赖,包体积更小;
安装与使用
$ npm i ts-mind
import { TSMind } from "ts-mind";
import "ts-mind/dist/style.css";
const tsm = new TSMind({
container: "#container" // or Node
...otherOpts
})
接口
接口暂时与 jsmind
保持一致,后续将进行调整,并出具相应的接口文档。
优点 相比jsmind
和其他脑图库
- 性能更优
- 可扩展性更高
- 基于
es6+
接口设计,接口调用更清晰 - 基于
Typescript
的接口定义,使得开发效率大大提升
开源协议
Copyright © 2019-present, JasonDRZ