mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Deployed a7af8cb93 to v4.1.0 with MkDocs 1.1.2 and mike 0.5.5
This commit is contained in:
1 parent
df3dc32223
commit
9b3d67dd76
572 files changed
+453483
-9817
No files matched your search
@@ -598,7 +598,7 @@
|
||||
|
||||
<li class="md-nav__item">
|
||||
<a href="../../../guides/working-with-mobx/" class="md-nav__link">
|
||||
Working with mobx
|
||||
Working with MobX
|
||||
</a>
|
||||
</li>
|
||||
|
||||
@@ -1175,9 +1175,9 @@
|
||||
</ul>
|
||||
<h2 id="constructors_1">Constructors<a class="headerlink" href="#constructors_1" title="Permanent link">#</a></h2>
|
||||
<h3 id="constructor">constructor<a class="headerlink" href="#constructor" title="Permanent link">#</a></h3>
|
||||
<p>+ <strong>new MenuItem</strong>(<code>props</code>: Readonly‹<a href="../../interfaces/_renderer_api_components_.menuitemprops/">MenuItemProps</a>›): <em><a href="./">MenuItem</a></em></p>
|
||||
<p>+ <strong>new MenuItem</strong>(<code>props</code>: Readonly‹<a href="../../interfaces/_renderer_api_components_.menuitemprops/">MenuItemProps</a>› | <a href="../../interfaces/_renderer_api_components_.menuitemprops/">MenuItemProps</a>): <em><a href="./">MenuItem</a></em></p>
|
||||
<p><em>Inherited from <a href="../_renderer_api_components_.pagelayout/">PageLayout</a>.<a href="../_renderer_api_components_.pagelayout/#constructor">constructor</a></em></p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:486</p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:473</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -1189,14 +1189,14 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><code>props</code></td>
|
||||
<td>Readonly‹<a href="../../interfaces/_renderer_api_components_.menuitemprops/">MenuItemProps</a>›</td>
|
||||
<td>Readonly‹<a href="../../interfaces/_renderer_api_components_.menuitemprops/">MenuItemProps</a>› | <a href="../../interfaces/_renderer_api_components_.menuitemprops/">MenuItemProps</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p><strong>Returns:</strong> <em><a href="./">MenuItem</a></em></p>
|
||||
<p>+ <strong>new MenuItem</strong>(<code>props</code>: <a href="../../interfaces/_renderer_api_components_.menuitemprops/">MenuItemProps</a>, <code>context?</code>: any): <em><a href="./">MenuItem</a></em></p>
|
||||
<p>+ <strong>new MenuItem</strong>(<code>props</code>: <a href="../../interfaces/_renderer_api_components_.menuitemprops/">MenuItemProps</a>, <code>context</code>: any): <em><a href="./">MenuItem</a></em></p>
|
||||
<p><em>Inherited from <a href="../_renderer_api_components_.pagelayout/">PageLayout</a>.<a href="../_renderer_api_components_.pagelayout/#constructor">constructor</a></em></p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:488</p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:475</p>
|
||||
<p><strong><code>deprecated</code></strong> </p>
|
||||
<p><strong><code>see</code></strong> https://reactjs.org/docs/legacy-context.html</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
@@ -1213,7 +1213,7 @@
|
||||
<td><a href="../../interfaces/_renderer_api_components_.menuitemprops/">MenuItemProps</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>context?</code></td>
|
||||
<td><code>context</code></td>
|
||||
<td>any</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@@ -1223,21 +1223,21 @@
|
||||
<h3 id="context">context<a class="headerlink" href="#context" title="Permanent link">#</a></h3>
|
||||
<p>• <strong>context</strong>: <em><a href="../../modules/_renderer_api_components_/#menucontextvalue">MenuContextValue</a></em></p>
|
||||
<p><em>Overrides <a href="../_renderer_api_components_.pagelayout/">PageLayout</a>.<a href="../_renderer_api_components_.pagelayout/#context">context</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/375be3929/src/renderer/components/menu/menu.tsx#L307">src/renderer/components/menu/menu.tsx:307</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/a7af8cb93/src/renderer/components/menu/menu.tsx#L314">src/renderer/components/menu/menu.tsx:314</a></em></p>
|
||||
<hr />
|
||||
<h3 id="elem">elem<a class="headerlink" href="#elem" title="Permanent link">#</a></h3>
|
||||
<p>• <strong>elem</strong>: <em>HTMLElement</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/375be3929/src/renderer/components/menu/menu.tsx#L308">src/renderer/components/menu/menu.tsx:308</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/a7af8cb93/src/renderer/components/menu/menu.tsx#L315">src/renderer/components/menu/menu.tsx:315</a></em></p>
|
||||
<hr />
|
||||
<h3 id="props">props<a class="headerlink" href="#props" title="Permanent link">#</a></h3>
|
||||
<p>• <strong>props</strong>: <em>Readonly‹<a href="../../interfaces/_renderer_api_components_.menuitemprops/">MenuItemProps</a>› & Readonly‹object›</em></p>
|
||||
<p><em>Inherited from <a href="../_renderer_api_components_.pagelayout/">PageLayout</a>.<a href="../_renderer_api_components_.pagelayout/#props">props</a></em></p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:511</p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:498</p>
|
||||
<hr />
|
||||
<h3 id="refs">refs<a class="headerlink" href="#refs" title="Permanent link">#</a></h3>
|
||||
<p>• <strong>refs</strong>: <em>object</em></p>
|
||||
<p><em>Inherited from <a href="../_renderer_api_components_.pagelayout/">PageLayout</a>.<a href="../_renderer_api_components_.pagelayout/#refs">refs</a></em></p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:517</p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:504</p>
|
||||
<p><strong><code>deprecated</code></strong>
|
||||
https://reactjs.org/docs/refs-and-the-dom.html#legacy-api-string-refs</p>
|
||||
<h4>Type declaration:</h4>
|
||||
@@ -1248,31 +1248,31 @@ https://reactjs.org/docs/refs-and-the-dom.html#legacy-api-string-refs</p>
|
||||
<h3 id="state">state<a class="headerlink" href="#state" title="Permanent link">#</a></h3>
|
||||
<p>• <strong>state</strong>: <em>Readonly‹S›</em></p>
|
||||
<p><em>Inherited from <a href="../_renderer_api_components_.pagelayout/">PageLayout</a>.<a href="../_renderer_api_components_.pagelayout/#state">state</a></em></p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:512</p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:499</p>
|
||||
<hr />
|
||||
<h3 id="static-contexttype"><code>Static</code> contextType<a class="headerlink" href="#static-contexttype" title="Permanent link">#</a></h3>
|
||||
<p>▪ <strong>contextType</strong>: <em>Context‹<a href="../_renderer_api_components_.menu/">Menu</a>‹››</em> = MenuContext</p>
|
||||
<p><em>Overrides <a href="../_renderer_api_components_.pagelayout/">PageLayout</a>.<a href="../_renderer_api_components_.pagelayout/#static-optional-contexttype">contextType</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/375be3929/src/renderer/components/menu/menu.tsx#L305">src/renderer/components/menu/menu.tsx:305</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/a7af8cb93/src/renderer/components/menu/menu.tsx#L312">src/renderer/components/menu/menu.tsx:312</a></em></p>
|
||||
<hr />
|
||||
<h3 id="static-defaultprops"><code>Static</code> defaultProps<a class="headerlink" href="#static-defaultprops" title="Permanent link">#</a></h3>
|
||||
<p>▪ <strong>defaultProps</strong>: <em>object</em> = defaultPropsMenuItem as object</p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/375be3929/src/renderer/components/menu/menu.tsx#L304">src/renderer/components/menu/menu.tsx:304</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/a7af8cb93/src/renderer/components/menu/menu.tsx#L311">src/renderer/components/menu/menu.tsx:311</a></em></p>
|
||||
<h2 id="accessors_1">Accessors<a class="headerlink" href="#accessors_1" title="Permanent link">#</a></h2>
|
||||
<h3 id="isfocusable">isFocusable<a class="headerlink" href="#isfocusable" title="Permanent link">#</a></h3>
|
||||
<p>• <strong>get isFocusable</strong>(): <em>boolean</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/375be3929/src/renderer/components/menu/menu.tsx#L310">src/renderer/components/menu/menu.tsx:310</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/a7af8cb93/src/renderer/components/menu/menu.tsx#L317">src/renderer/components/menu/menu.tsx:317</a></em></p>
|
||||
<p><strong>Returns:</strong> <em>boolean</em></p>
|
||||
<hr />
|
||||
<h3 id="islink">isLink<a class="headerlink" href="#islink" title="Permanent link">#</a></h3>
|
||||
<p>• <strong>get isLink</strong>(): <em>boolean</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/375be3929/src/renderer/components/menu/menu.tsx#L316">src/renderer/components/menu/menu.tsx:316</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/a7af8cb93/src/renderer/components/menu/menu.tsx#L323">src/renderer/components/menu/menu.tsx:323</a></em></p>
|
||||
<p><strong>Returns:</strong> <em>boolean</em></p>
|
||||
<h2 id="methods_1">Methods<a class="headerlink" href="#methods_1" title="Permanent link">#</a></h2>
|
||||
<h3 id="optional-unsafe_componentwillmount"><code>Optional</code> UNSAFE_componentWillMount<a class="headerlink" href="#optional-unsafe_componentwillmount" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>UNSAFE_componentWillMount</strong>(): <em>void</em></p>
|
||||
<p><em>Inherited from <a href="../_renderer_api_components_.pagelayout/">PageLayout</a>.<a href="../_renderer_api_components_.pagelayout/#optional-unsafe_componentwillmount">UNSAFE_componentWillMount</a></em></p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:712</p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:711</p>
|
||||
<p>Called immediately before mounting occurs, and before <code>Component#render</code>.
|
||||
Avoid introducing any side-effects or subscriptions in this method.</p>
|
||||
<p>This method will not stop working in React 17.</p>
|
||||
@@ -1286,7 +1286,7 @@ prevents this from being invoked.</p>
|
||||
<h3 id="optional-unsafe_componentwillreceiveprops"><code>Optional</code> UNSAFE_componentWillReceiveProps<a class="headerlink" href="#optional-unsafe_componentwillreceiveprops" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>UNSAFE_componentWillReceiveProps</strong>(<code>nextProps</code>: Readonly‹<a href="../../interfaces/_renderer_api_components_.menuitemprops/">MenuItemProps</a>›, <code>nextContext</code>: any): <em>void</em></p>
|
||||
<p><em>Inherited from <a href="../_renderer_api_components_.pagelayout/">PageLayout</a>.<a href="../_renderer_api_components_.pagelayout/#optional-unsafe_componentwillreceiveprops">UNSAFE_componentWillReceiveProps</a></em></p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:744</p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:743</p>
|
||||
<p>Called when the component may be receiving new props.
|
||||
React may call this even if props have not changed, so be sure to compare new and existing
|
||||
props if you only want to handle changes.</p>
|
||||
@@ -1321,7 +1321,7 @@ prevents this from being invoked.</p>
|
||||
<h3 id="optional-unsafe_componentwillupdate"><code>Optional</code> UNSAFE_componentWillUpdate<a class="headerlink" href="#optional-unsafe_componentwillupdate" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>UNSAFE_componentWillUpdate</strong>(<code>nextProps</code>: Readonly‹<a href="../../interfaces/_renderer_api_components_.menuitemprops/">MenuItemProps</a>›, <code>nextState</code>: Readonly‹S›, <code>nextContext</code>: any): <em>void</em></p>
|
||||
<p><em>Inherited from <a href="../_renderer_api_components_.pagelayout/">PageLayout</a>.<a href="../_renderer_api_components_.pagelayout/#optional-unsafe_componentwillupdate">UNSAFE_componentWillUpdate</a></em></p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:772</p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:771</p>
|
||||
<p>Called immediately before rendering when new props or state is received. Not called for the initial render.</p>
|
||||
<p>Note: You cannot call <code>Component#setState</code> here.</p>
|
||||
<p>This method will not stop working in React 17.</p>
|
||||
@@ -1357,7 +1357,7 @@ prevents this from being invoked.</p>
|
||||
<hr />
|
||||
<h3 id="protected-bindref"><code>Protected</code> bindRef<a class="headerlink" href="#protected-bindref" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>bindRef</strong>(<code>elem</code>: HTMLElement): <em>void</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/375be3929/src/renderer/components/menu/menu.tsx#L332">src/renderer/components/menu/menu.tsx:332</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/a7af8cb93/src/renderer/components/menu/menu.tsx#L339">src/renderer/components/menu/menu.tsx:339</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -1378,7 +1378,7 @@ prevents this from being invoked.</p>
|
||||
<h3 id="optional-componentdidcatch"><code>Optional</code> componentDidCatch<a class="headerlink" href="#optional-componentdidcatch" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>componentDidCatch</strong>(<code>error</code>: Error, <code>errorInfo</code>: ErrorInfo): <em>void</em></p>
|
||||
<p><em>Inherited from <a href="../_renderer_api_components_.pagelayout/">PageLayout</a>.<a href="../_renderer_api_components_.pagelayout/#optional-componentdidcatch">componentDidCatch</a></em></p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:641</p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:640</p>
|
||||
<p>Catches exceptions generated in descendant components. Unhandled exceptions will cause
|
||||
the entire component tree to unmount.</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
@@ -1405,14 +1405,14 @@ the entire component tree to unmount.</p>
|
||||
<h3 id="optional-componentdidmount"><code>Optional</code> componentDidMount<a class="headerlink" href="#optional-componentdidmount" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>componentDidMount</strong>(): <em>void</em></p>
|
||||
<p><em>Inherited from <a href="../_renderer_api_components_.wizardlayout/">WizardLayout</a>.<a href="../_renderer_api_components_.wizardlayout/#optional-componentdidmount">componentDidMount</a></em></p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:620</p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:619</p>
|
||||
<p>Called immediately after a component is mounted. Setting state here will trigger re-rendering.</p>
|
||||
<p><strong>Returns:</strong> <em>void</em></p>
|
||||
<hr />
|
||||
<h3 id="optional-componentdidupdate"><code>Optional</code> componentDidUpdate<a class="headerlink" href="#optional-componentdidupdate" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>componentDidUpdate</strong>(<code>prevProps</code>: Readonly‹<a href="../../interfaces/_renderer_api_components_.menuitemprops/">MenuItemProps</a>›, <code>prevState</code>: Readonly‹S›, <code>snapshot?</code>: SS): <em>void</em></p>
|
||||
<p><em>Inherited from <a href="../_renderer_api_components_.pagelayout/">PageLayout</a>.<a href="../_renderer_api_components_.pagelayout/#optional-componentdidupdate">componentDidUpdate</a></em></p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:683</p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:682</p>
|
||||
<p>Called immediately after updating occurs. Not called for the initial render.</p>
|
||||
<p>The snapshot is only present if getSnapshotBeforeUpdate is present and returns non-null.</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
@@ -1443,7 +1443,7 @@ the entire component tree to unmount.</p>
|
||||
<h3 id="optional-componentwillmount"><code>Optional</code> componentWillMount<a class="headerlink" href="#optional-componentwillmount" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>componentWillMount</strong>(): <em>void</em></p>
|
||||
<p><em>Inherited from <a href="../_renderer_api_components_.pagelayout/">PageLayout</a>.<a href="../_renderer_api_components_.pagelayout/#optional-componentwillmount">componentWillMount</a></em></p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:698</p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:697</p>
|
||||
<p>Called immediately before mounting occurs, and before <code>Component#render</code>.
|
||||
Avoid introducing any side-effects or subscriptions in this method.</p>
|
||||
<p>Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps
|
||||
@@ -1456,7 +1456,7 @@ prevents this from being invoked.</p>
|
||||
<h3 id="optional-componentwillreceiveprops"><code>Optional</code> componentWillReceiveProps<a class="headerlink" href="#optional-componentwillreceiveprops" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>componentWillReceiveProps</strong>(<code>nextProps</code>: Readonly‹<a href="../../interfaces/_renderer_api_components_.menuitemprops/">MenuItemProps</a>›, <code>nextContext</code>: any): <em>void</em></p>
|
||||
<p><em>Inherited from <a href="../_renderer_api_components_.pagelayout/">PageLayout</a>.<a href="../_renderer_api_components_.pagelayout/#optional-componentwillreceiveprops">componentWillReceiveProps</a></em></p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:727</p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:726</p>
|
||||
<p>Called when the component may be receiving new props.
|
||||
React may call this even if props have not changed, so be sure to compare new and existing
|
||||
props if you only want to handle changes.</p>
|
||||
@@ -1490,7 +1490,7 @@ prevents this from being invoked.</p>
|
||||
<h3 id="optional-componentwillunmount"><code>Optional</code> componentWillUnmount<a class="headerlink" href="#optional-componentwillunmount" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>componentWillUnmount</strong>(): <em>void</em></p>
|
||||
<p><em>Inherited from <a href="../_renderer_api_components_.wizardlayout/">WizardLayout</a>.<a href="../_renderer_api_components_.wizardlayout/#optional-componentwillunmount">componentWillUnmount</a></em></p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:636</p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:635</p>
|
||||
<p>Called immediately before a component is destroyed. Perform any necessary cleanup in this method, such as
|
||||
cancelled network requests, or cleaning up any DOM elements created in <code>componentDidMount</code>.</p>
|
||||
<p><strong>Returns:</strong> <em>void</em></p>
|
||||
@@ -1498,7 +1498,7 @@ cancelled network requests, or cleaning up any DOM elements created in <code>com
|
||||
<h3 id="optional-componentwillupdate"><code>Optional</code> componentWillUpdate<a class="headerlink" href="#optional-componentwillupdate" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>componentWillUpdate</strong>(<code>nextProps</code>: Readonly‹<a href="../../interfaces/_renderer_api_components_.menuitemprops/">MenuItemProps</a>›, <code>nextState</code>: Readonly‹S›, <code>nextContext</code>: any): <em>void</em></p>
|
||||
<p><em>Inherited from <a href="../_renderer_api_components_.pagelayout/">PageLayout</a>.<a href="../_renderer_api_components_.pagelayout/#optional-componentwillupdate">componentWillUpdate</a></em></p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:757</p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:756</p>
|
||||
<p>Called immediately before rendering when new props or state is received. Not called for the initial render.</p>
|
||||
<p>Note: You cannot call <code>Component#setState</code> here.</p>
|
||||
<p>Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps
|
||||
@@ -1534,7 +1534,7 @@ prevents this from being invoked.</p>
|
||||
<h3 id="forceupdate">forceUpdate<a class="headerlink" href="#forceupdate" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>forceUpdate</strong>(<code>callback?</code>: function): <em>void</em></p>
|
||||
<p><em>Inherited from <a href="../_renderer_api_components_.pagelayout/">PageLayout</a>.<a href="../_renderer_api_components_.pagelayout/#forceupdate">forceUpdate</a></em></p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:503</p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:490</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<p>▪<code>Optional</code> <strong>callback</strong>: <em>function</em></p>
|
||||
<p>▸ (): <em>void</em></p>
|
||||
@@ -1543,7 +1543,7 @@ prevents this from being invoked.</p>
|
||||
<h3 id="optional-getsnapshotbeforeupdate"><code>Optional</code> getSnapshotBeforeUpdate<a class="headerlink" href="#optional-getsnapshotbeforeupdate" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>getSnapshotBeforeUpdate</strong>(<code>prevProps</code>: Readonly‹<a href="../../interfaces/_renderer_api_components_.menuitemprops/">MenuItemProps</a>›, <code>prevState</code>: Readonly‹S›): <em>SS | null</em></p>
|
||||
<p><em>Inherited from <a href="../_renderer_api_components_.pagelayout/">PageLayout</a>.<a href="../_renderer_api_components_.pagelayout/#optional-getsnapshotbeforeupdate">getSnapshotBeforeUpdate</a></em></p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:677</p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:676</p>
|
||||
<p>Runs before React applies the result of <code>render</code> to the document, and
|
||||
returns an object to be given to componentDidUpdate. Useful for saving
|
||||
things such as scroll position before <code>render</code> causes changes to it.</p>
|
||||
@@ -1572,7 +1572,7 @@ lifecycle events from running.</p>
|
||||
<hr />
|
||||
<h3 id="onclick">onClick<a class="headerlink" href="#onclick" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>onClick</strong>(<code>evt</code>: MouseEvent): <em>void</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/375be3929/src/renderer/components/menu/menu.tsx#L320">src/renderer/components/menu/menu.tsx:320</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/a7af8cb93/src/renderer/components/menu/menu.tsx#L327">src/renderer/components/menu/menu.tsx:327</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -1593,13 +1593,13 @@ lifecycle events from running.</p>
|
||||
<h3 id="render">render<a class="headerlink" href="#render" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>render</strong>(): <em>Element‹›</em></p>
|
||||
<p><em>Overrides void</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/375be3929/src/renderer/components/menu/menu.tsx#L336">src/renderer/components/menu/menu.tsx:336</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/a7af8cb93/src/renderer/components/menu/menu.tsx#L343">src/renderer/components/menu/menu.tsx:343</a></em></p>
|
||||
<p><strong>Returns:</strong> <em>Element‹›</em></p>
|
||||
<hr />
|
||||
<h3 id="setstate">setState<a class="headerlink" href="#setstate" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>setState</strong>‹<strong>K</strong>›(<code>state</code>: function | S | object, <code>callback?</code>: function): <em>void</em></p>
|
||||
<p><em>Inherited from <a href="../_renderer_api_components_.pagelayout/">PageLayout</a>.<a href="../_renderer_api_components_.pagelayout/#setstate">setState</a></em></p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:498</p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:485</p>
|
||||
<p><strong>Type parameters:</strong></p>
|
||||
<p>▪ <strong>K</strong>: <em>keyof S</em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
@@ -1611,7 +1611,7 @@ lifecycle events from running.</p>
|
||||
<h3 id="optional-shouldcomponentupdate"><code>Optional</code> shouldComponentUpdate<a class="headerlink" href="#optional-shouldcomponentupdate" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>shouldComponentUpdate</strong>(<code>nextProps</code>: Readonly‹<a href="../../interfaces/_renderer_api_components_.menuitemprops/">MenuItemProps</a>›, <code>nextState</code>: Readonly‹S›, <code>nextContext</code>: any): <em>boolean</em></p>
|
||||
<p><em>Inherited from <a href="../_renderer_api_components_.pagelayout/">PageLayout</a>.<a href="../_renderer_api_components_.pagelayout/#optional-shouldcomponentupdate">shouldComponentUpdate</a></em></p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:631</p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:630</p>
|
||||
<p>Called to determine whether the change in props and state should trigger a re-render.</p>
|
||||
<p><code>Component</code> always returns true.
|
||||
<code>PureComponent</code> implements a shallow comparison on props and state and returns true if any
|
||||
|
||||
Reference in new issue
Block a user