Revert "Revert "docs: update docs""

This reverts commit 1500cf6084.
This commit is contained in:
chenshenhai 2021-08-16 12:47:32 +08:00
parent 427b60c619
commit b82bb35698
5 changed files with 10 additions and 86 deletions

10
docs/README.md Normal file
View file

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

View file

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

View file

@ -1,66 +0,0 @@
# @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

View file

@ -1,13 +0,0 @@
# 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

View file

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