Extensions

external class Extensions : <ERROR CLASS> ERROR CLASS: Symbol not found for NodeEventEmitter(source)

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val extensionLoadedEvent: ERROR CLASS: Symbol not found for node.events.EventInstance<ERROR CLASS: Symbol not found for js.array.Tuple2<electron/core/Event<*>, electron/core/Extension>>
Link copied to clipboard
val extensionReadyEvent: ERROR CLASS: Symbol not found for node.events.EventInstance<ERROR CLASS: Symbol not found for js.array.Tuple2<electron/core/Event<*>, electron/core/Extension>>
Link copied to clipboard
val extensionUnloadedEvent: ERROR CLASS: Symbol not found for node.events.EventInstance<ERROR CLASS: Symbol not found for js.array.Tuple2<electron/core/Event<*>, electron/core/Extension>>

Functions

Link copied to clipboard
fun getAllExtensions(): ERROR CLASS: Symbol not found for js.array.ReadonlyArray<electron/core/Extension>

A list of all loaded extensions.

Link copied to clipboard
fun getExtension(extensionId: String): Extension?

The loaded extension with the given ID.

Link copied to clipboard
fun loadExtension(path: String, options: LoadExtensionOptions = definedExternally): ERROR CLASS: Symbol not found for Promise<electron/core/Extension>

resolves when the extension is loaded.

Link copied to clipboard
fun removeExtension(extensionId: String)

Unloads an extension.