mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-13 04:28:41 -09:00
Improve onUnload docs (#2409)
Add missing reference to `onUnload` invocation during [plugin updates](https://github.com/zeit/hyper/blob/2.0.4/app/plugins.js#L111).
This commit is contained in:
parent
28cab5e874
commit
c73d7317af
1 changed files with 4 additions and 3 deletions
|
|
@ -287,7 +287,7 @@
|
|||
#content h3:before {
|
||||
content: '### ';
|
||||
}
|
||||
|
||||
|
||||
#content h4:before {
|
||||
content: '#### ';
|
||||
}
|
||||
|
|
@ -925,7 +925,8 @@
|
|||
<td><code>onUnload</code></td>
|
||||
<td>Electron</td>
|
||||
<td>
|
||||
<p>Invoked when a plugin is removed by the user.</p>
|
||||
<p>Invoked when a plugin is removed by the user and during
|
||||
plugin updates.</p>
|
||||
<p>Parameters:</p>
|
||||
<table>
|
||||
<tbody>
|
||||
|
|
@ -1242,7 +1243,7 @@
|
|||
<p>The user can hot-load and hot-reload plugins by pressing
|
||||
Command + R (refresh). Please strive to make plugins that don't
|
||||
require a complete restart of the application to work.</p>
|
||||
|
||||
|
||||
<h4>Notice</h4>
|
||||
<p>Plugins affecting the `BrowserWindow` will the effect on new windows after hot-reload.</p>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue