Revert "docs: update docs"

This reverts commit fe2856eb2a.
This commit is contained in:
chenshenhai 2021-08-16 12:45:19 +08:00
parent 5b2b245be9
commit 1500cf6084
5 changed files with 86 additions and 10 deletions

View file

@ -1,10 +0,0 @@
# Documents
## Usage
- Site: https://idrawjs.github.io/
- Repos: https://github.com/idrawjs/docs
## TODO List
- https://github.com/idrawjs/idraw/issues/53

4
docs/todo/board.md Normal file
View file

@ -0,0 +1,4 @@
# @idraw/board
* [x] Calculate screen position to context position
* [x] Reset board's size

66
docs/todo/core.md Normal file
View file

@ -0,0 +1,66 @@
# @idraw/core
* [] add type of TypeElemDesc-key
* [x] BUG: Type error about keyof TypeElemDesc
* [x] BUG: Type error about TypeElement'uuid
* [] Element default data
* [] Support gradient color
* [] Listen keyboard action
* [] Keep all num two decimals
* [x] Config usage in all code
* [x] is/check add circle and html
* [x] make idraw.draw() private
* [x] remove idraw.initData()
* Support Element's render
* Circle
* [x] Render content
* Text
* [x] Desc backgroundColor
* HTML
* [x] Render content
* [x] Change idraw.selectElementByUUID to idraw.selectElementByIndex
* [x] Change idraw.selectElement use uuid arg
* [x] License text in JS result
* [x] Options default data
* [x] BUG: Select area calculate elements error
* [x] Move elements that in selected-area
* [x] Area select
* [x] Lock Element
* [x] FireFox's Compatibility Question (And Safair Browser)
* [x] Hover element style
* [x] Cursor style
* [x] Can't controll element at scroll-area
* [x] Disable controll element
* [x] static check/is type declare
* [x] Force update image/svg image when element change
* [x] Reset board's size
* [x] Limit element's angle between -360~360 deg
* [x] Check if the element and elements' attribute of desc is supported
* [x] Suport elements'desc and attribute check method
* [x] Scale canvas
* [x] Scroll canvas
* [x] Render by requestAnimateFrame
* [x] Image load queue
* [x] Input data by `any` type `core.initData/core.setData`
* Render data's elements
* Basic box
* [x] Border
* [x] Radius
* [] Gradient Color
* [x] Text
* [x] Text content
* [x] Font size
* [x] Font family
* [x] Font color
* Rect
* [x] Rect content
* Image
* [x] Image content
* [x] SVG
* [x] SVG content
* [x] Drag elements
* [x] Move elements' index
* [x] Rotate elements
* [x] Transform elements's size
* [X] Loader update image/svg resource

13
docs/todo/idraw.md Normal file
View file

@ -0,0 +1,13 @@
# idraw
* [] BUG: iDraw.js can't render image on Mobile browser
* [x] BUG: Undo/Redo need trigger "changeData" event
* Export
* [] Export image
* [] Source file
* Undo action record
* [x] Action records's stack
* [x] Return recors's count
* Redo action record
* [x] Action records's stack
* [x] Return recors's count

3
docs/usage/README.md Normal file
View file

@ -0,0 +1,3 @@
# idraw
// TODO