Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/electron/electron
/ functions
Functions
8,444 in github.com/electron/electron
⨍
Functions
8,444
◇
Types & classes
1,728
↓ 332 callers
Method
on
( event: '-client-certificate-request-password', listener: (event: Event<ClientCertRequestParams>,
typings/internal-electron.d.ts:21
↓ 255 callers
Method
get
shell/browser/ui/inspectable_web_contents.cc:202
↓ 232 callers
Function
Get
shell/browser/preload_code_cache.cc:188
↓ 177 callers
Method
Set
shell/browser/api/electron_api_cookies.cc:368
↓ 135 callers
Method
get
shell/common/node_bindings.h:81
↓ 132 callers
Function
Create
shell/common/api/electron_api_url_loader.cc:187
↓ 132 callers
Method
Run
shell/browser/net/resolve_host_function.cc:46
↓ 129 callers
Function
setTimeout
(...args: Parameters<typeof globalThis.setTimeout>)
lib/common/timers-shim.ts:33
↓ 129 callers
Method
size
shell/browser/osr/osr_render_widget_host_view.h:255
↓ 126 callers
Method
reset
shell/common/node_bindings.h:91
↓ 125 callers
Method
GetHandle
shell/common/gin_helper/promise.cc:132
↓ 120 callers
Method
Get
static
shell/browser/api/electron_api_app.cc:1870
↓ 119 callers
Method
send
(channel: string, ...args: any[])
typings/internal-electron.d.ts:251
↓ 115 callers
Function
once
()
spec/cpp-heap-spec.ts:871
↓ 101 callers
Function
From
shell/renderer/preload_realm_context.cc:76
↓ 94 callers
Function
ConvertToV8
shell/common/gin_converters/std_converter.h:28
↓ 94 callers
Method
isolate
shell/browser/javascript_environment.cc:303
↓ 91 callers
Method
_linkedBinding
(name: string)
typings/internal-ambient.d.ts:283
↓ 86 callers
Method
SetMethod
shell/common/gin_helper/dictionary.h:131
↓ 85 callers
Method
close
(code?: number, reason?: string)
typings/internal-ambient.d.ts:133
↓ 81 callers
Method
IsEmpty
static
shell/browser/window_list.cc:41
↓ 79 callers
Method
ThrowError
shell/common/gin_helper/error_thrower.cc:19
↓ 76 callers
Method
Resolve
shell/common/gin_helper/promise.cc:122
↓ 72 callers
Method
RejectWithErrorMessage
shell/common/gin_helper/promise.cc:113
↓ 70 callers
Method
Reset
shell/browser/win/scoped_hstring.cc:25
↓ 69 callers
Method
once
(event: 'document-start', listener: () => any)
typings/internal-ambient.d.ts:335
↓ 63 callers
Method
parse
()
lib/renderer/web-view/web-view-attributes.ts:167
↓ 62 callers
Method
ThrowTypeError
shell/common/gin_helper/error_thrower.cc:23
↓ 60 callers
Method
size
shell/common/serialized_value.h:33
↓ 54 callers
Method
GetBrowserContext
shell/browser/api/electron_api_web_contents.cc:5248
↓ 48 callers
Method
destroy
()
typings/internal-electron.d.ts:139
↓ 47 callers
Method
Set
shell/common/gin_helper/dictionary.h:75
↓ 46 callers
Function
ifdescribe
(condition: boolean)
spec/lib/spec-helpers.ts:29
↓ 46 callers
Method
postMessage
(message: any)
typings/internal-electron.d.ts:440
↓ 45 callers
Method
GetWeakPtr
shell/browser/ui/win/notify_icon.h:78
↓ 45 callers
Method
is_valid
(platform)
script/lib/native_tests.py:75
↓ 44 callers
Method
Clone
shell/browser/api/electron_api_web_contents.cc:2900
↓ 43 callers
Method
Build
shell/common/gin_helper/object_template_builder.cc:30
↓ 42 callers
Method
is_ready
shell/browser/extensions/electron_extension_system.cc:174
↓ 40 callers
Method
GetWrapper
shell/common/gin_helper/wrappable.cc:47
↓ 38 callers
Method
data
shell/common/electron_xcache_main.cc:305
↓ 37 callers
Method
Get
shell/common/gin_helper/dictionary.h:44
↓ 36 callers
Method
defineProperty
()
lib/renderer/web-view/web-view-attributes.ts:46
↓ 35 callers
Method
IsEmpty
shell/common/gin_helper/handle.h:35
↓ 34 callers
Method
handle
(channel: string, listener: (event: IpcMainInternalInvokeEvent, ...args: any[]) => Promise<any> | any)
typings/internal-electron.d.ts:394
↓ 34 callers
Function
ifit
(condition: boolean)
spec/lib/spec-helpers.ts:28
↓ 32 callers
Function
MakeWrapperInfo
Constructs a gin::WrapperInfo from an ElectronWrappablePointerTag,
shell/common/gin_helper/wrappable_pointer_tags.h:53
↓ 32 callers
Method
setHeader
(name: string, value: string)
lib/common/api/net-client-request.ts:380
↓ 31 callers
Method
GetURL
shell/browser/api/electron_api_web_contents.cc:2927
↓ 31 callers
Method
invoke
(internal: boolean, channel: string, args: any[])
typings/internal-ambient.d.ts:36
↓ 31 callers
Method
isolate
shell/common/gin_helper/error_thrower.cc:13
↓ 31 callers
Method
kill
()
typings/internal-electron.d.ts:433
↓ 30 callers
Function
defer
(f: CleanupFunction)
spec/lib/spec-helpers.ts:49
↓ 29 callers
Method
Set
Sets the object to WeakMap with the given |key|.
shell/common/key_weak_map.h:32
↓ 28 callers
Function
FromID
shell/browser/api/electron_api_web_frame_main.cc:768
↓ 28 callers
Method
Run
Starts running a task. This function will return before the task is finished, but will resolve or reject the |promise| when it finishes.
shell/browser/api/electron_api_session.cc:209
↓ 28 callers
Function
done
(receivedUuid: string)
spec/api-context-bridge-spec.ts:1674
↓ 28 callers
Method
length
shell/common/electron_xcache_main.cc:306
↓ 28 callers
Function
listen
(server: http.Server | https.Server | http2.Http2SecureServer)
spec/lib/spec-helpers.ts:335
↓ 27 callers
Method
add
* * @param {string} frame * @param {number} [duration]
spec/lib/video-helpers.js:490
↓ 27 callers
Function
waitUntil
(callback: () => boolean | Promise<boolean>, opts: { rate?: number; timeout?: number } = {})
spec/lib/spec-helpers.ts:197
↓ 26 callers
Method
GetID
shell/browser/api/electron_api_base_window.h:280
↓ 24 callers
Method
GetPermissionControllerDelegate
shell/browser/electron_browser_context.cc:572
↓ 23 callers
Function
GetObjectTemplateBuilder
gin::Wrappable
shell/common/api/electron_api_url_loader.cc:198
↓ 23 callers
Method
GetWeakPtr
shell/browser/notifications/notification.h:108
↓ 22 callers
Method
Bind
shell/browser/net/url_loader_network_observer.cc:65
↓ 22 callers
Method
GetWidget
shell/browser/ui/inspectable_web_contents_view.cc:71
↓ 22 callers
Method
removeListener
( event: '-touch-bar-interaction', listener: (event: Event, itemID: string, details: any) => void
typings/internal-electron.d.ts:40
↓ 21 callers
Method
Emit
shell/browser/event_emitter_mixin.h:29
↓ 21 callers
Method
Get
static
shell/renderer/renderer_client_base.cc:200
↓ 21 callers
Method
GetView
shell/browser/osr/osr_web_contents_view.cc:206
↓ 20 callers
Method
AddObserver
shell/browser/api/electron_api_web_contents.h:395
↓ 20 callers
Method
Get
static
shell/browser/browser.cc:81
↓ 20 callers
Method
GetIsolate
static
shell/browser/javascript_environment.cc:308
↓ 20 callers
Method
get
shell/common/gin_helper/handle.h:44
↓ 20 callers
Method
remove
(id: string | string[])
typings/internal-ambient.d.ts:153
↓ 19 callers
Method
GetWeakPtr
shell/browser/native_window.h:296
↓ 19 callers
Method
Run
shell/common/callback_util.h:23
↓ 19 callers
Function
as_byte_span
* SAFETY: There is not yet any v8::ArrayBufferView API that passes the * UNSAFE_BUFFER_USAGE test, so let's isolate the unsafe API here. * * Where
shell/common/v8_util.cc:388
↓ 19 callers
Method
openDevTools
(options?: Electron.OpenDevToolsOptions)
typings/internal-electron.d.ts:252
↓ 18 callers
Method
RemoveObserver
shell/browser/api/electron_api_web_contents.h:398
↓ 17 callers
Method
Clear
shell/browser/api/electron_api_menu.cc:288
↓ 17 callers
Method
GetWeakPtr
shell/browser/api/electron_api_web_contents.h:195
↓ 17 callers
Function
closeWindow
( window: BaseWindow | null = null, { assertNotWindows } = { assertNotWindows: true } )
spec/lib/window-helpers.ts:38
↓ 17 callers
Method
release
(slot: Slot)
spec/lib/autoupdater-darwin-helpers.ts:131
↓ 17 callers
Method
requestGarbageCollectionForTesting
()
typings/internal-ambient.d.ts:48
↓ 17 callers
Function
setInterval
(...args: Parameters<typeof globalThis.setInterval>)
lib/common/timers-shim.ts:37
↓ 16 callers
Function
CallMethod
shell/common/gin_helper/event_emitter_caller.h:64
↓ 16 callers
Function
CreateHandle
shell/common/gin_helper/handle.h:54
↓ 16 callers
Method
Has
Resolves `true` iff `format_string` appears in the same aggregated MIME list `clipboard.read()` exposes. This means `has` is consistent with `read` fo
shell/browser/api/electron_api_clipboard.cc:237
↓ 16 callers
Function
cb
()
spec/index.js:320
↓ 16 callers
Function
fn
()
spec/api-ipc-spec.ts:389
↓ 16 callers
Method
getURL
()
typings/internal-electron.d.ts:250
↓ 16 callers
Function
startRemoteControlApp
(extraArgs: string[] = [], options?: childProcess.SpawnOptionsWithoutStdio)
spec/lib/spec-helpers.ts:106
↓ 15 callers
Function
FromV8WithLookup
shell/common/gin_converters/std_converter.h:240
↓ 15 callers
Method
IsWindowControlsOverlayEnabled
shell/browser/native_window.h:397
↓ 15 callers
Method
abort
()
lib/common/api/net-client-request.ts:531
↓ 15 callers
Method
start
()
typings/internal-electron.d.ts:438
↓ 14 callers
Method
GetNativeWindow
shell/browser/native_window_views.cc:1585
↓ 14 callers
Function
IsBrowserProcess
shell/common/api/electron_api_shared_texture.cc:41
next →
1–100 of 8,444, ranked by callers