@idraw/core
Advanced tools
Comparing version 0.0.4-alpha.14 to 0.0.4-alpha.15
@@ -53,3 +53,5 @@ import { TypeBoardSizeOptions } from '@idraw/types'; | ||
initData(data: any | TypeData): void; | ||
setData(data: any | TypeData): void; | ||
setData(data: any | TypeData, opts?: { | ||
triggerChangeEvent: boolean; | ||
}): void; | ||
updateElement(elem: TypeElement<keyof TypeElemDesc>): void; | ||
@@ -60,2 +62,4 @@ addElement(elem: TypeElement<keyof TypeElemDesc>): string | null; | ||
off<T extends keyof TypeCoreEventArgMap>(key: T, callback: (p: TypeCoreEventArgMap[T]) => void): void; | ||
pointScreenToContext(p: TypePoint): TypePoint; | ||
pointContextToScreen(p: TypePoint): TypePoint; | ||
__getBoardContext(): TypeContext; | ||
@@ -62,0 +66,0 @@ __getDisplayContext(): CanvasRenderingContext2D; |
{ | ||
"name": "@idraw/core", | ||
"version": "0.0.4-alpha.14", | ||
"version": "0.0.4-alpha.15", | ||
"description": "", | ||
@@ -26,7 +26,7 @@ "main": "dist/index.cjs.js", | ||
"devDependencies": { | ||
"@idraw/types": "^0.0.4-alpha.14" | ||
"@idraw/types": "^0.0.4-alpha.15" | ||
}, | ||
"dependencies": { | ||
"@idraw/board": "^0.0.4-alpha.14", | ||
"@idraw/util": "^0.0.4-alpha.14" | ||
"@idraw/board": "^0.0.4-alpha.15", | ||
"@idraw/util": "^0.0.4-alpha.15" | ||
}, | ||
@@ -36,3 +36,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "4c3fa2733668f19faf870c4e185c7f0ee0c80547" | ||
"gitHead": "4125d5dd3aefb61e970606058b6cd26cb7967b53" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
411749
10394
Updated@idraw/board@^0.0.4-alpha.15
Updated@idraw/util@^0.0.4-alpha.15