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
getAccentColor
* The users current system wide accent color preference in RGBA hexadecimal form. * This API is only available on macOS 10.14 Mojave or newer.
extensions/app/engine/@types/electron.d.ts:7704
Method
getAllDisplays
* An array of displays that are currently available.
extensions/app/engine/@types/electron.d.ts:6602
Method
getAnimationSettings
* * `shouldRenderRichAnimation` Boolean - Returns true if rich animations should * be rendered. Looks at session type (e.g. remote desktop) and a
extensions/app/engine/@types/electron.d.ts:7716
Method
getAppLevelAppearance
* | `null` - Can be `dark`, `light` or `unknown`. * * Gets the macOS appearance setting that you have declared you want for your * appl
extensions/app/engine/@types/electron.d.ts:7727
Method
getAppMetrics
* Array of `ProcessMetric` objects that correspond to memory and CPU usage * statistics of all the processes associated with the app.
extensions/app/engine/@types/electron.d.ts:875
Method
getAppPath
* The current application directory.
extensions/app/engine/@types/electron.d.ts:879
Method
getApplicationInfoForProtocol
* Resolve with an object containing the following: * * * `icon` NativeImage - the display icon of the app handling the protocol. * * `p
extensions/app/engine/@types/electron.d.ts:859
Method
getApplicationNameForProtocol
* Name of the application handling the protocol, or an empty string if there is no * handler. For instance, if Electron is the default handler of
extensions/app/engine/@types/electron.d.ts:870
Method
getBadgeCount
* The current value displayed in the counter badge. * * @platform linux,darwin
extensions/app/engine/@types/electron.d.ts:885
Method
getBlinkMemoryInfo
* * `allocated` Integer - Size of all allocated objects in Kilobytes. * * `marked` Integer - Size of all marked objects in Kilobytes. * * `t
extensions/app/engine/@types/electron.d.ts:15904
Method
getCPUUsage
()
extensions/app/engine/@types/electron.d.ts:15905
Method
getCameraProperty
()
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:528
Method
getCameraWanderSpeed
()
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:532
Method
getCameraWheelSpeed
()
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:530
Method
getCategories
* resolves with an array of category groups once all child processes have * acknowledged the `getCategories` request * * Get a set of c
extensions/app/engine/@types/electron.d.ts:3418
Method
getColor
* The system color setting in RGB hexadecimal form (`#ABCDEF`). See the Windows * docs and the macOS docs for more details. * * The fol
extensions/app/engine/@types/electron.d.ts:7739
Method
getCreationTime
* The number of milliseconds since epoch, or `null` if the information is * unavailable * * Indicates the creation time of the applica
extensions/app/engine/@types/electron.d.ts:15914
Method
getCurrentActivityType
* The type of the currently running activity. * * @platform darwin
extensions/app/engine/@types/electron.d.ts:891
Method
getCurrentWebContents
* The web contents of this web page.
extensions/app/engine/@types/electron.d.ts:6512
Method
getCurrentWindow
* The window to which this web page belongs. * * **Note:** Do not use `removeAllListeners` on `BrowserWindow`. Use of this can * remove
extensions/app/engine/@types/electron.d.ts:6520
Method
getCursorScreenPoint
* The current absolute position of the mouse pointer. * **Note:** The return value is a DIP point, not a screen physical point.
extensions/app/engine/@types/electron.d.ts:6608
Method
getDisplayMatching
* The display that most closely intersects the provided bounds.
extensions/app/engine/@types/electron.d.ts:6612
Method
getDisplayNearestPoint
* The display nearest the specified point.
extensions/app/engine/@types/electron.d.ts:6616
Method
getEffectMute
(id: number)
extensions/app/assets/manager/sound/AudioEngine.ts:88
Method
getEffectiveAppearance
* Can be `dark`, `light` or `unknown`. * * Gets the macOS appearance setting that is currently applied to your application, * maps to N
extensions/app/engine/@types/electron.d.ts:7748
Method
getFeedURL
* The current update feed URL.
extensions/app/engine/@types/electron.d.ts:1624
Method
getFileIcon
* fulfilled with the app's icon, which is a NativeImage. * * Fetches a path's associated icon. * * On _Windows_, there a 2 kinds o
extensions/app/engine/@types/electron.d.ts:905
Function
getFilesBySameNameDiffMD5
(dir: string)
extensions/app/engine/src/builder/utils/file.ts:188
Method
getFrameForSelector
* The frame element in `webFrame's` document selected by `selector`, `null` would * be returned if `selector` does not select a frame or if the f
extensions/app/engine/@types/electron.d.ts:10769
Method
getGPUFeatureStatus
* The Graphics Feature Status from `chrome://gpu/`. * * **Note:** This information is only usable after the `gpu-info-update` event is
extensions/app/engine/@types/electron.d.ts:912
Method
getGPUInfo
* For `infoType` equal to `complete`: Promise is fulfilled with `Object` * containing all the GPU Information as in chromium's GPUInfo object. Th
extensions/app/engine/@types/electron.d.ts:925
Method
getGlobal
* The global variable of `name` (e.g. `global[name]`) in the main process.
extensions/app/engine/@types/electron.d.ts:6524
Method
getHeapStatistics
* * `totalHeapSize` Integer * * `totalHeapSizeExecutable` Integer * * `totalPhysicalSize` Integer * * `totalAvailableSize` Integer
extensions/app/engine/@types/electron.d.ts:15929
Method
getIOCounters
()
extensions/app/engine/@types/electron.d.ts:15930
Method
getJumpListSettings
* * `minItems` Integer - The minimum number of items that will be shown in the * Jump List (for a more detailed description of this value see the
extensions/app/engine/@types/electron.d.ts:937
Method
getLastCrashReport
* The date and ID of the last crash report. Only crash reports that have been * uploaded will be returned; even if a crash report is present on d
extensions/app/engine/@types/electron.d.ts:3667
Method
getLocale
* The current application locale, fetched using Chromium's `l10n_util` library. * Possible return values are documented here. * * To se
extensions/app/engine/@types/electron.d.ts:950
Method
getLocaleCountryCode
* User operating system's locale two-letter ISO 3166 country code. The value is * taken from native OS APIs. * **Note:** When unable to det
extensions/app/engine/@types/electron.d.ts:957
Method
getLoginItemSettings
* If you provided `path` and `args` options to `app.setLoginItemSettings`, then * you need to pass the same arguments here for `openAtLogin` to b
extensions/app/engine/@types/electron.d.ts:992
Method
getLoop
()
extensions/app/assets/manager/sound/Audio.ts:111
Method
getMediaAccessStatus
* Can be `not-determined`, `granted`, `denied`, `restricted` or `unknown`. * * This user consent was not required on macOS 10.13 High Sierra
extensions/app/engine/@types/electron.d.ts:7763
Method
getName
* The current application's name, which is the name in the application's * `package.json` file. * * Usually the `name` field of `packag
extensions/app/engine/@types/electron.d.ts:1002
Method
getParameters
* The current 'extra' parameters of the crash reporter.
extensions/app/engine/@types/electron.d.ts:3671
Method
getPath
* A path to a special directory or file associated with `name`. On failure, an * `Error` is thrown. * * If `app.getPath('logs')` is cal
extensions/app/engine/@types/electron.d.ts:1011
Method
getPrefabData
(uuid: string)
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:690
Method
getPrimaryDisplay
* The primary display.
extensions/app/engine/@types/electron.d.ts:6620
Method
getProcessMemoryInfo
* Resolves with a ProcessMemoryInfo * * Returns an object giving memory usage statistics about the current process. Note * that all st
extensions/app/engine/@types/electron.d.ts:15944
Method
getProducts
* Resolves with an array of `Product` objects. * Retrieves the product descriptions.
extensions/app/engine/@types/electron.d.ts:4675
Function
getProjectPath
()
extensions/app/engine/src/utils.ts:76
Method
getReceiptURL
* the path to the receipt.
extensions/app/engine/@types/electron.d.ts:4679
Function
getResJson
(name: 'builder')
extensions/app/engine/src/utils.ts:4
Method
getResourceUsage
* * `images` MemoryUsageDetails * * `scripts` MemoryUsageDetails * * `cssStyleSheets` MemoryUsageDetails * * `xslStyleSheets` MemoryUsa
extensions/app/engine/@types/electron.d.ts:10783
Method
getSources
* Resolves with an array of `DesktopCapturerSource` objects, each * `DesktopCapturerSource` represents a screen or an individual window that can
extensions/app/engine/@types/electron.d.ts:3863
Method
getSystemColor
* The standard system color formatted as `#RRGGBBAA`. * * Returns one of several standard system colors that automatically adapt to * v
extensions/app/engine/@types/electron.d.ts:7773
Method
getSystemIdleState
* The system's current state. Can be `active`, `idle`, `locked` or `unknown`. * * Calculate the system idle state. `idleThreshold` is the am
extensions/app/engine/@types/electron.d.ts:6018
Method
getSystemIdleTime
* Idle time in seconds Calculate system idle time in seconds.
extensions/app/engine/@types/electron.d.ts:6024
Method
getSystemMemoryInfo
* * `total` Integer - The total amount of physical memory in Kilobytes available * to the system. * * `free` Integer - The total amount of m
extensions/app/engine/@types/electron.d.ts:15958
Method
getSystemVersion
* The version of the host operating system. * * Example: * * **Note:** It returns the actual operating system version instead of
extensions/app/engine/@types/electron.d.ts:15967
Method
getTitle
* The title of guest page.
extensions/app/engine/@types/electron.d.ts:11343
Method
getTraceBufferUsage
* Resolves with an object containing the `value` and `percentage` of trace buffer * maximum usage * * * `value` Number * * `percen
extensions/app/engine/@types/electron.d.ts:3429
Method
getUploadToServer
* Whether reports should be submitted to the server. Set through the `start` * method or `setUploadToServer`. * **Note:** This method is on
extensions/app/engine/@types/electron.d.ts:3685
Method
getUploadedReports
* Returns all uploaded crash reports. Each report contains the date and uploaded * ID. **Note:** This method is only available in the main proce
extensions/app/engine/@types/electron.d.ts:3678
Method
getUserAgent
* The user agent for guest page.
extensions/app/engine/@types/electron.d.ts:11351
Function
getUserAssetNum
* [可以重写] 获得用户资源总量,这里返回几,就需要用户自行调用几次nextInit
extensions/app/assets/base/BaseAppInit.ts:257
Method
getUserDefault
* The value of `key` in `NSUserDefaults`. * * Some popular `key` and `type`s are: * * * `AppleInterfaceStyle`: `string` * * `
extensions/app/engine/@types/electron.d.ts:7789
Method
getVersion
* The version of the loaded application. If no version is found in the * application's `package.json` file, the version of the current bundle or
extensions/app/engine/@types/electron.d.ts:1017
Method
getVolume
()
extensions/app/assets/manager/sound/Audio.ts:92
Method
getVolumeScale
()
extensions/app/assets/manager/sound/Audio.ts:102
Method
getWebContentsId
* The WebContents ID of this `webview`.
extensions/app/engine/@types/electron.d.ts:11355
Method
getWordSuggestions
* A list of suggested words for a given word. If the word is spelled correctly, * the result will be empty.
extensions/app/engine/@types/electron.d.ts:10788
Method
getZoomFactor
* The current zoom factor.
extensions/app/engine/@types/electron.d.ts:10792
Method
getZoomFactor
* the current zoom factor.
extensions/app/engine/@types/electron.d.ts:11359
Method
getZoomLevel
* The current zoom level.
extensions/app/engine/@types/electron.d.ts:10796
Method
getZoomLevel
* the current zoom level.
extensions/app/engine/@types/electron.d.ts:11363
Method
goBack
* Makes the guest page go back.
extensions/app/engine/@types/electron.d.ts:11367
Method
goForward
* Makes the guest page go forward.
extensions/app/engine/@types/electron.d.ts:11371
Method
goToIndex
* Navigates to the specified absolute index.
extensions/app/engine/@types/electron.d.ts:11375
Method
goToOffset
* Navigates to the specified offset from the "current entry".
extensions/app/engine/@types/electron.d.ts:11379
Method
handle
* Adds a handler for an `invoke`able IPC. This handler will be called whenever a * renderer calls `ipcRenderer.invoke(channel, ...args)`. *
extensions/app/engine/@types/electron.d.ts:4825
Method
handleOnce
* Handles a single `invoke`able IPC message, then removes the listener. See * `ipcMain.handle(channel, listener)`.
extensions/app/engine/@types/electron.d.ts:4830
Method
hang
* Causes the main thread of the current process hang.
extensions/app/engine/@types/electron.d.ts:15971
Method
hasSingleInstanceLock
* This method returns whether or not this instance of your app is currently * holding the single instance lock. You can request the lock with
extensions/app/engine/@types/electron.d.ts:1024
Function
hide
()
extensions/app/engine/src/panel/index.ts:16
Method
hide
( //@ts-ignore data?: Parameters<this['onHide']>[0], onHide?: IHideParamOnHide)
extensions/app/assets/base/BaseView.ts:771
Method
hide
* 关闭View * - 此流程一定是同步的
extensions/app/assets/manager/ui/UIManager.ts:1351
Method
hideAll
* 关闭全部View * - 不关闭展示中的Page(加载中的会停止) * - 此流程一定是同步的
extensions/app/assets/manager/ui/UIManager.ts:1450
Method
hideEvent
()
extensions/app/assets/base/BaseView.ts:236
Method
hideMiniViews
* 关闭子界面
extensions/app/assets/base/BaseView.ts:510
Method
importCertificate
* Imports the certificate in pkcs12 format into the platform certificate store. * `callback` is called with the `result` of import operation, a v
extensions/app/engine/@types/electron.d.ts:1039
Method
init
* [无序] 初始化manager,在初始化完成后,调用finish方法 * @param {Function} finish
extensions/app/assets/base/BaseManager.ts:95
Method
init
(finish: Function)
extensions/app/assets/manager/sound/SoundManager.ts:91
Method
init
(finish: Function)
extensions/app/assets/manager/ui/UIManager.ts:260
Method
init
()
extensions/app/assets/manager/ui/comp/UIMgrLoading.ts:27
Method
init
(title: string)
extensions/app/assets/manager/ui/comp/UIMgrToastCell.ts:11
Method
init
(delay: number, begin: number, end: number, speed: number, blur: boolean)
extensions/app/assets/manager/ui/comp/UIMgrShade.ts:60
Method
init
()
extensions/app/engine/@types/packages/scene/@types/scene-facade-interface.d.ts:22
Function
innerFinished
* [不可重写] 用于内部初始化完成
extensions/app/assets/base/BaseAppInit.ts:158
Function
innerNextInit
* [不可重写] 用于内部初始化
extensions/app/assets/base/BaseAppInit.ts:214
Method
insertCSS
* A key for the inserted CSS that can later be used to remove the CSS via * `webFrame.removeInsertedCSS(key)`. * * Injects CSS into the
extensions/app/engine/@types/electron.d.ts:10804
Method
insertCSS
* A promise that resolves with a key for the inserted CSS that can later be used * to remove the CSS via `<webview>.removeInsertedCSS(key)`.
extensions/app/engine/@types/electron.d.ts:11387
← previous
next →
501–600 of 1,145, ranked by callers