diff --git a/master/extensions/api/classes/Main.Ipc/index.html b/master/extensions/api/classes/Main.Ipc/index.html index 6dfe520a49..d9a60e0e55 100644 --- a/master/extensions/api/classes/Main.Ipc/index.html +++ b/master/extensions/api/classes/Main.Ipc/index.html @@ -918,7 +918,7 @@

[IpcPrefix]#

Readonly [IpcPrefix]: string

Inherited from#

-

IpcRegistrar.__@IpcPrefix@47002

+

IpcRegistrar.__@IpcPrefix@47005


extension#

Protected extension: LensExtension

diff --git a/master/extensions/api/classes/Renderer.Ipc/index.html b/master/extensions/api/classes/Renderer.Ipc/index.html index 5ec792d30e..0ee217f0a4 100644 --- a/master/extensions/api/classes/Renderer.Ipc/index.html +++ b/master/extensions/api/classes/Renderer.Ipc/index.html @@ -918,7 +918,7 @@

[IpcPrefix]#

Readonly [IpcPrefix]: string

Inherited from#

-

IpcRegistrar.__@IpcPrefix@47002

+

IpcRegistrar.__@IpcPrefix@47005


extension#

Protected extension: LensExtension

diff --git a/master/extensions/api/modules/Main.Power/index.html b/master/extensions/api/modules/Main.Power/index.html new file mode 100644 index 0000000000..d40e1a6a75 --- /dev/null +++ b/master/extensions/api/modules/Main.Power/index.html @@ -0,0 +1,975 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + Namespace: Power - Lens Extension Development + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + Skip to content + + +
+
+ +
+ + + + + + +
+ + +
+ +
+ + + + + + +
+
+ + + +
+
+
+ + + + +
+
+
+ + + +
+
+
+ + +
+
+
+ + +
+
+ + + + +

Namespace: Power#

+

Main.Power

+

Table of contents#

+

Type aliases#

+ +

Functions#

+ +

Type aliases#

+

PowerEventListener#

+

Ƭ PowerEventListener: () => void

+

Type declaration#

+

▸ (): void

+

Event listener for system power events

+
Returns#
+

void

+

Functions#

+

onResume#

+

Const onResume(listener): Disposer

+

Adds event listener to system resume event

+

Parameters#

+ + + + + + + + + + + + + + + +
NameTypeDescription
listenerPowerEventListenerfunction which will be called on system resume
+

Returns#

+

Disposer

+

function to remove event listener

+
+

onShutdown#

+

Const onShutdown(listener): Disposer

+

Adds event listener to the event which is emitted when +the system is about to reboot or shut down

+

Parameters#

+ + + + + + + + + + + + + + + +
NameTypeDescription
listenerPowerEventListenerfunction which will be called on system shutdown
+

Returns#

+

Disposer

+

function to remove event listener

+
+

onSuspend#

+

Const onSuspend(listener): Disposer

+

Adds event listener to system suspend events

+

Parameters#

+ + + + + + + + + + + + + + + +
NameTypeDescription
listenerPowerEventListenerfunction which will be called on system suspend
+

Returns#

+

Disposer

+

function to remove event listener

+ + + + + + + +
+ +
+
+ +
+ + + + +
+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/master/extensions/api/modules/Main/index.html b/master/extensions/api/modules/Main/index.html index d44363b04b..182d752b82 100644 --- a/master/extensions/api/modules/Main/index.html +++ b/master/extensions/api/modules/Main/index.html @@ -759,6 +759,7 @@
  • Catalog
  • K8sApi
  • Navigation
  • +
  • Power
  • Classes#