https://github.com/fefeding/design-editor
html设计编辑器
https://github.com/fefeding/design-editor
Last synced: 5 months ago
JSON representation
html设计编辑器
- Host: GitHub
- URL: https://github.com/fefeding/design-editor
- Owner: fefeding
- License: mit
- Created: 2024-01-22T08:47:51.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-13T03:45:31.000Z (almost 2 years ago)
- Last Synced: 2024-05-13T04:38:57.548Z (almost 2 years ago)
- Language: TypeScript
- Size: 45.1 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @cicctencent/design-editor
html设计编辑器
```zsh
src
├── components
│ ├── image.ts
│ └── text.ts
├── constant
│ ├── data.ts 基础数据结构 JData、IData、IDataItem
│ ├── eventEmitter.ts 与dom无关的事件发射器,扩展了eventemitter3的on和off支持空格间隔多个事件
│ ├── styleMap.ts
│ ├── transform.ts
│ └── types.ts
├── core
│ ├── baseComponent.ts
│ ├── controller.ts
│ ├── element.ts 元素相关能力的基类:JElement
│ ├── event.ts dom相关的事件处理。
│ ├── fonts.ts
│ └── style.ts
├── editor.ts
├── index.ts
└── lib
└── util.ts
```
[example](https://fefeding.github.io/design-editor/example/index.html)
# API
[API](./docs/api/index.md)