Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/a1076559139/XForge
/ functions
Functions
1,145 in github.com/a1076559139/XForge
⨍
Functions
1,145
◇
Types & classes
767
Method
insertText
* Inserts `text` to the focused element.
extensions/app/engine/@types/electron.d.ts:10808
Method
insertText
* Inserts `text` to the focused element.
extensions/app/engine/@types/electron.d.ts:11391
Method
inspectElement
* Starts inspecting element at position (`x`, `y`) of guest page.
extensions/app/engine/@types/electron.d.ts:11395
Method
inspectServiceWorker
* Opens the DevTools for the service worker context present in the guest page.
extensions/app/engine/@types/electron.d.ts:11399
Method
inspectSharedWorker
* Opens the DevTools for the shared worker context present in the guest page.
extensions/app/engine/@types/electron.d.ts:11403
Method
inst
()
assets/app/app.ts:9
Method
inst
()
extensions/app/assets/Core.ts:85
Method
inst
()
extensions/app/assets/base/BaseControl.ts:172
Method
inst
* 控制器单例 * - 尽量使用app.controller,可以避免因跨Bundle引用导致的问题,也可以避免Controller之间循环引用的问题
extensions/app/assets/base/BaseController.ts:202
Method
inst
()
extensions/app/assets/manager/sound/AudioEngine.ts:7
Method
inst
()
extensions/app/assets/manager/sound/AudioManager.ts:5
Method
interceptBufferProtocol
* Whether the protocol was successfully intercepted * * Intercepts `scheme` protocol and uses `handler` as the protocol's new handler *
extensions/app/engine/@types/electron.d.ts:6226
Method
interceptFileProtocol
* Whether the protocol was successfully intercepted * * Intercepts `scheme` protocol and uses `handler` as the protocol's new handler *
extensions/app/engine/@types/electron.d.ts:6233
Method
interceptHttpProtocol
* Whether the protocol was successfully intercepted * * Intercepts `scheme` protocol and uses `handler` as the protocol's new handler *
extensions/app/engine/@types/electron.d.ts:6240
Method
interceptStreamProtocol
* Whether the protocol was successfully intercepted * * Same as `protocol.registerStreamProtocol`, except that it replaces an existing
extensions/app/engine/@types/electron.d.ts:6247
Method
interceptStringProtocol
* Whether the protocol was successfully intercepted * * Intercepts `scheme` protocol and uses `handler` as the protocol's new handler *
extensions/app/engine/@types/electron.d.ts:6254
Method
invalidateCurrentActivity
* Invalidates the current Handoff user activity. * * @platform darwin
extensions/app/engine/@types/electron.d.ts:1045
Method
invoke
* Resolves with the response from the main process. * * Send a message to the main process via `channel` and expect a result * asynchro
extensions/app/engine/@types/electron.d.ts:4947
Method
is2D
()
extensions/app/assets/base/BaseView.ts:217
Method
isAccessibilitySupportEnabled
* `true` if Chrome's accessibility support is enabled, `false` otherwise. This API * will return `true` if the use of assistive technologies, suc
extensions/app/engine/@types/electron.d.ts:1055
Method
isAeroGlassEnabled
* `true` if DWM composition (Aero Glass) is enabled, and `false` otherwise. * * An example of using it to determine if you should create a t
extensions/app/engine/@types/electron.d.ts:7798
Method
isAudioMuted
* Whether guest page has been muted.
extensions/app/engine/@types/electron.d.ts:11407
Method
isCaptureFocus
* 是否捕获焦点
extensions/app/assets/base/BaseView.ts:400
Method
isCrashed
* Whether the renderer process has crashed.
extensions/app/engine/@types/electron.d.ts:11411
Method
isCurrentlyAudible
* Whether audio is currently playing.
extensions/app/engine/@types/electron.d.ts:11415
Method
isDarkMode
* Whether the system is in Dark Mode. * **Deprecated:** Should use the new `nativeTheme.shouldUseDarkColors` API. * * @deprecated
extensions/app/engine/@types/electron.d.ts:7807
Method
isDefaultProtocolClient
* Whether the current executable is the default handler for a protocol (aka URI * scheme). * * **Note:** On macOS, you can use this met
extensions/app/engine/@types/electron.d.ts:1068
Method
isDevToolsFocused
* Whether DevTools window of guest page is focused.
extensions/app/engine/@types/electron.d.ts:11419
Method
isDevToolsOpened
* Whether guest page has a DevTools window attached.
extensions/app/engine/@types/electron.d.ts:11423
Method
isEffectMute
* 音效是否静音
extensions/app/assets/manager/sound/SoundManager.ts:680
Method
isEmojiPanelSupported
* whether or not the current OS version allows for native emoji pickers.
extensions/app/engine/@types/electron.d.ts:1072
Method
isHighContrastColorScheme
* `true` if a high contrast theme is active, `false` otherwise. * * **Deprecated:** Should use the new `nativeTheme.shouldUseHighContrastCol
extensions/app/engine/@types/electron.d.ts:7817
Method
isInApplicationsFolder
* Whether the application is currently running from the systems Application * folder. Use in combination with `app.moveToApplicationsFolder()`
extensions/app/engine/@types/electron.d.ts:1079
Method
isInvertedColorScheme
* `true` if an inverted color scheme (a high contrast color scheme with light text * and dark backgrounds) is active, `false` otherwise. *
extensions/app/engine/@types/electron.d.ts:7828
Method
isLoading
* Whether guest page is still loading resources.
extensions/app/engine/@types/electron.d.ts:11427
Method
isLoadingMainFrame
* Whether the main frame (and not just iframes or frames within it) is still * loading.
extensions/app/engine/@types/electron.d.ts:11432
Method
isMiniViewShow
* 是否show了某个子界面
extensions/app/assets/base/BaseView.ts:421
Method
isMusicMute
* 音乐是否静音
extensions/app/assets/manager/sound/SoundManager.ts:663
Method
isMusicPaused
* 音乐是否暂停
extensions/app/assets/manager/sound/SoundManager.ts:656
Method
isMusicPlaying
* 音乐是否正在播放
extensions/app/assets/manager/sound/SoundManager.ts:649
Method
isNeedShade
* 是否需要遮罩
extensions/app/assets/base/BaseView.ts:407
Method
isOnBatteryPower
* Whether the system is on battery power. * * To monitor for changes in this property, use the `on-battery` and `on-ac` * events.
extensions/app/engine/@types/electron.d.ts:6031
Method
isOnline
* Whether there is currently internet connection. * * A return value of `false` is a pretty strong indicator that the user won't be * a
extensions/app/engine/@types/electron.d.ts:5662
Method
isPop
(name: string)
extensions/app/assets/base/BaseView.ts:176
Method
isProtocolIntercepted
* Whether `scheme` is already intercepted.
extensions/app/engine/@types/electron.d.ts:6258
Method
isProtocolRegistered
* Whether `scheme` is already registered.
extensions/app/engine/@types/electron.d.ts:6262
Method
isReady
* `true` if Electron has finished initializing, `false` otherwise. See also * `app.whenReady()`.
extensions/app/engine/@types/electron.d.ts:1084
Method
isRegistered
* Whether this application has registered `accelerator`. * * When the accelerator is already taken by other applications, this call will
extensions/app/engine/@types/electron.d.ts:4544
Method
isRunning
* 是否正在执行 * @returns
extensions/app/assets/lib/task/task.ts:91
Method
isRunning
* 是否正在执行 * @returns
extensions/app/assets/lib/task/task.ts:250
Method
isRunning
* 是否正在执行 * @returns
extensions/app/assets/lib/task/task.ts:379
Method
isSecureKeyboardEntryEnabled
* whether `Secure Keyboard Entry` is enabled. * By default this API will return `false`. * * @platform darwin
extensions/app/engine/@types/electron.d.ts:1092
Method
isSelectNode
(uuid: string)
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:669
Method
isShow
* 是否展示了(不为Hid状态)
extensions/app/assets/base/BaseView.ts:414
Method
isShow
* 是否展示了(包括加载中和队列中)
extensions/app/assets/manager/ui/UIManager.ts:1152
Method
isSingleton
* 是否是单例模式
extensions/app/assets/base/BaseView.ts:393
Method
isStarted
* Whether the corresponding `powerSaveBlocker` has started.
extensions/app/engine/@types/electron.d.ts:6047
Method
isStop
* @deprecated * @returns
extensions/app/assets/lib/task/task.ts:99
Method
isStop
* @deprecated * @returns
extensions/app/assets/lib/task/task.ts:258
Method
isStop
* @deprecated * @returns
extensions/app/assets/lib/task/task.ts:387
Method
isSwipeTrackingFromScrollEventsEnabled
* Whether the Swipe between pages setting is on. * * @platform darwin
extensions/app/engine/@types/electron.d.ts:7834
Method
isTop
(name: string)
extensions/app/assets/base/BaseView.ts:180
Method
isTrustedAccessibilityClient
* `true` if the current process is a trusted accessibility client and `false` if * it is not. * * @platform darwin
extensions/app/engine/@types/electron.d.ts:7841
Method
isUnityRunning
* Whether the current desktop environment is Unity launcher. * * @platform linux
extensions/app/engine/@types/electron.d.ts:1098
Method
isWaitingForResponse
* Whether the guest page is waiting for a first-response for the main resource of * the page.
extensions/app/engine/@types/electron.d.ts:11437
Method
isWordMisspelled
* True if the word is misspelled according to the built in spellchecker, false * otherwise. If no dictionary is loaded, always return false.
extensions/app/engine/@types/electron.d.ts:10813
Method
linkPrefab
(nodeUuid: string, assetUuid: string)
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:691
Function
load
()
extensions/app/engine/src/scene.ts:4
Function
load
()
extensions/app/engine/src/main.ts:555
Method
loadAsync
* 加载bundle下的资源 * @param params.bundle 默认为resources, 可以是项目中的bundle名,也可以是远程bundle的url(url末位作为bundle名),参考https://docs.cocos.com/creator/manual/zh/as
extensions/app/assets/manager/loader/LoaderManager.ts:118
Method
loadAsync
* 加载bundle下的资源 * @param params.bundle 默认为resources, 可以是项目中的bundle名,也可以是远程bundle的url(url末位作为bundle名),参考https://docs.cocos.com/creator/manual/zh/as
extensions/app/assets/manager/loader/LoaderManager.ts:507
Method
loadBundleAsync
* 加载一个bundle * @param params.bundle 默认为resources, 可以是项目中的bundle名,也可以是远程bundle的url(url末位作为bundle名),参考https://docs.cocos.com/creator/manual/zh/asse
extensions/app/assets/manager/loader/LoaderManager.ts:626
Method
loadDirAsync
* 加载bundle下的资源 * @param params.bundle 默认为resources, 可以是项目中的bundle名,也可以是远程bundle的url(url末位作为bundle名),参考https://docs.cocos.com/creator/manual/zh/as
extensions/app/assets/manager/loader/LoaderManager.ts:201
Method
loadDirAsync
* 加载bundle下的资源 * @param params.bundle 默认为resources, 可以是项目中的bundle名,也可以是远程bundle的url(url末位作为bundle名),参考https://docs.cocos.com/creator/manual/zh/as
extensions/app/assets/manager/loader/LoaderManager.ts:534
Method
loadRemoteAsync
* 加载远程资源 * @example * await loadRemoteAsync({url:'', ext:'.png'})
extensions/app/assets/manager/loader/LoaderManager.ts:265
Method
loadRemoteAsync
* 加载远程资源 * @example * await loadRemoteAsync({url:'', ext:'.png'})
extensions/app/assets/manager/loader/LoaderManager.ts:742
Method
loadRes
* 加载ui内部资源
extensions/app/assets/manager/ui/UIManager.ts:669
Method
loadResDir
* 加载UI目录下resources里面的资源 * @param path 相对于resources的路径 * @param callback 回调 * this.loadResDir('Bag', Prefab, function(asset){})
extensions/app/assets/base/BaseView.ts:866
Method
loadResDir
* 加载ui内部资源
extensions/app/assets/manager/ui/UIManager.ts:722
Method
loadScript
(uuid: string)
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:659
Method
loadURL
* The promise will resolve when the page has finished loading (see * `did-finish-load`), and rejects if the page fails to load (see `did-fail-loa
extensions/app/engine/@types/electron.d.ts:11445
Method
log
* 用于输出一般信息
extensions/app/assets/lib/logger/logger.ts:41
Method
log
打印日志
extensions/app/assets/base/BaseController.ts:169
Method
log
打印日志
extensions/app/assets/base/BaseManager.ts:104
Method
managerName
()
extensions/app/assets/base/BaseManager.ts:39
Method
mixin
(mixin: VueConstructor | ComponentOptions<Vue>)
extensions/app/vue/types/vue.d.ts:116
Method
mounted
()
extensions/app/vue/types/options.d.ts:94
Method
moveNodeArrayElement
* 移动数组类型 property 内的某个 item 的位置 * @param options
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:157
Method
moveToApplicationsFolder
* Whether the move was successful. Please note that if the move is successful, * your application will quit and relaunch. * * No confir
extensions/app/engine/@types/electron.d.ts:1131
Method
mozCancelAnimationFrame
(callback: any, element?: any)
extensions/app/engine/@types/packages/localization-editor/@types/globals.d.ts:50
Method
mozCancelRequestAnimationFrame
(callback: any, element?: any)
extensions/app/engine/@types/packages/localization-editor/@types/globals.d.ts:46
Method
mozRequestAnimationFrame
(callback: any, element?: any)
extensions/app/engine/@types/packages/localization-editor/@types/globals.d.ts:41
Method
msCancelAnimationFrame
(callback: any, element?: any)
extensions/app/engine/@types/packages/localization-editor/@types/globals.d.ts:49
Method
msCancelRequestAnimationFrame
(callback: any, element?: any)
extensions/app/engine/@types/packages/localization-editor/@types/globals.d.ts:45
Method
msRequestAnimationFrame
(callback: any, element?: any)
extensions/app/engine/@types/packages/localization-editor/@types/globals.d.ts:43
Method
musicVolumeScale
* 音乐音量倍率
extensions/app/assets/manager/sound/SoundManager.ts:697
Method
next
(error: string)
extensions/app/assets/base/BaseView.ts:707
Function
nextInit
* [避免重写] 初始化下一步,用户部分每完成一步需要调用一次
extensions/app/assets/base/BaseAppInit.ts:224
Method
nextTick
(callback: (this: T) => void, context?: T)
extensions/app/vue/types/vue.d.ts:92
Method
oCancelRequestAnimationFrame
(callback: any, element?: any)
extensions/app/engine/@types/packages/localization-editor/@types/globals.d.ts:47
← previous
next →
601–700 of 1,145, ranked by callers