MCPcopy Index your code

hub / github.com/codesandbox/sandpack / functions

Functions600 in github.com/codesandbox/sandpack

FunctionUsingSandpackLayout
()
sandpack-react/src/presets/CustomSandpack.stories.tsx:66
FunctionUsingVisualElements
()
sandpack-react/src/presets/CustomSandpack.stories.tsx:141
FunctionVerboseMode
()
sandpack-react/src/components/Tests/Tests.stories.tsx:130
FunctionViewport
(args)
sandpack-react/src/components/Preview/Preview.stories.tsx:43
FunctionWithClosableTabs
()
sandpack-react/src/components/FileTabs/FileTabs.stories.tsx:30
FunctionWithHiddenFiles
()
sandpack-react/src/components/FileTabs/FileTabs.stories.tsx:47
FunctionWithNavigator
()
sandpack-react/src/components/Preview/Preview.stories.tsx:58
FunctionWithRouting
()
sandpack-react/src/components/Navigator/Navigator.stories.tsx:111
FunctionWithStartingRoute
()
sandpack-react/src/components/Navigator/Navigator.stories.tsx:119
FunctionaddListener
( listener: ListenerFunction, clientId?: string )
sandpack-react/src/contexts/utils/useClient.ts:434
FunctionaddResizingClass
()
website/codesandbox-theme-docs/src/polyfill.ts:6
Functionall
()
sandpack-react/src/components/icons/Icons.stories.tsx:9
Functionback
()
sandpack-client/src/clients/node/inject-scripts/historyListener.ts:50
FunctionbuildEnd
()
sandpack-react/scripts/rollup-generate-unstyled-types.js:7
FunctionchangeFiles
()
sandpack-react/src/components/FileExplorer/FileExplorer.stories.tsx:166
FunctionchangeVisibleFiles
()
sandpack-react/src/components/FileExplorer/FileExplorer.stories.tsx:157
Methodcleanup
()
sandpack-client/src/clients/event-emitter.ts:17
FunctioncolorSchemeChange
({ matches }: MediaQueryListEvent)
sandpack-react/src/styles/themeContext.tsx:70
Functioncomponent
({ className, filePath, children })
website/codesandbox-theme-docs/src/constants.tsx:33
Methodconstructor
( iframeSelector: string | HTMLIFrameElement, sandboxSetup: SandboxSetup, options: ClientOptions =
sandpack-client/src/clients/base.ts:26
Methodconstructor
()
sandpack-client/src/clients/event-emitter.ts:13
Methodconstructor
( selector: string | HTMLIFrameElement, sandboxSetup: SandboxSetup, options: ClientOptions = {}
sandpack-client/src/clients/static/index.ts:31
Methodconstructor
( selector: string | HTMLIFrameElement, sandboxSetup: SandboxSetup, options: ClientOptions = {}
sandpack-client/src/clients/runtime/index.ts:55
Methodconstructor
(iframe: HTMLIFrameElement, origin: string)
sandpack-client/src/clients/runtime/iframe-protocol.ts:22
Methodconstructor
( private type: string, private handleMessage: (message: ProtocolRequestMessage) => any, private p
sandpack-client/src/clients/runtime/file-resolver-protocol.ts:19
Methodconstructor
( selector: string | HTMLIFrameElement, sandboxInfo: SandboxSetup, options: ClientOptions = {} )
sandpack-client/src/clients/node/index.ts:52
Methodconstructor
(view: EditorView)
sandpack-react/src/components/CodeEditor/highlightDecorators.ts:14
Methodconstructor
()
sandpack-react/src/components/CodeEditor/highlightInlineError.ts:18
FunctionconvertBundleIntoReact
* 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
FunctioncopyFolder
()
sandpack-client/gulpfile.js:45
Methoddestroy
()
sandpack-client/src/clients/static/index.ts:241
Methoddestroy
()
sandpack-client/src/clients/runtime/index.ts:303
Methoddestroy
()
sandpack-client/src/clients/node/index.ts:459
Methoddispatch
(message: SandpackMessage)
sandpack-client/src/clients/event-emitter.ts:22
Methoddispatch
(message: SandpackMessage)
sandpack-client/src/clients/runtime/iframe-protocol.ts:61
FunctiondispatchMessage
( message: SandpackMessage, clientId?: string )
sandpack-react/src/contexts/utils/useClient.ts:414
Methoddispose
()
sandpack-client/src/clients/runtime/file-resolver-protocol.ts:55
FunctiondoubleToString
()
sandpack-react/src/styles/stitches-mock.ts:4
Functiondown
(e: globalThis.KeyboardEvent)
website/codesandbox-theme-docs/src/components/search.tsx:60
MethodeventListener
(evt: MessageEvent)
sandpack-client/src/clients/static/index.ts:208
MethodeventListener
(evt: MessageEvent)
sandpack-client/src/clients/runtime/iframe-protocol.ts:111
FunctionfakeCss
()
sandpack-react/src/styles/index.ts:149
FunctionfinishAnimation
()
website/landing/components/Hero/HeroDesktop/HeroDesktop.tsx:132
Functionfn
({ state })
website/codesandbox-theme-docs/src/components/select.tsx:39
Functionforward
()
sandpack-client/src/clients/node/inject-scripts/historyListener.ts:54
MethodgetCodeSandboxURL
* Get the URL of the contents of the current sandbox
sandpack-client/src/clients/runtime/index.ts:421
MethodgetInitialProps
( ctx: DocumentContext )
website/docs/src/pages/_document.tsx:6
FunctiongitTimestamp
({ timestamp })
website/codesandbox-theme-docs/src/constants.tsx:52
Functiongo
(delta: number)
sandpack-client/src/clients/node/inject-scripts/historyListener.ts:35
FunctionhandleBack
()
sandpack-react/src/components/Navigator/index.tsx:113
FunctionhandleChange
(value: string)
website/codesandbox-theme-docs/src/components/flexsearch.tsx:261
FunctionhandleContainerKeyDown
(evt: React.KeyboardEvent)
sandpack-react/src/components/CodeEditor/CodeMirror.tsx:430
FunctionhandleForward
()
sandpack-react/src/components/Navigator/index.tsx:117
FunctionhandleInputChange
(e: React.ChangeEvent<HTMLInputElement>)
sandpack-react/src/components/Navigator/index.tsx:89
FunctionhandleKeyDown
(e: React.KeyboardEvent<HTMLInputElement>)
sandpack-react/src/components/Navigator/index.tsx:97
FunctionhandleMessage
({ data }: { data: NavigationMessage })
sandpack-client/src/clients/node/inject-scripts/historyListener.ts:74
FunctionhandleMessage
(msg: SandpackMessage)
sandpack-react/src/contexts/utils/useClient.ts:375
FunctionhandleNewURL
(newUrl: string)
sandpack-react/src/components/Preview/index.tsx:149
FunctionhandleRefresh
()
sandpack-react/src/components/Navigator/index.tsx:109
FunctionhexToRGB
( hex: string )
sandpack-react/src/utils/stringUtils.ts:56
Methodlisten
(listener: ListenerFunction)
sandpack-client/src/clients/static/index.ts:237
Methodlisten
(listener: ListenerFunction)
sandpack-client/src/clients/node/index.ts:455
MethodnotFound
()
sandpack-client/src/clients/runtime/index.ts:233
FunctiononClickButton
(event: React.MouseEvent<HTMLButtonElement>)
sandpack-react/src/components/FileExplorer/File.tsx:43
FunctiononDragMove
(event: MouseEvent)
sandpack-react/src/presets/Sandpack.tsx:136
FunctiononLoadPage
()
sandpack-client/src/clients/node/iframe.utils.ts:23
FunctiononRenderBody
({ setHeadComponents })
examples/gatsby/gatsby-ssr.js:4
FunctiononSignIn
()
sandpack-react/src/components/common/ErrorOverlay.tsx:59
Functionplaceholder
()
website/codesandbox-theme-docs/src/constants.tsx:126
FunctionpushState
(state: string, title: string, url: string)
sandpack-client/src/clients/node/inject-scripts/historyListener.ts:58
Functionredirects
()
website/docs/next.config.js:13
FunctionregisterReactDevTools
(value: ReactDevToolsMode)
sandpack-react/src/contexts/utils/useClient.ts:407
Functionremove
()
sandpack-client/gulpfile.js:44
Methodrender
()
website/landing/pages/_document.tsx:9
Methodrender
()
website/docs/src/pages/_document.tsx:24
FunctionrenderOnServer
()
sandpack-react/src/presets/Sandpack.test.tsx:18
FunctionreplaceState
(state: string, title: string, url: string)
sandpack-client/src/clients/node/inject-scripts/historyListener.ts:64
Functionreset
()
sandpack-react/src/components/Console/SandpackConsole.tsx:106
FunctionresetLogs
()
sandpack-react/src/components/Console/Console.stories.tsx:138
MethodsendMessage
()
sandpack-client/src/clients/runtime/index.ts:215
Functionsender
()
sandpack-react/src/presets/CustomSandpack.stories.tsx:489
FunctionsetupHistoryListeners
({ scope, }: { scope: { channelId: string }; })
sandpack-client/src/clients/node/inject-scripts/historyListener.ts:3
FunctionshowLineNumbers
()
sandpack-react/src/components/CodeViewer/CodeViewer.stories.tsx:31
FunctionshuffleTemplate
()
website/landing/components/Intro/Sections/Template.tsx:68
FunctionshuffleTheme
()
website/landing/components/Intro/Sections/Theme.tsx:61
FunctionstopDragging
()
sandpack-react/src/presets/Sandpack.tsx:167
Functionsubmit
()
sandpack-react/src/components/common/OpenInCodeSandboxButton/UnstyledOpenInCodeSandboxButton.tsx:61
FunctiontempFun
()
sandpack-react/src/components/Console/utils/transformers.ts:79
FunctiontoString
()
sandpack-react/src/styles/stitches-mock.ts:3
Functiontoggle
()
sandpack-react/src/components/FileExplorer/Directory.tsx:34
FunctiontoggleHidden
()
sandpack-react/src/Issues.stories.tsx:38
FunctionunregisterBundler
(clientId: string)
sandpack-react/src/contexts/utils/useClient.ts:344
FunctionunsubscribeListener
()
sandpack-react/src/contexts/utils/useClient.ts:457
Methodupdate
(update: ViewUpdate)
sandpack-react/src/components/CodeEditor/highlightInlineError.ts:22
MethodupdateOptions
* Clients handles
sandpack-client/src/clients/base.ts:39
MethodupdateOptions
(options: ClientOptions)
sandpack-client/src/clients/runtime/index.ts:309
FunctionwatchResize
({ scope }: { scope: { channelId: string } })
sandpack-client/src/clients/node/inject-scripts/resize.ts:3
FunctionwrapContent
()
sandpack-react/src/presets/Sandpack.stories.tsx:202
Functionwrapper
({ children })
sandpack-react/src/contexts/sandpackContext.test.tsx:15
FunctionwriteBuffer
(content: string | Uint8Array)
sandpack-client/src/clients/static/utils.ts:17
← previous501–600 of 600, ranked by callers