idraw
idraw copied to clipboard
Todo List for version 0.3
Feature
- [ ] https://github.com/idrawjs/idraw/issues/130
- [ ] Add
on('dataResourceLoaded')
in order to listen, all resources are loaded - ~Add method
stopRender
to force stoprequestAnimationFrame
~ - [ ] Add canvas size limit
- [ ] Add Shadow to context for distinguishing between content and background
- [ ] The scaling state should be adjusted when rotating elements
- [x] Add
@idraw/renderer
to Deprecateopts.onlyRender
- [x] https://github.com/idrawjs/idraw/issues/106
- [x] https://github.com/idrawjs/idraw/issues/111
- [x] Add method
getElementByIndex(i: number)
andgetElement(uuid: string)
to@idraw/core
- [x] https://github.com/idrawjs/idraw/pull/84
- [x] https://github.com/idrawjs/idraw/issues/111
- [x] Add return
uuid
frominsertElementBefore
,insertElementAfter
- [x] Add methods there are
insertElementBefore(uuid)
andinsertElementAfter(uuid)
- [x] Add methods there are
insertElementBeforeIndex(index)
andinsertElementAfterIndex(index)
- [x] Watch keyboard to implement copy, cut, paste, delete, undo and redo https://github.com/idrawjs/idraw/issues/74 https://github.com/idrawjs/idraw/pull/75 https://github.com/idrawjs/idraw/pull/81
- [x] Trigger event when select element in onlyrender-status https://github.com/idrawjs/idraw/pull/54
- [x] Add event named
mouseOverElement
andmouseLeaveElement
https://github.com/idrawjs/idraw/pull/54 - [x] Add Method named
exportDataURL
andsaveAsImage
for export Image - [x] Set curser default when select locked element
- [x] Add public function
getScreenTransform()
toclass iDraw
https://github.com/idrawjs/idraw/pull/54 - ~Refactor: Synchronize
scrollLeft
andscrollTop
with scale~ - [x] Add attribute named
invisible
to element data - [x] Add
doubleClickElement
toidraw
https://github.com/idrawjs/idraw/pull/66 - [x] It wraps text when the text string has
\r\n
or\n
- [x] Add
clearOperation
method to idraw for clear all select status https://github.com/idrawjs/idraw/pull/69 - [x] Refactor: add attr
operation: {[key: string]: any}
toElement
and replacelock
https://github.com/idrawjs/idraw/pull/69 - [x] Refactor: add attr
extension: {[key: string]: any}
toElement
https://github.com/idrawjs/idraw/pull/69
BUG
- [x] It can transform element'size when it was locked
- [x] It can listen
doubleClickElement
when the element is invisible https://github.com/idrawjs/idraw/commit/151fe71e95c10b5a143de38985771a3ff2e032ea - [x] It can move element when the element is locked
- [x] The element does not scale as expected when it is rotated https://github.com/idrawjs/idraw/issues/93 https://github.com/idrawjs/idraw/pull/94
- [x] #98 https://github.com/idrawjs/idraw/issues/97
Big Refactor
- [ ] Refactor: add scale method of @idraw/renderer
- [ ] Refactor: refactor the scale method and scroll action of @idraw/board
- [ ] Refactor @idraw/core and make it easier to extend new type elements.
- [ ] Refactor controll event through the proxy event based on HTML root node https://github.com/idrawjs/idraw/issues/59
- ~Add WebGL render-mode~
Test
- [x] E2E Test for
@idraw/board
all methods https://github.com/idrawjs/idraw/pull/58 - [ ] E2E Test for
@idraw/core
all methods - [x] E2E Test for
@idraw/util
all methods - [ ] E2E Test for
idraw
all methods
Documents
- [x] Rename API usage of
scrollX
andscrollY
toscrollLeft
andscrollTop
- [x] Add Element description
- [x] Add API usage of function
getScreenTranform
- [ ] Add API usage of function
getElement(uuid: string)
andgetElementByIndex(i: number)
- [ ] Add Events there are
screenClickElement
,mouseOverElement
andmouseLeaveElement
- [ ] To be improved English document