Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Hufe921/canvas-editor
/ functions
Functions
1,174 in github.com/Hufe921/canvas-editor
⨍
Functions
1,174
◇
Types & classes
446
↓ 4 callers
Method
_submit
()
src/editor/core/draw/particle/date/DatePicker.ts:805
↓ 4 callers
Method
_updateZoneTip
(visible: boolean, left?: number, top?: number)
src/editor/core/zone/ZoneTip.ts:100
↓ 4 callers
Function
asciiMap
(x: string, mode = 'math')
src/editor/core/draw/particle/latex/utils/symbols.ts:247
↓ 4 callers
Method
assertive
(message: string)
src/editor/core/accessibility/Accessibility.ts:64
↓ 4 callers
Method
clearSideEffect
()
src/editor/core/draw/Draw.ts:3033
↓ 4 callers
Function
convertRowFlexToTextAlign
(rowFlex: RowFlex)
src/editor/utils/element.ts:957
↓ 4 callers
Function
convertTextAlignToRowFlex
(node: HTMLElement)
src/editor/utils/element.ts:937
↓ 4 callers
Function
createDragId
(element: IElement)
src/editor/core/event/handlers/mouseup.ts:16
↓ 4 callers
Function
deepCloneOmitKeys
(obj: T, omitKeys: (keyof K)[])
src/editor/utils/index.ts:41
↓ 4 callers
Function
deleteProperty
(sourceKeys: T[], deleteKeys: T[])
src/editor/utils/index.ts:282
↓ 4 callers
Method
destroyControl
(options: IDestroyControlOption = {})
src/editor/core/draw/control/Control.ts:563
↓ 4 callers
Method
drawRow
(ctx: CanvasRenderingContext2D, payload: IDrawRowPayload)
src/editor/core/draw/Draw.ts:2253
↓ 4 callers
Method
emitControlChange
(state: ControlState)
src/editor/core/draw/control/Control.ts:467
↓ 4 callers
Method
focus
()
src/editor/core/cursor/Cursor.ts:99
↓ 4 callers
Method
formatNumberPlaceholder
( text: string, pageNo: number, replaceReg: RegExp, numberType: NumberType )
src/editor/core/draw/frame/PageNumber.ts:18
↓ 4 callers
Function
getClipboardData
()
src/editor/utils/clipboard.ts:22
↓ 4 callers
Function
getElementIndexByDragId
(dragId: string, elementList: IElement[])
src/editor/core/event/handlers/mouseup.ts:22
↓ 4 callers
Method
getFloatPositionCoordinate
(floatPosition: IFloatPosition)
src/editor/core/position/Position.ts:240
↓ 4 callers
Method
getHeight
(pageNo?: number)
src/editor/core/draw/frame/Footer.ts:106
↓ 4 callers
Method
getLetterReg
()
src/editor/core/draw/Draw.ts:347
↓ 4 callers
Method
getListener
()
src/editor/core/draw/Draw.ts:898
↓ 4 callers
Method
getOffsetY
(element: IRowElement)
src/editor/core/draw/particle/SubscriptParticle.ts:5
↓ 4 callers
Method
getOriginalInnerWidth
()
src/editor/core/draw/Draw.ts:475
↓ 4 callers
Method
getPageRowList
()
src/editor/core/draw/Draw.ts:625
↓ 4 callers
Function
getParagraphNo
(elementList: IElement[], index: number)
src/editor/utils/paragraph.ts:10
↓ 4 callers
Method
getPositionByXY
(payload: IGetPositionByXYPayload)
src/editor/core/position/Position.ts:525
↓ 4 callers
Method
getRangeAnchorStyle
( elementList: IElement[], anchorIndex: number )
src/editor/core/range/RangeManager.ts:72
↓ 4 callers
Method
getRowList
()
src/editor/core/draw/Draw.ts:618
↓ 4 callers
Method
getSearch
()
src/editor/core/draw/Draw.ts:637
↓ 4 callers
Function
getSlimCloneElementList
(elementList: IElement[])
src/editor/utils/element.ts:1815
↓ 4 callers
Method
getTableElementByContext
( sourceElementList: IElement[], context: IPositionContext )
src/editor/core/position/Position.ts:118
↓ 4 callers
Method
getZone
()
src/editor/core/zone/Zone.ts:46
↓ 4 callers
Method
initNextControl
(option: IInitNextControlOption = {})
src/editor/core/draw/control/Control.ts:1691
↓ 4 callers
Function
isObjectEqual
(obj1: unknown, obj2: unknown)
src/editor/utils/index.ts:342
↓ 4 callers
Method
isPrintMode
()
src/editor/core/draw/Draw.ts:421
↓ 4 callers
Function
isRectIntersect
( rect1: IElementFillRect, rect2: IElementFillRect )
src/editor/utils/index.ts:352
↓ 4 callers
Method
keydown
(evt: KeyboardEvent)
src/editor/interface/Control.ts:144
↓ 4 callers
Method
measureBasisWord
( ctx: CanvasRenderingContext2D, font: string )
src/editor/core/draw/particle/TextParticle.ts:39
↓ 4 callers
Method
postMessage
()
tests/setup.ts:38
↓ 4 callers
Function
removeClipboardData
()
src/editor/utils/clipboard.ts:27
↓ 4 callers
Method
removeEvent
()
src/editor/core/shortcut/Shortcut.ts:31
↓ 4 callers
Method
removePlaceholder
(startIndex: number, context: IControlContext = {})
src/editor/core/draw/control/Control.ts:868
↓ 4 callers
Function
searchHigh
( i: number, l: string, r: string, dir: number, lvl0: number )
src/editor/core/draw/particle/latex/utils/LaTexUtils.ts:322
↓ 4 callers
Method
selection
()
src/editor/core/accessibility/Accessibility.ts:46
↓ 4 callers
Method
setControlProperties
( properties: Partial<IControl>, context: IControlContext = {} )
src/editor/core/draw/control/Control.ts:931
↓ 4 callers
Method
setEditorData
(payload: Partial<Omit<IEditorData, 'graffiti'>>)
src/editor/core/draw/Draw.ts:1292
↓ 4 callers
Method
setElementList
(elementList: IElement[])
src/editor/core/draw/frame/Header.ts:37
↓ 4 callers
Method
setPageNo
(payload: number)
src/editor/core/draw/Draw.ts:579
↓ 4 callers
Method
setPositionContext
(range: IRange)
src/editor/core/command/CommandAdapt.ts:263
↓ 4 callers
Method
terminate
()
tests/setup.ts:39
↓ 4 callers
Function
throttle
( func: (...arg: T) => unknown, delay: number )
src/editor/utils/index.ts:19
↓ 4 callers
Function
unzipElementList
(elementList: IElement[])
src/editor/utils/element.ts:57
↓ 4 callers
Method
use
( pluginFunction: PluginFunction<Options>, options?: Options )
src/editor/core/plugin/Plugin.ts:11
↓ 3 callers
Method
_clearBlinkTimeout
()
src/editor/core/cursor/Cursor.ts:91
↓ 3 callers
Method
_dispose
()
src/components/signature/Signature.ts:334
↓ 3 callers
Method
_dispose
()
src/components/dialog/Dialog.ts:167
↓ 3 callers
Method
_drawImageWithCrop
( ctx: CanvasRenderingContext2D, img: HTMLImageElement, element: IElement, x: number, y: n
src/editor/core/draw/particle/ImageParticle.ts:145
↓ 3 callers
Method
_drawLine
( ctx: CanvasRenderingContext2D, startX: number, startY: number, width: number, dashType?:
src/editor/core/draw/richtext/Underline.ts:15
↓ 3 callers
Method
_getTablePathByContext
( context: IPositionContext )
src/editor/core/position/Position.ts:164
↓ 3 callers
Method
_renderCaption
( ctx: CanvasRenderingContext2D, element: IElement, x: number, y: number, width: number,
src/editor/core/draw/particle/ImageParticle.ts:177
↓ 3 callers
Method
_setCurXY
(x: number, y: number)
src/editor/core/draw/particle/TextParticle.ts:161
↓ 3 callers
Method
_setDatePick
(year: number, month: number, day: number)
src/editor/core/draw/particle/date/DatePicker.ts:720
↓ 3 callers
Method
_updateImageNavigate
()
src/editor/core/draw/particle/previewer/Previewer.ts:438
↓ 3 callers
Method
adjustPositionContext
( payload: IGetPositionByXYPayload )
src/editor/core/position/Position.ts:957
↓ 3 callers
Method
allSettled
()
src/editor/core/observer/ImageObserver.ts:16
↓ 3 callers
Method
awake
()
src/editor/core/draw/control/date/DateControl.ts:316
↓ 3 callers
Method
clearDatePicker
()
src/editor/core/draw/particle/date/DateParticle.ts:92
↓ 3 callers
Method
clearPainterStyle
()
src/editor/core/event/CanvasEvent.ts:102
↓ 3 callers
Method
clearSelect
( context: IControlContext = {}, options: IControlRuleOption = {} )
src/editor/core/draw/control/date/DateControl.ts:122
↓ 3 callers
Method
clearValue
( context: IControlContext = {}, options: IControlRuleOption = {} )
src/editor/core/draw/control/text/TextControl.ts:141
↓ 3 callers
Function
convertRowFlexToJustifyContent
(rowFlex: RowFlex)
src/editor/utils/element.ts:961
↓ 3 callers
Function
convertStringToBase64
(input: string)
src/editor/utils/index.ts:311
↓ 3 callers
Function
createMockDraw
(optionOverrides: Partial<IEditorOption> = {})
tests/core/draw/frame/Header.test.ts:6
↓ 3 callers
Function
createMockDraw
(optionOverrides: Partial<IEditorOption> = {})
tests/core/draw/frame/Footer.test.ts:6
↓ 3 callers
Function
createMockDraw
(optionOverrides: Partial<IEditorOption> = {})
tests/core/zone/Zone.test.ts:9
↓ 3 callers
Function
debounce
( func: (...arg: T) => unknown, delay: number )
src/utils/index.ts:1
↓ 3 callers
Method
drawBorder
(ctx: CanvasRenderingContext2D)
src/editor/core/draw/control/Control.ts:1456
↓ 3 callers
Method
getAgentCursorDom
()
src/editor/core/cursor/CursorAgent.ts:41
↓ 3 callers
Method
getContainer
()
src/editor/core/command/CommandAdapt.ts:2493
↓ 3 callers
Method
getDateParticle
()
src/editor/core/draw/Draw.ts:950
↓ 3 callers
Method
getDefaultBasicRowMarginHeight
()
src/editor/core/draw/Draw.ts:523
↓ 3 callers
Method
getElementRowMargin
(el: IElement)
src/editor/core/draw/Draw.ts:1371
↓ 3 callers
Method
getGroup
()
src/editor/core/draw/Draw.ts:641
↓ 3 callers
Method
getHitLineStartIndex
()
src/editor/core/cursor/Cursor.ts:72
↓ 3 callers
Method
getHyperlinkRange
()
src/editor/core/command/CommandAdapt.ts:1111
↓ 3 callers
Method
getIsExistValueByElementListIndex
( elementList: IElement[], index: number )
src/editor/core/draw/control/Control.ts:298
↓ 3 callers
Method
getListParticle
()
src/editor/core/draw/Draw.ts:954
↓ 3 callers
Method
getMatchList
( payload: string, originalElementList: IElement[] )
src/editor/core/draw/interactive/Search.ts:194
↓ 3 callers
Function
getNextPositionIndex
(payload: IGetNextPositionIndexPayload)
src/editor/core/event/handlers/keydown/updown.ts:15
↓ 3 callers
Method
getOriginValue
( options: IGetOriginValueOption = {} )
src/editor/core/draw/Draw.ts:1210
↓ 3 callers
Method
getOriginalHeight
()
src/editor/core/draw/Draw.ts:434
↓ 3 callers
Method
getPosition
( elementList: IElement[], titleId: string )
src/editor/core/command/CommandAdapt.ts:2131
↓ 3 callers
Method
getTd
()
src/editor/core/draw/Draw.ts:727
↓ 3 callers
Method
getTdListByColIndex
(trList: ITr[], colIndex: number)
src/editor/core/draw/particle/table/TableParticle.ts:362
↓ 3 callers
Method
getTextLikeSelectionElementList
()
src/editor/core/range/RangeManager.ts:150
↓ 3 callers
Method
getValueRange
(context: IControlContext = {})
src/editor/core/draw/control/Control.ts:391
↓ 3 callers
Method
getWorkerManager
()
src/editor/core/draw/Draw.ts:970
↓ 3 callers
Function
hitCheckbox
(element: IElement, draw: Draw)
src/editor/core/event/handlers/mousedown.ts:28
↓ 3 callers
Function
input
(data: string, host: CanvasEvent)
src/editor/core/event/handlers/input.ts:13
↓ 3 callers
Function
isSameElementExceptValue
( source: IElement, target: IElement )
src/editor/utils/element.ts:596
← previous
next →
201–300 of 1,174, ranked by callers