Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Pablituuu/react-video-editor
/ functions
Functions
305 in github.com/Pablituuu/react-video-editor
⨍
Functions
305
◇
Types & classes
57
↓ 51 callers
Function
cn
(...inputs: ClassValue[])
src/lib/utils.ts:4
↓ 10 callers
Method
toRgbString
()
src/components/color-picker/utils/color.ts:22
↓ 8 callers
Method
toHexString
()
src/components/color-picker/utils/color.ts:21
↓ 7 callers
Function
getIdFromClassName
(input: string)
src/utils/scene.ts:1
↓ 6 callers
Function
combineRegExp
( regexpList: ReadonlyArray<string | RegExp>, flags: string )
src/components/color-picker/utils/validGradient.ts:26
↓ 5 callers
Function
calculateFrames
( display: { from: number; to: number }, fps: number )
src/pages/editor/player/sequence-item.tsx:22
↓ 5 callers
Method
initRgb
()
src/components/color-picker/utils/color.ts:19
↓ 5 callers
Function
pointMoveTo
(coords: TCoords)
src/components/color-picker/gradient-panel/Markers.tsx:259
↓ 5 callers
Function
pointMoveTo
(coords: TCoords)
src/components/color-picker/gradient-panel/index.tsx:216
↓ 5 callers
Function
pointMoveTo
(pos: TCoords)
src/components/color-picker/color-panel/board.tsx:177
↓ 5 callers
Function
pointMoveTo
(coords: TCoords)
src/components/color-picker/color-panel/ribbon.tsx:175
↓ 5 callers
Function
pointMoveTo
(coords: TCoords)
src/components/color-picker/color-panel/alpha.tsx:164
↓ 5 callers
Method
toHsv
()
src/components/color-picker/utils/color.ts:23
↓ 4 callers
Function
handleChangePlaybackRate
(value: number)
src/pages/editor/control-item/common/playback-rate.tsx:7
↓ 4 callers
Method
initHsb
()
src/components/color-picker/utils/color.ts:20
↓ 4 callers
Function
useFormField
()
src/components/ui/form.tsx:42
↓ 3 callers
Function
getStyleNameFromFontName
(fontName: string)
src/pages/editor/control-item/basic-text.tsx:41
↓ 3 callers
Function
loadFonts
(fonts: { name: string; url: string }[])
src/pages/editor/utils/fonts.ts:4
↓ 3 callers
Function
onChangeBorderColor
(v: string)
src/pages/editor/control-item/basic-text.tsx:163
↓ 3 callers
Function
removeListeners
()
src/components/color-picker/color-panel/board.tsx:78
↓ 3 callers
Function
removeTouchListeners
()
src/components/color-picker/gradient-panel/Markers.tsx:127
↓ 3 callers
Function
removeTouchListeners
()
src/components/color-picker/gradient-panel/index.tsx:110
↓ 3 callers
Function
removeTouchListeners
()
src/components/color-picker/color-panel/board.tsx:85
↓ 3 callers
Function
removeTouchListeners
()
src/components/color-picker/color-panel/ribbon.tsx:84
↓ 3 callers
Function
removeTouchListeners
()
src/components/color-picker/color-panel/alpha.tsx:62
↓ 3 callers
Function
timeMsToUnits
(timeMs: number, zoom = 1)
src/utils/timeline.ts:37
↓ 3 callers
Function
useCurrentPlayerFrame
(ref: React.RefObject<PlayerRef>)
src/hooks/use-current-frame.tsx:4
↓ 2 callers
Function
getCurrentTime
()
src/utils/time.ts:48
↓ 2 callers
Function
getNextZoomIndex
(currentZoom: ITimelineScaleState)
src/utils/timeline.ts:28
↓ 2 callers
Function
getTargetAbles
(targetType: string)
src/pages/editor/utils/target.ts:25
↓ 2 callers
Function
getTypeFromClassName
(input: string)
src/pages/editor/utils/target.ts:76
↓ 2 callers
Function
handleColorChange
(color: string)
src/pages/editor/control-item/basic-text.tsx:265
↓ 2 callers
Function
handleFlip
(value: string)
src/pages/editor/control-item/common/flip.tsx:17
↓ 2 callers
Function
handleMouseDown
( e: | MouseEvent<HTMLDivElement, globalThis.MouseEvent> | TouchEvent<HTMLDivElement> )
src/pages/editor/timeline/playhead.tsx:20
↓ 2 callers
Function
onHandleSubmit
()
src/components/color-picker/color-control.tsx:50
↓ 2 callers
Function
parseGradient
(regExpLib: IGradientReg, input: string)
src/components/color-picker/utils/validGradient.ts:105
↓ 2 callers
Function
removeListeners
()
src/components/color-picker/gradient-panel/Markers.tsx:122
↓ 2 callers
Function
removeListeners
()
src/components/color-picker/gradient-panel/index.tsx:105
↓ 2 callers
Function
removeListeners
()
src/components/color-picker/color-panel/ribbon.tsx:79
↓ 2 callers
Function
removeListeners
()
src/components/color-picker/color-panel/alpha.tsx:57
↓ 2 callers
Function
resize
( canvas: HTMLCanvasElement | null, context: CanvasRenderingContext2D | null, scrollPos: number
src/pages/editor/timeline/ruler.tsx:59
↓ 2 callers
Function
rgbaColor
(r: number, g: number, b: number, a: number)
src/components/color-picker/color-panel/alpha.tsx:15
↓ 2 callers
Function
unitsToTimeMs
(units: number, zoom = 1)
src/utils/timeline.ts:44
↓ 2 callers
Function
updateTargets
(time?: number)
src/pages/editor/scene.tsx:61
↓ 1 callers
Function
arraysEqual
(a: Array<any>, b: Array<any>)
src/components/color-picker/helper.ts:92
↓ 1 callers
Function
deleteColorStop
()
src/components/color-picker/gradient-panel/Markers.tsx:273
↓ 1 callers
Function
download
(url: string, filename: string)
src/utils/download.ts:1
↓ 1 callers
Function
draw
( context: CanvasRenderingContext2D, scrollPos: number, width: number, height: number )
src/pages/editor/timeline/ruler.tsx:77
↓ 1 callers
Method
drawTextIdentity
(ctx: CanvasRenderingContext2D)
src/pages/editor/timeline/items/text.ts:16
↓ 1 callers
Method
drawTextIdentity
(ctx: CanvasRenderingContext2D)
src/pages/editor/timeline/items/video.ts:16
↓ 1 callers
Method
drawTextIdentity
(ctx: CanvasRenderingContext2D)
src/pages/editor/timeline/items/audio.ts:16
↓ 1 callers
Method
drawTextIdentity
(ctx: CanvasRenderingContext2D)
src/pages/editor/timeline/items/image.ts:16
↓ 1 callers
Method
drawTextIdentity
(ctx: CanvasRenderingContext2D)
src/pages/editor/timeline/items/caption.ts:16
↓ 1 callers
Function
findDefaultFont
(fonts: IFont[])
src/pages/editor/utils/fonts.ts:24
↓ 1 callers
Function
findIndex
( arr: T[], predicate: BinarySearchPredicate<T> )
src/utils/search.ts:13
↓ 1 callers
Function
frameToTimeString
( { frame }: { frame: number }, { fps }: { fps: number } )
src/utils/time.ts:1
↓ 1 callers
Function
generateRegExp
()
src/components/color-picker/utils/validGradient.ts:40
↓ 1 callers
Function
getAlphaValue
(value: string)
src/components/color-picker/helpers.ts:1
↓ 1 callers
Function
getBackground
()
src/components/color-picker/color-panel/alpha.tsx:152
↓ 1 callers
Function
getCaptionLines
( input: Input, fontSize: number, fontFamily: string, maxWidth: number )
src/utils/captions.ts:33
↓ 1 callers
Function
getCaptions
( captionLines: ICaptionLines )
src/utils/captions.ts:87
↓ 1 callers
Function
getCompactFontData
(fonts: IFont[])
src/pages/editor/utils/fonts.ts:32
↓ 1 callers
Function
getNextZoomLevel
( currentZoom: ITimelineScaleState )
src/utils/timeline.ts:12
↓ 1 callers
Function
getPointerBackground
()
src/components/color-picker/color-panel/alpha.tsx:177
↓ 1 callers
Function
getPreviousZoomIndex
(currentZoom: ITimelineScaleState)
src/utils/timeline.ts:18
↓ 1 callers
Function
getPreviousZoomLevel
( currentZoom: ITimelineScaleState )
src/utils/timeline.ts:6
↓ 1 callers
Function
getSelectionByIds
(ids: string[])
src/pages/editor/utils/target.ts:103
↓ 1 callers
Function
getTargetControls
(targetType: string)
src/pages/editor/utils/target.ts:1
↓ 1 callers
Function
handleAddAudio
()
src/pages/editor/menu-item/audios.tsx:8
↓ 1 callers
Function
handleAddImage
(src: string)
src/pages/editor/menu-item/images.tsx:7
↓ 1 callers
Function
handleAddVideo
(src: string)
src/pages/editor/menu-item/videos.tsx:7
↓ 1 callers
Function
handleChangeFontStyle
(font: IFont)
src/pages/editor/control-item/basic-text.tsx:122
↓ 1 callers
Function
handleChangeOpacity
(v: number)
src/pages/editor/control-item/basic-video.tsx:83
↓ 1 callers
Function
handleChangeOpacity
(v: number)
src/pages/editor/control-item/basic-image.tsx:64
↓ 1 callers
Function
handleChangeOpacity
(v: number)
src/pages/editor/control-item/basic-text.tsx:181
↓ 1 callers
Function
handleChangeVolume
(v: number)
src/pages/editor/control-item/basic-audio.tsx:11
↓ 1 callers
Function
handleChangeVolume
(v: number)
src/pages/editor/control-item/basic-video.tsx:19
↓ 1 callers
Function
handlePause
()
src/pages/editor/timeline/header.tsx:76
↓ 1 callers
Function
handlePlay
()
src/pages/editor/timeline/header.tsx:72
↓ 1 callers
Function
handleResize
()
src/pages/editor/navbar.tsx:402
↓ 1 callers
Function
moveCaretToEnd
()
src/pages/editor/player/editable-text.tsx:34
↓ 1 callers
Function
onAddColorStop
(e: MouseEvent)
src/components/color-picker/gradient-panel/Markers.tsx:85
↓ 1 callers
Function
onChangeAlpha
(alpha: string)
src/components/color-picker/color-control.tsx:34
↓ 1 callers
Function
onChangeBlur
(v: number)
src/pages/editor/control-item/basic-image.tsx:85
↓ 1 callers
Function
onChangeBorderColor
(v: string)
src/pages/editor/control-item/basic-video.tsx:62
↓ 1 callers
Function
onChangeBorderColor
(v: string)
src/pages/editor/control-item/basic-image.tsx:43
↓ 1 callers
Function
onChangeBorderRadius
(v: number)
src/pages/editor/control-item/basic-video.tsx:104
↓ 1 callers
Function
onChangeBorderRadius
(v: number)
src/pages/editor/control-item/basic-image.tsx:126
↓ 1 callers
Function
onChangeBorderWidth
(v: number)
src/pages/editor/control-item/basic-video.tsx:41
↓ 1 callers
Function
onChangeBorderWidth
(v: number)
src/pages/editor/control-item/basic-image.tsx:22
↓ 1 callers
Function
onChangeBorderWidth
(v: number)
src/pages/editor/control-item/basic-text.tsx:145
↓ 1 callers
Function
onChangeBoxShadow
(boxShadow: IBoxShadow)
src/pages/editor/control-item/basic-video.tsx:125
↓ 1 callers
Function
onChangeBoxShadow
(boxShadow: IBoxShadow)
src/pages/editor/control-item/basic-image.tsx:147
↓ 1 callers
Function
onChangeBoxShadow
(boxShadow: IBoxShadow)
src/pages/editor/control-item/basic-text.tsx:199
↓ 1 callers
Function
onChangeBrightness
(v: number)
src/pages/editor/control-item/basic-image.tsx:105
↓ 1 callers
Function
onChangeHex
(hex: string)
src/components/color-picker/color-control.tsx:43
↓ 1 callers
Function
onClickMode
()
src/components/color-picker/gradient-panel/index.tsx:38
↓ 1 callers
Function
onMouseDown
(e: MouseEvent, color: any)
src/components/color-picker/gradient-panel/Markers.tsx:132
↓ 1 callers
Function
onSubmitChange
(rgba: string)
src/components/color-picker/gradient/index.tsx:124
↓ 1 callers
Function
onTouchStart
(e: TouchEvent, color: any)
src/components/color-picker/gradient-panel/Markers.tsx:202
next →
1–100 of 305, ranked by callers