mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Deployed 41fc9089b5 to master with MkDocs 1.3.0 and mike 1.1.2
This commit is contained in:
1 parent
86376f8a6f
commit
8fa0529b3e
75 files changed
+638
-542
No files matched your search
@@ -830,76 +830,63 @@
|
||||
<h2 id="functions_1">Functions<a class="headerlink" href="#functions_1" title="Permanent link">#</a></h2>
|
||||
<h3 id="onresume">onResume<a class="headerlink" href="#onresume" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>onResume</strong>(<code>listener</code>): <code>Disposer</code></p>
|
||||
<p>Adds event listener to system resume event</p>
|
||||
<h4 id="parameters">Parameters<a class="headerlink" href="#parameters" title="Permanent link">#</a></h4>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="left">Name</th>
|
||||
<th align="left">Type</th>
|
||||
<th align="left">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><code>listener</code></td>
|
||||
<td align="left"><a href="./#powereventlistener"><code>PowerEventListener</code></a></td>
|
||||
<td align="left">function which will be called on system resume</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h4 id="returns_1">Returns<a class="headerlink" href="#returns_1" title="Permanent link">#</a></h4>
|
||||
<p><code>Disposer</code></p>
|
||||
<p>function to remove event listener</p>
|
||||
<hr />
|
||||
<h3 id="onshutdown">onShutdown<a class="headerlink" href="#onshutdown" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>onShutdown</strong>(<code>listener</code>): <code>Disposer</code></p>
|
||||
<p>Adds event listener to the event which is emitted when
|
||||
the system is about to reboot or shut down</p>
|
||||
<h4 id="parameters_1">Parameters<a class="headerlink" href="#parameters_1" title="Permanent link">#</a></h4>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="left">Name</th>
|
||||
<th align="left">Type</th>
|
||||
<th align="left">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><code>listener</code></td>
|
||||
<td align="left"><a href="./#powereventlistener"><code>PowerEventListener</code></a></td>
|
||||
<td align="left">function which will be called on system shutdown</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h4 id="returns_2">Returns<a class="headerlink" href="#returns_2" title="Permanent link">#</a></h4>
|
||||
<p><code>Disposer</code></p>
|
||||
<p>function to remove event listener</p>
|
||||
<hr />
|
||||
<h3 id="onsuspend">onSuspend<a class="headerlink" href="#onsuspend" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>onSuspend</strong>(<code>listener</code>): <code>Disposer</code></p>
|
||||
<p>Adds event listener to system suspend events</p>
|
||||
<h4 id="parameters_2">Parameters<a class="headerlink" href="#parameters_2" title="Permanent link">#</a></h4>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="left">Name</th>
|
||||
<th align="left">Type</th>
|
||||
<th align="left">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="left"><code>listener</code></td>
|
||||
<td align="left"><a href="./#powereventlistener"><code>PowerEventListener</code></a></td>
|
||||
<td align="left">function which will be called on system suspend</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<h4 id="returns_3">Returns<a class="headerlink" href="#returns_3" title="Permanent link">#</a></h4>
|
||||
<p><code>Disposer</code></p>
|
||||
<p>function to remove event listener</p>
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user