Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/stenciljs/core
/ functions
Functions
5,077 in github.com/stenciljs/core
⨍
Functions
5,077
◇
Types & classes
2,101
↓ 1,146 callers
Method
querySelector
(selector: string)
src/mock-doc/node.ts:681
↓ 1,129 callers
Method
push
(ev: SerializedEvent)
src/testing/puppeteer/puppeteer-events.ts:111
↓ 962 callers
Function
e
(r)
src/client/polyfills/core-js.js:7
↓ 739 callers
Method
join
(...paths: string[])
src/declarations/stencil-public-compiler.ts:1394
↓ 615 callers
Function
join
(...paths: string[])
src/utils/path.ts:230
↓ 378 callers
Method
replace
(cssText: string)
src/runtime/styles.ts:327
↓ 368 callers
Method
createElement
(tagName: string)
src/mock-doc/document.ts:192
↓ 352 callers
Method
forEach
(cb: (value: string, key: string) => void)
src/mock-doc/headers.ts:57
↓ 333 callers
Function
newSpecPage
(opts: NewSpecPageOptions)
src/testing/spec-page.ts:44
↓ 331 callers
Function
h
(nodeName: any, vnodeData: any, ...children: d.ChildType[])
src/runtime/vdom/h.ts:18
↓ 317 callers
Method
toEqualHtml
* Compares HTML, but first normalizes the HTML so all * whitespace, attribute order and css class order are * the same. When given an el
src/declarations/stencil-private.ts:2291
↓ 306 callers
Function
normalizePath
(path: string, relativize = true)
src/utils/path.ts:12
↓ 303 callers
Function
validateConfig
( userConfig: UnvalidatedConfig = {}, bootstrapConfig: LoadConfigInit, )
src/compiler/config/validate-config.ts:69
↓ 273 callers
Method
getAttribute
* Returns the value of a specified attribute on the element. If the * given attribute does not exist, the value returned will be null.
src/testing/puppeteer/puppeteer-declarations.ts:276
↓ 267 callers
Method
get
(key: string)
src/declarations/stencil-private.ts:434
↓ 248 callers
Method
setAttribute
* Sets the value of an attribute on the specified element. If the * attribute already exists, the value is updated; otherwise a new * attribute
src/testing/puppeteer/puppeteer-declarations.ts:376
↓ 231 callers
Method
writeFile
* Does not throw.
src/declarations/stencil-public-compiler.ts:1371
↓ 225 callers
Method
appendChild
(newNode: MockNode)
src/mock-doc/node.ts:42
↓ 220 callers
Method
find
* Find an element that matches the selector, which is the same as * `document.querySelector(selector)`. Use `>>>` within the * selector to find
src/testing/puppeteer/puppeteer-declarations.ts:130
↓ 210 callers
Method
click
* Calling `click()` on an element scrolls it into view if needed, and * then uses `page.mouse` to click in the center of the element. * Please s
src/testing/puppeteer/puppeteer-declarations.ts:243
↓ 208 callers
Function
mockLoadConfigInit
(overrides?: Partial<d.LoadConfigInit>)
src/testing/mocks.ts:128
↓ 208 callers
Function
transpileModule
( input: string, config?: Partial<d.ValidatedConfig> | null, compilerCtx?: d.CompilerCtx | null, befor
src/compiler/transformers/test/transpile.ts:25
↓ 201 callers
Function
r
(a,b,d)
src/client/polyfills/dom.js:12
↓ 186 callers
Method
set
(key: string, value: any)
src/declarations/stencil-public-compiler.ts:2910
↓ 158 callers
Function
waitForChanges
(page: E2EPageInternal)
src/testing/puppeteer/puppeteer-page.ts:280
↓ 152 callers
Function
render
(vnode: d.VNode, container: Element)
src/runtime/render.ts:34
↓ 151 callers
Function
o
(t)
src/client/polyfills/core-js.js:7
↓ 142 callers
Function
r
(a,b,d)
test/wdio/slot-ng-if/assets/angular.min.js:7
↓ 130 callers
Function
patch
(oldVNode: d.VNode, newVNode: d.VNode, isInitialRender = false)
src/runtime/vdom/vdom-render.ts:701
↓ 123 callers
Function
stubComponentCompilerMeta
( overrides: Partial<d.ComponentCompilerMeta> = {}, )
src/compiler/types/tests/ComponentCompilerMeta.stub.ts:10
↓ 123 callers
Method
toString
()
src/declarations/stencil-private.ts:407
↓ 122 callers
Function
parseFlags
(args: string[])
src/cli/parse-flags.ts:24
↓ 119 callers
Function
mockValidatedConfig
(overrides: Partial<d.ValidatedConfig> = {})
src/testing/mocks.ts:25
↓ 119 callers
Function
setAccessor
( elm: d.RenderNode, memberName: string, oldValue: any, newValue: any, isSvg: boolean, flags: numb
src/runtime/vdom/set-accessor.ts:34
↓ 115 callers
Function
i
(t)
src/client/polyfills/core-js.js:7
↓ 111 callers
Method
resolve
(...pathSegments: string[])
src/declarations/stencil-public-compiler.ts:1395
↓ 109 callers
Method
error
(...msg: any[])
src/testing/testing-logger.ts:28
↓ 108 callers
Method
hasAttribute
(attrName: string)
src/mock-doc/node.ts:589
↓ 106 callers
Function
isString
(t: ts.Type)
src/compiler/transformers/decorators-to-static/prop-decorator.ts:341
↓ 103 callers
Method
parse
(p: string)
src/declarations/stencil-public-compiler.ts:1401
↓ 103 callers
Method
toHaveAttribute
* Checks if an element simply has the attribute. It does * not check any values of the attribute
src/declarations/stencil-private.ts:2314
↓ 102 callers
Method
has
(key: string)
src/declarations/stencil-private.ts:436
↓ 102 callers
Function
resolve
(...paths: string[])
src/utils/path.ts:251
↓ 101 callers
Function
testSuites
(root: HTMLTsTargetPropsElement)
test/wdio/ts-target/ts-target-props/cmp.test.tsx:14
↓ 96 callers
Function
a
(t)
src/client/polyfills/core-js.js:7
↓ 96 callers
Method
append
(...items: (MockNode | string)[])
src/mock-doc/node.ts:57
↓ 94 callers
Function
b
(a, b,c)
test/wdio/slot-ng-if/assets/angular.min.js:25
↓ 90 callers
Function
a
(b,c,d,f)
test/wdio/slot-ng-if/assets/angular.min.js:26
↓ 90 callers
Method
remove
()
src/mock-doc/node.ts:187
↓ 89 callers
Method
add
(...tokens: string[])
src/mock-doc/token-list.ts:7
↓ 89 callers
Function
formatCode
(code: string)
src/compiler/transformers/test/utils.ts:11
↓ 87 callers
Method
readFile
* Returns undefined if file is not found. Does not throw.
src/declarations/stencil-public-compiler.ts:1293
↓ 87 callers
Function
s
(cssText: string, scopeId: string, commentOriginalSelector = false)
src/utils/test/scope-css.spec.ts:30
↓ 86 callers
Method
info
(...msg: any[])
src/testing/testing-logger.ts:18
↓ 83 callers
Method
keys
()
src/mock-doc/headers.ts:84
↓ 82 callers
Function
newE2EPage
(opts: NewE2EPageOptions = {})
src/testing/puppeteer/puppeteer-page.ts:22
↓ 82 callers
Method
querySelectorAll
(selector: string)
src/mock-doc/node.ts:685
↓ 78 callers
Function
relative
(from: string, to: string)
src/utils/path.ts:207
↓ 75 callers
Method
on
(cb: (eventName: CompilerEventName, data: any) => void)
src/declarations/stencil-public-compiler.ts:1472
↓ 72 callers
Function
c
(a,b,c)
test/wdio/slot-ng-if/assets/angular.min.js:12
↓ 72 callers
Function
catchError
(diagnostics: d.Diagnostic[], err: Error | null | undefined, msg?: string)
src/utils/message-utils.ts:139
↓ 72 callers
Function
w
(a)
test/wdio/slot-ng-if/assets/angular.min.js:10
↓ 71 callers
Function
A
(a)
test/wdio/slot-ng-if/assets/angular.min.js:10
↓ 71 callers
Function
buildError
(diagnostics?: d.Diagnostic[])
src/utils/message-utils.ts:14
↓ 71 callers
Method
debug
(...msg: any[])
src/testing/testing-logger.ts:33
↓ 68 callers
Function
renderToString
( html: string | any, options?: SerializeDocumentOptions, asStream?: boolean, )
src/hydrate/runner/render.ts:35
↓ 65 callers
Method
emit
(eventName: CompilerEventName, path: string)
src/declarations/stencil-public-compiler.ts:1488
↓ 64 callers
Function
u
(t)
src/client/polyfills/core-js.js:7
↓ 63 callers
Function
d
(c,d)
test/wdio/slot-ng-if/assets/angular.min.js:39
↓ 63 callers
Method
getText
()
src/runtime/test/fixtures/cmp-a.tsx:106
↓ 61 callers
Function
B
(a)
test/wdio/slot-ng-if/assets/angular.min.js:11
↓ 59 callers
Method
assign
(_url: string)
src/mock-doc/location.ts:33
↓ 59 callers
Method
commit
()
src/declarations/stencil-private.ts:438
↓ 58 callers
Function
getStaticGetter
(stringifiedJs: string, propertyName: string)
src/compiler/transformers/test/transpile.ts:215
↓ 58 callers
Function
parsePropertyValue
(propValue: unknown, propType: number, isFormAssociated?: boolean)
src/runtime/parse-property-value.ts:31
↓ 57 callers
Method
waitForChanges
* Both Stencil and Puppeteer have an asynchronous architecture, which is a good thing * for performance. Since all calls are async, it's required t
src/testing/puppeteer/puppeteer-declarations.ts:174
↓ 55 callers
Function
e
(a,b)
test/wdio/slot-ng-if/assets/angular.min.js:13
↓ 53 callers
Function
setupIFrameTest
(htmlFile: string, id?: string)
test/wdio/util.ts:15
↓ 50 callers
Method
accessSync
* SYNC! Always returns a boolean, does not throw.
src/declarations/stencil-public-compiler.ts:1163
↓ 50 callers
Function
c
(t)
src/client/polyfills/core-js.js:7
↓ 50 callers
Function
f
(a)
test/wdio/slot-ng-if/assets/angular.min.js:13
↓ 50 callers
Method
stat
* Always returns an object. Does not throw. Check for "error" property if there's an error.
src/declarations/stencil-public-compiler.ts:1339
↓ 49 callers
Function
D
(a)
test/wdio/slot-ng-if/assets/angular.min.js:10
↓ 49 callers
Method
dispatchEvent
(ev: MockEvent)
src/mock-doc/node.ts:217
↓ 49 callers
Function
f
(t)
src/client/polyfills/core-js.js:7
↓ 49 callers
Method
getComputedStyle
* Returns an object that reports the values of all CSS properties of this * element after applying active stylesheets and resolving any basic compu
src/testing/puppeteer/puppeteer-declarations.ts:292
↓ 48 callers
Function
C
(a)
test/wdio/slot-ng-if/assets/angular.min.js:10
↓ 48 callers
Method
now
()
src/mock-doc/performance.ts:67
↓ 47 callers
Method
contains
(otherNode: MockNode)
src/mock-doc/node.ts:153
↓ 47 callers
Function
setTimeout
* Set delayed compilation, so that multiple changes in short span are compiled together * @param callback a callback to invoke upon the completio
src/compiler/transpile/create-build-program.ts:55
↓ 45 callers
Function
createConfigFlags
(init: Partial<ConfigFlags> = {})
src/cli/config-flags.ts:356
↓ 44 callers
Function
x
(a)
test/wdio/slot-ng-if/assets/angular.min.js:115
↓ 42 callers
Function
H
(a)
test/wdio/slot-ng-if/assets/angular.min.js:11
↓ 42 callers
Function
h
(t)
src/client/polyfills/core-js.js:7
↓ 42 callers
Function
serializeNodeToHtml
(elm: Node | MockNode, serializationOptions: SerializeNodeToHtmlOptions = {})
src/mock-doc/serialize-node.ts:56
↓ 40 callers
Method
exit
* process.exit()
src/declarations/stencil-public-compiler.ts:1222
↓ 40 callers
Method
readFileSync
* SYNC! Returns undefined if file is not found. Does not throw.
src/declarations/stencil-public-compiler.ts:1299
↓ 39 callers
Method
addEventListener
(type: K, listener: (this: HTMLExtendsLocalElement, ev: ExtendsLocalCustomEvent<HTMLExtendsLocalElementEventMa
test/wdio/ts-target/components.d.ts:655
↓ 39 callers
Method
delete
(key: string)
src/mock-doc/headers.ts:28
↓ 39 callers
Function
p
()
src/client/polyfills/core-js.js:7
next →
1–100 of 5,077, ranked by callers