Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/core7s/react-design-editor
/ functions
Functions
336 in github.com/core7s/react-design-editor
⨍
Functions
336
◇
Types & classes
63
↓ 29 callers
Method
render
()
src/components/Resizable/resizer.tsx:102
↓ 16 callers
Function
useDesignEditorContext
()
src/hooks/useDesignEditorContext.ts:4
↓ 12 callers
Function
useSetIsSidebarOpen
()
src/hooks/useSetIsSidebarOpen.tsx:4
↓ 11 callers
Function
loadFonts
(fonts: FontItem[])
src/utils/fonts.ts:30
↓ 10 callers
Function
useAppContext
()
src/hooks/useAppContext.tsx:4
↓ 9 callers
Function
getDefaultTemplate
({ width, height }: IFrame)
src/constants/design-editor.ts:26
↓ 6 callers
Function
handleChange
(key: string, value: any)
src/views/DesignEditor/components/Panels/panelItems/Common/Shadow.tsx:45
↓ 6 callers
Function
hasDirection
(dir: 'top' | 'right' | 'bottom' | 'left', target: string)
src/components/Resizable/index.tsx:133
↓ 5 callers
Function
addObject
()
src/views/DesignEditor/components/Panels/panelItems/Text.tsx:18
↓ 5 callers
Function
useEditorType
()
src/hooks/useEditorType.tsx:4
↓ 4 callers
Function
clamp
(n: number, min: number, max: number)
src/components/Resizable/index.tsx:131
↓ 4 callers
Function
getPixelSize
( size: undefined | string | number, parentSize: number, innerWidth: number, innerHeight: number, )
src/components/Resizable/index.tsx:184
↓ 4 callers
Function
handleChange
(type: string, value: any)
src/views/DesignEditor/components/Panels/panelItems/Common/Outline.tsx:37
↓ 4 callers
Function
handleGradientColorChange
(index: number, color: string)
src/views/DesignEditor/components/Panels/panelItems/Common/Gradient.tsx:69
↓ 4 callers
Function
isTouchEvent
(event: MouseEvent | TouchEvent)
src/components/Resizable/index.tsx:137
↓ 3 callers
Function
getStringSize
(n: number | string)
src/components/Resizable/index.tsx:158
↓ 3 callers
Function
handleChange
(type: string, value: any)
src/views/DesignEditor/components/Panels/panelItems/Customize.tsx:38
↓ 3 callers
Function
handleChange
(key: string, value: any)
src/views/DesignEditor/components/Panels/panelItems/TextProperties.tsx:66
↓ 3 callers
Function
handleChange
(key: any, value: any)
src/views/DesignEditor/components/Panels/panelItems/Common/Gradient.tsx:24
↓ 3 callers
Function
loadTemplateFonts
(design: IScene)
src/utils/fonts.ts:23
↓ 3 callers
Function
loadVideoEditorAssets
(payload: IScene)
src/utils/video.ts:49
↓ 3 callers
Function
makeDownload
(data: Object)
src/views/DesignEditor/components/Navbar/Navbar.tsx:137
↓ 3 callers
Function
onChange
(size: number)
src/views/DesignEditor/components/Toolbox/Text.tsx:327
↓ 3 callers
Function
useContextMenuTimelineRequest
()
src/hooks/useContextMenuTimelineRequest.ts:4
↓ 3 callers
Function
useOnClickOutside
( ref: React.RefObject<HTMLElement>, handler: Handler | null, { document = currentDocument } = {} )
src/hooks/useOnClickOutside.tsx:25
↓ 2 callers
Function
captureFrame
(video: HTMLVideoElement)
src/utils/video.ts:22
↓ 2 callers
Method
createSizeForCssProperty
(newSize: number | string, kind: 'width' | 'height')
src/components/Resizable/index.tsx:534
↓ 2 callers
Function
findClosestSnap
(n: number, snapArray: number[], snapGap: number = 0)
src/components/Resizable/index.tsx:148
↓ 2 callers
Function
findSceneIndexByTime
(scenes: IScene[], time: number)
src/views/DesignEditor/utils/scenes.ts:3
↓ 2 callers
Method
getFonts
()
src/services/api.ts:234
↓ 2 callers
Method
getParentSize
()
src/components/Resizable/index.tsx:428
↓ 2 callers
Function
getTextProperties
(object: Required<IStaticText>, fonts: any[])
src/views/DesignEditor/utils/text.ts:4
↓ 2 callers
Function
handleChange
(type: string, value: any)
src/views/DesignEditor/components/Footer/Presentation/Common.tsx:35
↓ 2 callers
Function
handleChange
(type: string, value: any)
src/views/DesignEditor/components/Footer/Graphic/Common.tsx:35
↓ 2 callers
Function
handleChange
(type: string, value: number[])
src/views/DesignEditor/components/Toolbox/Text.tsx:453
↓ 2 callers
Function
handleDropFiles
(files: FileList)
src/views/DesignEditor/components/Panels/panelItems/Uploads.tsx:20
↓ 2 callers
Function
loadVideoResource
(videoSrc: string)
src/utils/video.ts:3
↓ 2 callers
Method
onResizeStart
(event: React.MouseEvent<HTMLElement> | React.TouchEvent<HTMLElement>, direction: Direction)
src/components/Resizable/index.tsx:677
↓ 2 callers
Function
snap
(n: number, size: number)
src/components/Resizable/index.tsx:132
↓ 2 callers
Method
unbindEvents
()
src/components/Resizable/index.tsx:474
↓ 2 callers
Function
updateMediaQuery
(value: number)
src/Container.tsx:16
↓ 2 callers
Function
useAppDispatch
()
src/store/store.ts:11
↓ 2 callers
Function
useDesignEditorScenes
()
src/hooks/useDesignEditorScenes.tsx:4
↓ 1 callers
Function
addImageToCanvas
(props: Partial<ILayer>)
src/views/DesignEditor/components/Panels/panelItems/Uploads.tsx:52
↓ 1 callers
Function
applyEffect
(name: string)
src/views/DesignEditor/components/Panels/panelItems/TextEffects.tsx:93
↓ 1 callers
Method
bindEvents
()
src/components/Resizable/index.tsx:461
↓ 1 callers
Function
calculateNewMax
( parentSize: { width: number; height: number }, innerWidth: number, innerHeight: number, maxWidth?: s
src/components/Resizable/index.tsx:210
↓ 1 callers
Method
calculateNewMaxFromBoundary
(maxWidth?: number, maxHeight?: number)
src/components/Resizable/index.tsx:543
↓ 1 callers
Method
calculateNewSizeFromAspectRatio
( newWidth: number, newHeight: number, max: { width?: number; height?: number }, min: { width?
src/components/Resizable/index.tsx:618
↓ 1 callers
Method
calculateNewSizeFromDirection
(clientX: number, clientY: number)
src/components/Resizable/index.tsx:582
↓ 1 callers
Function
captureDuration
(video: HTMLVideoElement)
src/utils/video.ts:43
↓ 1 callers
Function
captureDuration
(video: HTMLVideoElement)
src/views/DesignEditor/components/Panels/panelItems/Videos.tsx:52
↓ 1 callers
Function
captureFrame
(video: HTMLVideoElement)
src/views/DesignEditor/components/Panels/panelItems/Videos.tsx:31
↓ 1 callers
Function
changeBackgroundColor
(color: string)
src/views/DesignEditor/components/Panels/panelItems/Customize.tsx:33
↓ 1 callers
Function
changeBackgroundColor
(prev: string, next: string)
src/views/DesignEditor/components/Toolbox/Vector.tsx:24
↓ 1 callers
Function
getAddOptions
(event: HandledEventsType)
src/hooks/useOnClickOutside.tsx:17
↓ 1 callers
Function
getFontsFromObjects
(objects: Partial<ILayer>[])
src/utils/fonts.ts:4
↓ 1 callers
Function
getGradientOptions
(object: any)
src/views/DesignEditor/components/Panels/panelItems/Common/Gradient.tsx:47
↓ 1 callers
Function
getMaxTime
(scenes: IScene[])
src/views/DesignEditor/utils/scenes.ts:16
↓ 1 callers
Function
getPexelsVideos
(query: string)
src/services/pexels.ts:11
↓ 1 callers
Method
getPixabayResources
()
src/services/api.ts:245
↓ 1 callers
Function
getPixabayVideos
(query: string)
src/services/pixabay.ts:27
↓ 1 callers
Function
getSelectionMetadata
(selection: any)
src/utils/object-options.ts:1
↓ 1 callers
Method
getSignedURLForUpload
(props: { name: string })
src/services/api.ts:33
↓ 1 callers
Function
getTextOptions
(selection: any)
src/utils/object-options.ts:14
↓ 1 callers
Method
getUploads
()
src/services/api.ts:55
↓ 1 callers
Function
handleAsComponentHandler
()
src/views/DesignEditor/components/ContextMenu/ContextMenu.tsx:16
↓ 1 callers
Function
handleDropFiles
(files: FileList)
src/views/DesignEditor/components/Panels/panelItems/Graphics.tsx:30
↓ 1 callers
Function
handleFontFamilyChange
(x: any)
src/views/DesignEditor/components/Panels/panelItems/FontSelector.tsx:39
↓ 1 callers
Function
handleInputChange
(name: string)
src/views/DesignEditor/components/Navbar/DesignTitle.tsx:19
↓ 1 callers
Function
isMouseEvent
(event: MouseEvent | TouchEvent)
src/components/Resizable/index.tsx:141
↓ 1 callers
Function
loadFonts
()
src/Container.tsx:52
↓ 1 callers
Function
loadGraphicTemplate
(payload: IDesign)
src/views/DesignEditor/components/Navbar/Navbar.tsx:157
↓ 1 callers
Function
loadPexelsVideos
()
src/views/DesignEditor/components/Panels/panelItems/Videos.tsx:68
↓ 1 callers
Function
loadPresentationTemplate
(payload: IDesign)
src/views/DesignEditor/components/Navbar/Navbar.tsx:179
↓ 1 callers
Function
loadVideoResource
(videoSrc: string)
src/views/DesignEditor/components/Panels/panelItems/Videos.tsx:12
↓ 1 callers
Function
loadVideoTemplate
(payload: IDesign)
src/views/DesignEditor/components/Navbar/Navbar.tsx:200
↓ 1 callers
Function
parseGraphicJSON
()
src/views/DesignEditor/components/Navbar/Navbar.tsx:33
↓ 1 callers
Function
parsePresentationJSON
()
src/views/DesignEditor/components/Navbar/Navbar.tsx:67
↓ 1 callers
Function
parseVideoJSON
()
src/views/DesignEditor/components/Navbar/Navbar.tsx:103
↓ 1 callers
Method
renderResizer
()
src/components/Resizable/index.tsx:886
↓ 1 callers
Method
setBoundingClientRect
()
src/components/Resizable/index.tsx:649
↓ 1 callers
Function
toBase64
(file: File)
src/utils/data.ts:1
↓ 1 callers
Function
uniqueFilename
(name: string)
src/utils/unique.ts:9
↓ 1 callers
Function
uniqueId
()
src/utils/unique.ts:5
↓ 1 callers
Function
updateOptions
(object: any)
src/views/DesignEditor/components/Panels/panelItems/Common/Shadow.tsx:36
↓ 1 callers
Function
updateOptions
(object: any)
src/views/DesignEditor/components/Panels/panelItems/Common/Outline.tsx:32
↓ 1 callers
Method
updateUploadFile
(props: { name: string })
src/services/api.ts:44
↓ 1 callers
Function
useIsSidebarOpen
()
src/hooks/useIsSidebarOpen.tsx:4
Function
Add
({ size }: { size: number })
src/components/Icons/Add.tsx:1
Function
AddCircleOutline
({ size }: { size: number })
src/components/Icons/AddCircleOutline.tsx:1
Function
AlignBottom
({ size }: { size: number })
src/components/Icons/AlignBottom.tsx:1
Function
AlignCenter
({ size }: { size: number })
src/components/Icons/AlignCenter.tsx:1
Function
AlignLeft
({ size }: { size: number })
src/components/Icons/AlignLeft.tsx:1
Function
AlignMiddle
({ size }: { size: number })
src/components/Icons/AlignMiddle.tsx:1
Function
AlignRight
({ size }: { size: number })
src/components/Icons/AlignRight.tsx:1
Function
AlignTop
({ size }: { size: number })
src/components/Icons/AlignTop.tsx:1
Function
AngleDoubleLeft
({ size }: { size: number })
src/components/Icons/AngleDoubleLeft.tsx:1
Function
AppProvider
({ children }: { children: React.ReactNode })
src/contexts/AppContext.tsx:39
Function
ArrowBackOutline
({ size }: { size: number })
src/components/Icons/ArrowBackOutline.tsx:1
next →
1–100 of 336, ranked by callers