Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/stenciljs/core
/ functions
Functions
5,077 in github.com/stenciljs/core
⨍
Functions
5,077
◇
Types & classes
2,101
↓ 1 callers
Function
constrainTimeouts
(win: any)
src/mock-doc/window.ts:845
↓ 1 callers
Method
contains
(token: string)
src/mock-doc/token-list.ts:40
↓ 1 callers
Function
contentTypesPlugin
* Populates the `content-types-db.json` file with the content types of the `mime-db` package. * @param opts build options * @returns an esbuild plug
scripts/esbuild/dev-server.ts:288
↓ 1 callers
Function
convertColonHost
(cssText: string)
src/utils/shadow-css.ts:299
↓ 1 callers
Function
convertColonHostContext
(cssText: string)
src/utils/shadow-css.ts:352
↓ 1 callers
Function
convertColonSlotted
(cssText: string, slotScopeId: string)
src/utils/shadow-css.ts:311
↓ 1 callers
Function
convertDtsToJs
* Helper function to convert a .d.ts declaration file path to its corresponding * .js source file path and get the source file from the compiler cont
src/compiler/transformers/static-to-meta/class-extension.ts:227
↓ 1 callers
Function
convertScopedToShadow
(css: string)
src/runtime/styles.ts:306
↓ 1 callers
Function
convertShadowDOMSelectors
(cssText: string)
src/utils/shadow-css.ts:356
↓ 1 callers
Function
convertTypeReferences
(references?: d.ComponentCompilerTypeReferences)
src/compiler/docs/cem/index.ts:91
↓ 1 callers
Function
copyFile
(src, dst)
src/sys/node/node-sys.ts:126
↓ 1 callers
Function
copyHydrateRunnerDts
( config: d.ValidatedConfig, compilerCtx: d.CompilerCtx, hydrateAppDirPath: string, )
src/compiler/output-targets/dist-hydrate-script/write-hydrate-outputs.ts:172
↓ 1 callers
Function
copyLib
(buildCtx: d.BuildCtx, outputTarget: d.OutputTargetWww, workbox: d.Workbox)
src/compiler/service-worker/generate-sw.ts:22
↓ 1 callers
Function
copyPolyfills
( config: d.ValidatedConfig, compilerCtx: d.CompilerCtx, outputTargets: d.OutputTargetDistLazy[], )
src/compiler/output-targets/dist-lazy/generate-esm.ts:79
↓ 1 callers
Function
copyPolyfills
(opts: BuildOptions, outputInternalClientPolyfillsDir: string)
scripts/esbuild/internal-platform-client.ts:125
↓ 1 callers
Function
copyStencilCoreDts
( config: d.ValidatedConfig, compilerCtx: d.CompilerCtx, )
src/compiler/types/stencil-types.ts:119
↓ 1 callers
Function
copyStencilCoreEntry
(opts: BuildOptions)
scripts/esbuild/internal.ts:77
↓ 1 callers
Function
copyStencilInternalDts
(opts: BuildOptions, outputInternalDir: string)
scripts/esbuild/internal.ts:112
↓ 1 callers
Function
copyTestingInternalDts
(opts: BuildOptions, inputDir: string)
scripts/esbuild/testing.ts:136
↓ 1 callers
Function
copyUtilsDtsFiles
(opts: BuildOptions)
scripts/esbuild/internal.ts:97
↓ 1 callers
Method
copyWorkboxLibraries
(wwwDir: string)
src/declarations/stencil-private.ts:2274
↓ 1 callers
Method
createArrayValue
* Creates a new LocalValue object with an array. * * @param {Array} value - The array. * @returns {LocalValue} - The created LocalValue objec
src/utils/local-value.ts:106
↓ 1 callers
Function
createAutoDefinitionExpression
* Create a call to `defineCustomElement` for the principle web component. * ```typescript * defineCustomElement(MyPrincipalComponent); * ``` * @pa
src/compiler/transformers/component-native/add-define-custom-element-function.ts:248
↓ 1 callers
Method
createBigIntValue
* Creates a new LocalValue object with a BigInt value. * * @param {BigInt} value - The BigInt value. * @returns {LocalValue} - The created Lo
src/utils/local-value.ts:96
↓ 1 callers
Method
createBooleanValue
* Creates a new LocalValue object with a boolean value. * * @param {boolean} value - The boolean value. * @returns {LocalValue} - The created
src/utils/local-value.ts:86
↓ 1 callers
Function
createBorder
(th: RowData)
src/compiler/docs/readme/docs-util.ts:60
↓ 1 callers
Function
createBuildId
()
src/testing/jest/jest-29/jest-screenshot.ts:96
↓ 1 callers
Function
createBuildId
()
src/testing/jest/jest-27-and-under/jest-screenshot.ts:96
↓ 1 callers
Function
createBuildId
()
src/testing/jest/jest-28/jest-screenshot.ts:96
↓ 1 callers
Function
createBuildMessage
()
src/testing/jest/jest-29/jest-screenshot.ts:109
↓ 1 callers
Function
createBuildMessage
()
src/testing/jest/jest-27-and-under/jest-screenshot.ts:109
↓ 1 callers
Function
createBuildMessage
()
src/testing/jest/jest-28/jest-screenshot.ts:109
↓ 1 callers
Function
createButtonPseudo
* Returns a function to use in pseudos for buttons * @param {String} type
src/mock-doc/third-party/jquery.ts:1216
↓ 1 callers
Method
createChildTagElement
()
test/wdio/tag-transform/parent-tag-transform.tsx:22
↓ 1 callers
Function
createComponentGraphPath
( config: d.ValidatedConfig, componentGraph: d.BuildResultsComponentGraph, outputTarget: d.OutputTargetW
src/compiler/prerender/prerender-main.ts:271
↓ 1 callers
Function
createConsole
()
src/mock-doc/console.ts:5
↓ 1 callers
Function
createConstClass
( transformOpts: d.TransformOptions, classNode: ts.ClassDeclaration, heritageClauses: ts.HeritageClause[
src/compiler/transformers/update-component-class.ts:68
↓ 1 callers
Function
createContentTypeData
(opts: BuildOptions)
scripts/esbuild/utils/content-types.ts:6
↓ 1 callers
Function
createCustomResolverAsync
( sys: d.CompilerSystem, inMemoryFs: InMemoryFileSystem, exts?: string[], )
src/compiler/sys/resolve/resolve-module-async.ts:46
↓ 1 callers
Function
createCustomResolverSync
( sys: d.CompilerSystem, inMemoryFs: InMemoryFileSystem, exts: string[], )
src/compiler/sys/resolve/resolve-module-sync.ts:61
↓ 1 callers
Method
createDateValue
* Creates a new LocalValue object with date value. * * @param {string} value - The date. * @returns {LocalValue} - The created LocalValue obj
src/utils/local-value.ts:116
↓ 1 callers
Function
createDefaultTsConfig
(config: d.ValidatedConfig)
src/compiler/sys/typescript/typescript-config.ts:168
↓ 1 callers
Function
createDirRecursiveSync
( p: string, opts: CompilerSystemCreateDirectoryOptions, results: CompilerSystemCreateDirectoryRes
src/compiler/sys/stencil-sys.ts:110
↓ 1 callers
Function
createElementNS
(ownerDocument: any, namespaceURI: string, tagName: string)
src/mock-doc/element.ts:77
↓ 1 callers
Function
createEvent
(ref: d.RuntimeRef, name: string, flags: number)
src/runtime/event-emitter.ts:8
↓ 1 callers
Function
createGlobCopyTask
(copyTask: Required<d.CopyTask>, srcDir: string, globRelPath: string)
src/sys/node/node-copy-tasks.ts:77
↓ 1 callers
Function
createHttpServer
(devServerConfig: d.DevServerConfig, serverCtx: d.DevServerContext)
src/dev-server/server-http.ts:8
↓ 1 callers
Function
createHydrateRunnerDtsBundle
(opts: BuildOptions, inputHydrateDir: string, outputDir: string)
scripts/esbuild/internal-platform-hydrate.ts:81
↓ 1 callers
Function
createIdentifierFromStyleIdentifier
( styleIdentifier: string, externalStyleIds: string[], )
src/compiler/transformers/add-static-style.ts:212
↓ 1 callers
Function
createInputPseudo
* Returns a function to use in pseudos for input types * @param {String} type
src/mock-doc/third-party/jquery.ts:1206
↓ 1 callers
Function
createJestPuppeteerEnvironment
()
src/testing/jest/jest-29/jest-environment.ts:8
↓ 1 callers
Function
createLazyAttachInternalsBinding
(cmp: d.ComponentCompilerMeta)
src/compiler/transformers/component-lazy/attach-internals.ts:46
↓ 1 callers
Function
createLocalCompareApp
( namespace: string, appSrcUrl: string, imagesUrl: string, jsonpUrl: string, a: d.ScreenshotBuild,
src/screenshot/connector-local.ts:87
↓ 1 callers
Method
createMapValue
* Creates a new LocalValue object of map value. * @param {Map} map - The map. * @returns {LocalValue} - The created LocalValue object.
src/utils/local-value.ts:125
↓ 1 callers
Function
createModulePreload
(doc: Document, href: string)
src/compiler/html/inject-module-preloads.ts:32
↓ 1 callers
Function
createNativeAttachInternalsBinding
(cmp: d.ComponentCompilerMeta)
src/compiler/transformers/component-native/attach-internals.ts:34
↓ 1 callers
Method
createNullValue
* Creates a new LocalValue object with a null value. * @returns {LocalValue} - The created LocalValue object.
src/utils/local-value.ts:76
↓ 1 callers
Method
createNumberValue
* Creates a new LocalValue object with a number value. * * @param {number} value - The number value. * @returns {LocalValue} - The created Lo
src/utils/local-value.ts:38
↓ 1 callers
Method
createObjectValue
* Creates a new LocalValue object from the passed object. * * @param object the object to create a LocalValue from * @returns {LocalValue} -
src/utils/local-value.ts:139
↓ 1 callers
Function
createPrerenderTemplate
(config: d.ValidatedConfig, templateHtml: string)
src/compiler/prerender/prerender-main.ts:262
↓ 1 callers
Function
createProgressBar
()
src/dev-server/client/progress.ts:119
↓ 1 callers
Method
createRegularExpressionValue
* Creates a new LocalValue object of regular expression value. * * @param {string} value - The value of the regular expression. * @returns {L
src/utils/local-value.ts:153
↓ 1 callers
Function
createRequireStatement
(importFnNames: string[], importPath: string)
src/compiler/transformers/transform-utils.ts:1105
↓ 1 callers
Method
createSVGPoint
()
src/mock-doc/element.ts:476
↓ 1 callers
Method
createSetValue
* Creates a new LocalValue object with the specified value. * @param {Set} value - The value to be set. * @returns {LocalValue} - The created Lo
src/utils/local-value.ts:162
↓ 1 callers
Method
createSpecialNumberValue
* Creates a new LocalValue object with a special number value. * * @param {number} value - The value of the special number. * @returns {Local
src/utils/local-value.ts:48
↓ 1 callers
Function
createStatesAddCall
* Create a `states.add()` call for initializing a custom state. * * Generates code like: * ```ts * this.internals.states.add('stateName'); * ```
src/compiler/transformers/component-native/attach-internals.ts:86
↓ 1 callers
Function
createStatesAddCall
* Create a `states.add()` call for initializing a custom state. * * Generates code like: * ```ts * this.internals.states.add('stateName'); * ```
src/compiler/transformers/component-lazy/attach-internals.ts:157
↓ 1 callers
Method
createStringValue
* Creates a new LocalValue object with a string value. * * @param {string} value - The string value to be stored in the LocalValue object. *
src/utils/local-value.ts:28
↓ 1 callers
Function
createStyleSheetIfNeededAndSupported
(styles: string)
src/utils/style.ts:10
↓ 1 callers
Method
createSymbolValue
* Creates a new LocalValue object with a Symbol value. * * @param {Symbol} symbol - The Symbol value * @returns {LocalValue} - The created Lo
src/utils/local-value.ts:182
↓ 1 callers
Function
createSysWorker
(config: d.ValidatedConfig)
src/compiler/sys/worker/sys-worker.ts:16
↓ 1 callers
Function
createTable
(rows: RowData[])
src/compiler/docs/readme/docs-util.ts:36
↓ 1 callers
Function
createTestRunner
()
src/testing/jest/jest-29/jest-runner.ts:54
↓ 1 callers
Function
createTesting
(config: ValidatedConfig)
src/testing/testing.ts:20
↓ 1 callers
Method
createUndefinedValue
* Creates a new LocalValue object with an undefined value. * @returns {LocalValue} - The created LocalValue object.
src/utils/local-value.ts:68
↓ 1 callers
Function
createWebSocket
( httpServer: Server, onMessageFromClient: (msg: d.DevServerMessage) => void, )
src/dev-server/server-web-socket.ts:7
↓ 1 callers
Function
createWindow
(html: string | boolean = null)
src/mock-doc/window.ts:804
↓ 1 callers
Function
cssCaseToJsCase
(str: string)
src/mock-doc/css-style-declaration.ts:83
↓ 1 callers
Function
cssSyntaxHighlight
(text: string)
src/sys/node/logger/terminal-logger.ts:457
↓ 1 callers
Function
customStatesToMarkdown
(customStates: d.JsonDocsCustomState[])
src/compiler/docs/readme/markdown-custom-states.ts:9
↓ 1 callers
Function
da
(a,b)
src/client/polyfills/dom.js:12
↓ 1 callers
Function
dashToPascalCase
(str: string)
src/mock-doc/dataset.ts:39
↓ 1 callers
Function
dataset
(elm: MockElement)
src/mock-doc/dataset.ts:3
↓ 1 callers
Method
dayClicked
(day: string)
test/end-to-end/src/state-cmp/state-cmp.tsx:21
↓ 1 callers
Function
decodeBase64Unicode
* Unicode-safe base64 decoding that handles characters outside Latin1 range. * Unlike atob(), this properly decodes Unicode characters including emoj
src/utils/serialize.ts:29
↓ 1 callers
Function
defaultConfigDirectory
(sys: d.CompilerSystem)
src/cli/ionic-config.ts:9
↓ 1 callers
Function
defaultHandler
()
src/dev-server/request-handler.ts:21
↓ 1 callers
Function
defineCustomElement
( tsSourceFile: ts.SourceFile, moduleFile: d.Module, transformOpts: d.TransformOptions, )
src/compiler/transformers/define-custom-element.ts:8
↓ 1 callers
Function
deriveJSXKey
(jsxElement: ts.JsxOpeningElement | ts.JsxSelfClosingElement)
src/compiler/transformers/automatic-key-insertion/utils.ts:29
↓ 1 callers
Function
destroy
()
src/testing/testing.ts:172
↓ 1 callers
Function
destroyWindow
(win: MockWindow, doc: Document, opts: HydrateFactoryOptions, results: HydrateResults)
src/hydrate/runner/render.ts:269
↓ 1 callers
Function
devNodeModuleResolveId
( config: d.ValidatedConfig, inMemoryFs: InMemoryFileSystem, resolvedId: ResolveIdResult, importee: st
src/compiler/bundle/dev-node-module-resolve.ts:9
↓ 1 callers
Function
disableTelemetry
(sys: d.CompilerSystem)
src/cli/telemetry/telemetry.ts:481
↓ 1 callers
Function
disconnectNode
(node: MockNode)
src/mock-doc/custom-element-registry.ts:209
↓ 1 callers
Function
dispatchHooks
(hostRef: d.HostRef, isInitialLoad: boolean)
src/runtime/update-component.ts:61
↓ 1 callers
Method
display
()
test/wdio/async-rerender/cmp.tsx:48
↓ 1 callers
Method
doQueue
()
src/runtime/test/queue.spec.tsx:12
↓ 1 callers
Function
duration
()
src/sys/node/logger/terminal-logger.ts:195
↓ 1 callers
Method
duration
()
src/declarations/stencil-public-compiler.ts:2338
← previous
next →
1,701–1,800 of 5,077, ranked by callers