Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/codesandbox/sandpack
/ functions
Functions
600 in github.com/codesandbox/sandpack
⨍
Functions
600
◇
Types & classes
154
Function
UsingSandpackLayout
()
sandpack-react/src/presets/CustomSandpack.stories.tsx:66
Function
UsingVisualElements
()
sandpack-react/src/presets/CustomSandpack.stories.tsx:141
Function
VerboseMode
()
sandpack-react/src/components/Tests/Tests.stories.tsx:130
Function
Viewport
(args)
sandpack-react/src/components/Preview/Preview.stories.tsx:43
Function
WithClosableTabs
()
sandpack-react/src/components/FileTabs/FileTabs.stories.tsx:30
Function
WithHiddenFiles
()
sandpack-react/src/components/FileTabs/FileTabs.stories.tsx:47
Function
WithNavigator
()
sandpack-react/src/components/Preview/Preview.stories.tsx:58
Function
WithRouting
()
sandpack-react/src/components/Navigator/Navigator.stories.tsx:111
Function
WithStartingRoute
()
sandpack-react/src/components/Navigator/Navigator.stories.tsx:119
Function
addListener
( listener: ListenerFunction, clientId?: string )
sandpack-react/src/contexts/utils/useClient.ts:434
Function
addResizingClass
()
website/codesandbox-theme-docs/src/polyfill.ts:6
Function
all
()
sandpack-react/src/components/icons/Icons.stories.tsx:9
Function
back
()
sandpack-client/src/clients/node/inject-scripts/historyListener.ts:50
Function
buildEnd
()
sandpack-react/scripts/rollup-generate-unstyled-types.js:7
Function
changeFiles
()
sandpack-react/src/components/FileExplorer/FileExplorer.stories.tsx:166
Function
changeVisibleFiles
()
sandpack-react/src/components/FileExplorer/FileExplorer.stories.tsx:157
Method
cleanup
()
sandpack-client/src/clients/event-emitter.ts:17
Function
colorSchemeChange
({ matches }: MediaQueryListEvent)
sandpack-react/src/styles/themeContext.tsx:70
Function
component
({ className, filePath, children })
website/codesandbox-theme-docs/src/constants.tsx:33
Method
constructor
( iframeSelector: string | HTMLIFrameElement, sandboxSetup: SandboxSetup, options: ClientOptions =
sandpack-client/src/clients/base.ts:26
Method
constructor
()
sandpack-client/src/clients/event-emitter.ts:13
Method
constructor
( selector: string | HTMLIFrameElement, sandboxSetup: SandboxSetup, options: ClientOptions = {}
sandpack-client/src/clients/static/index.ts:31
Method
constructor
( selector: string | HTMLIFrameElement, sandboxSetup: SandboxSetup, options: ClientOptions = {}
sandpack-client/src/clients/runtime/index.ts:55
Method
constructor
(iframe: HTMLIFrameElement, origin: string)
sandpack-client/src/clients/runtime/iframe-protocol.ts:22
Method
constructor
( private type: string, private handleMessage: (message: ProtocolRequestMessage) => any, private p
sandpack-client/src/clients/runtime/file-resolver-protocol.ts:19
Method
constructor
( selector: string | HTMLIFrameElement, sandboxInfo: SandboxSetup, options: ClientOptions = {} )
sandpack-client/src/clients/node/index.ts:52
Method
constructor
(view: EditorView)
sandpack-react/src/components/CodeEditor/highlightDecorators.ts:14
Method
constructor
()
sandpack-react/src/components/CodeEditor/highlightInlineError.ts:18
Function
convertBundleIntoReact
* Converts an Anser bundle into a React Node. * @param linkify whether links should be converting into clickable anchor tags. * @param useClasses sh
sandpack-react/src/utils/ansi-to-react.ts:107
Function
copyFolder
()
sandpack-client/gulpfile.js:45
Method
destroy
()
sandpack-client/src/clients/static/index.ts:241
Method
destroy
()
sandpack-client/src/clients/runtime/index.ts:303
Method
destroy
()
sandpack-client/src/clients/node/index.ts:459
Method
dispatch
(message: SandpackMessage)
sandpack-client/src/clients/event-emitter.ts:22
Method
dispatch
(message: SandpackMessage)
sandpack-client/src/clients/runtime/iframe-protocol.ts:61
Function
dispatchMessage
( message: SandpackMessage, clientId?: string )
sandpack-react/src/contexts/utils/useClient.ts:414
Method
dispose
()
sandpack-client/src/clients/runtime/file-resolver-protocol.ts:55
Function
doubleToString
()
sandpack-react/src/styles/stitches-mock.ts:4
Function
down
(e: globalThis.KeyboardEvent)
website/codesandbox-theme-docs/src/components/search.tsx:60
Method
eventListener
(evt: MessageEvent)
sandpack-client/src/clients/static/index.ts:208
Method
eventListener
(evt: MessageEvent)
sandpack-client/src/clients/runtime/iframe-protocol.ts:111
Function
fakeCss
()
sandpack-react/src/styles/index.ts:149
Function
finishAnimation
()
website/landing/components/Hero/HeroDesktop/HeroDesktop.tsx:132
Function
fn
({ state })
website/codesandbox-theme-docs/src/components/select.tsx:39
Function
forward
()
sandpack-client/src/clients/node/inject-scripts/historyListener.ts:54
Method
getCodeSandboxURL
* Get the URL of the contents of the current sandbox
sandpack-client/src/clients/runtime/index.ts:421
Method
getInitialProps
( ctx: DocumentContext )
website/docs/src/pages/_document.tsx:6
Function
gitTimestamp
({ timestamp })
website/codesandbox-theme-docs/src/constants.tsx:52
Function
go
(delta: number)
sandpack-client/src/clients/node/inject-scripts/historyListener.ts:35
Function
handleBack
()
sandpack-react/src/components/Navigator/index.tsx:113
Function
handleChange
(value: string)
website/codesandbox-theme-docs/src/components/flexsearch.tsx:261
Function
handleContainerKeyDown
(evt: React.KeyboardEvent)
sandpack-react/src/components/CodeEditor/CodeMirror.tsx:430
Function
handleForward
()
sandpack-react/src/components/Navigator/index.tsx:117
Function
handleInputChange
(e: React.ChangeEvent<HTMLInputElement>)
sandpack-react/src/components/Navigator/index.tsx:89
Function
handleKeyDown
(e: React.KeyboardEvent<HTMLInputElement>)
sandpack-react/src/components/Navigator/index.tsx:97
Function
handleMessage
({ data }: { data: NavigationMessage })
sandpack-client/src/clients/node/inject-scripts/historyListener.ts:74
Function
handleMessage
(msg: SandpackMessage)
sandpack-react/src/contexts/utils/useClient.ts:375
Function
handleNewURL
(newUrl: string)
sandpack-react/src/components/Preview/index.tsx:149
Function
handleRefresh
()
sandpack-react/src/components/Navigator/index.tsx:109
Function
hexToRGB
( hex: string )
sandpack-react/src/utils/stringUtils.ts:56
Method
listen
(listener: ListenerFunction)
sandpack-client/src/clients/static/index.ts:237
Method
listen
(listener: ListenerFunction)
sandpack-client/src/clients/node/index.ts:455
Method
notFound
()
sandpack-client/src/clients/runtime/index.ts:233
Function
onClickButton
(event: React.MouseEvent<HTMLButtonElement>)
sandpack-react/src/components/FileExplorer/File.tsx:43
Function
onDragMove
(event: MouseEvent)
sandpack-react/src/presets/Sandpack.tsx:136
Function
onLoadPage
()
sandpack-client/src/clients/node/iframe.utils.ts:23
Function
onRenderBody
({ setHeadComponents })
examples/gatsby/gatsby-ssr.js:4
Function
onSignIn
()
sandpack-react/src/components/common/ErrorOverlay.tsx:59
Function
placeholder
()
website/codesandbox-theme-docs/src/constants.tsx:126
Function
pushState
(state: string, title: string, url: string)
sandpack-client/src/clients/node/inject-scripts/historyListener.ts:58
Function
redirects
()
website/docs/next.config.js:13
Function
registerReactDevTools
(value: ReactDevToolsMode)
sandpack-react/src/contexts/utils/useClient.ts:407
Function
remove
()
sandpack-client/gulpfile.js:44
Method
render
()
website/landing/pages/_document.tsx:9
Method
render
()
website/docs/src/pages/_document.tsx:24
Function
renderOnServer
()
sandpack-react/src/presets/Sandpack.test.tsx:18
Function
replaceState
(state: string, title: string, url: string)
sandpack-client/src/clients/node/inject-scripts/historyListener.ts:64
Function
reset
()
sandpack-react/src/components/Console/SandpackConsole.tsx:106
Function
resetLogs
()
sandpack-react/src/components/Console/Console.stories.tsx:138
Method
sendMessage
()
sandpack-client/src/clients/runtime/index.ts:215
Function
sender
()
sandpack-react/src/presets/CustomSandpack.stories.tsx:489
Function
setupHistoryListeners
({ scope, }: { scope: { channelId: string }; })
sandpack-client/src/clients/node/inject-scripts/historyListener.ts:3
Function
showLineNumbers
()
sandpack-react/src/components/CodeViewer/CodeViewer.stories.tsx:31
Function
shuffleTemplate
()
website/landing/components/Intro/Sections/Template.tsx:68
Function
shuffleTheme
()
website/landing/components/Intro/Sections/Theme.tsx:61
Function
stopDragging
()
sandpack-react/src/presets/Sandpack.tsx:167
Function
submit
()
sandpack-react/src/components/common/OpenInCodeSandboxButton/UnstyledOpenInCodeSandboxButton.tsx:61
Function
tempFun
()
sandpack-react/src/components/Console/utils/transformers.ts:79
Function
toString
()
sandpack-react/src/styles/stitches-mock.ts:3
Function
toggle
()
sandpack-react/src/components/FileExplorer/Directory.tsx:34
Function
toggleHidden
()
sandpack-react/src/Issues.stories.tsx:38
Function
unregisterBundler
(clientId: string)
sandpack-react/src/contexts/utils/useClient.ts:344
Function
unsubscribeListener
()
sandpack-react/src/contexts/utils/useClient.ts:457
Method
update
(update: ViewUpdate)
sandpack-react/src/components/CodeEditor/highlightInlineError.ts:22
Method
updateOptions
* Clients handles
sandpack-client/src/clients/base.ts:39
Method
updateOptions
(options: ClientOptions)
sandpack-client/src/clients/runtime/index.ts:309
Function
watchResize
({ scope }: { scope: { channelId: string } })
sandpack-client/src/clients/node/inject-scripts/resize.ts:3
Function
wrapContent
()
sandpack-react/src/presets/Sandpack.stories.tsx:202
Function
wrapper
({ children })
sandpack-react/src/contexts/sandpackContext.test.tsx:15
Function
writeBuffer
(content: string | Uint8Array)
sandpack-client/src/clients/static/utils.ts:17
← previous
501–600 of 600, ranked by callers