mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Deployed 40f463183 to master with MkDocs 1.1.2 and mike 0.5.5
This commit is contained in:
1 parent
006b5d87b2
commit
212727d813
210 files changed
+6395
-4778
No files matched your search
@@ -1176,7 +1176,7 @@
|
||||
<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>› | <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><em>Inherited from <a href="../_renderer_api_components_.subtitle/">SubTitle</a>.<a href="../_renderer_api_components_.subtitle/#constructor">constructor</a></em></p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:473</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
@@ -1195,7 +1195,7 @@
|
||||
</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><em>Inherited from <a href="../_renderer_api_components_.pagelayout/">PageLayout</a>.<a href="../_renderer_api_components_.pagelayout/#constructor">constructor</a></em></p>
|
||||
<p><em>Inherited from <a href="../_renderer_api_components_.subtitle/">SubTitle</a>.<a href="../_renderer_api_components_.subtitle/#constructor">constructor</a></em></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>
|
||||
@@ -1222,21 +1222,21 @@
|
||||
<h2 id="properties_1">Properties<a class="headerlink" href="#properties_1" title="Permanent link">#</a></h2>
|
||||
<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/465dcd0a6/src/renderer/components/menu/menu.tsx#L321">src/renderer/components/menu/menu.tsx:321</a></em></p>
|
||||
<p><em>Overrides <a href="../_renderer_api_components_.subtitle/">SubTitle</a>.<a href="../_renderer_api_components_.subtitle/#context">context</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/40f463183/src/renderer/components/menu/menu.tsx#L321">src/renderer/components/menu/menu.tsx:321</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/465dcd0a6/src/renderer/components/menu/menu.tsx#L322">src/renderer/components/menu/menu.tsx:322</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/40f463183/src/renderer/components/menu/menu.tsx#L322">src/renderer/components/menu/menu.tsx:322</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><em>Inherited from <a href="../_renderer_api_components_.subtitle/">SubTitle</a>.<a href="../_renderer_api_components_.subtitle/#props">props</a></em></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><em>Inherited from <a href="../_renderer_api_components_.subtitle/">SubTitle</a>.<a href="../_renderer_api_components_.subtitle/#refs">refs</a></em></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>
|
||||
@@ -1247,31 +1247,31 @@ https://reactjs.org/docs/refs-and-the-dom.html#legacy-api-string-refs</p>
|
||||
<hr />
|
||||
<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><em>Inherited from <a href="../_renderer_api_components_.subtitle/">SubTitle</a>.<a href="../_renderer_api_components_.subtitle/#state">state</a></em></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/465dcd0a6/src/renderer/components/menu/menu.tsx#L319">src/renderer/components/menu/menu.tsx:319</a></em></p>
|
||||
<p><em>Overrides <a href="../_renderer_api_components_.subtitle/">SubTitle</a>.<a href="../_renderer_api_components_.subtitle/#static-optional-contexttype">contextType</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/40f463183/src/renderer/components/menu/menu.tsx#L319">src/renderer/components/menu/menu.tsx:319</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/465dcd0a6/src/renderer/components/menu/menu.tsx#L318">src/renderer/components/menu/menu.tsx:318</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/40f463183/src/renderer/components/menu/menu.tsx#L318">src/renderer/components/menu/menu.tsx:318</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/465dcd0a6/src/renderer/components/menu/menu.tsx#L324">src/renderer/components/menu/menu.tsx:324</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/40f463183/src/renderer/components/menu/menu.tsx#L324">src/renderer/components/menu/menu.tsx:324</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/465dcd0a6/src/renderer/components/menu/menu.tsx#L330">src/renderer/components/menu/menu.tsx:330</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/40f463183/src/renderer/components/menu/menu.tsx#L330">src/renderer/components/menu/menu.tsx:330</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><em>Inherited from <a href="../_renderer_api_components_.subtitle/">SubTitle</a>.<a href="../_renderer_api_components_.subtitle/#optional-unsafe_componentwillmount">UNSAFE_componentWillMount</a></em></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>
|
||||
@@ -1285,7 +1285,7 @@ prevents this from being invoked.</p>
|
||||
<hr />
|
||||
<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><em>Inherited from <a href="../_renderer_api_components_.subtitle/">SubTitle</a>.<a href="../_renderer_api_components_.subtitle/#optional-unsafe_componentwillreceiveprops">UNSAFE_componentWillReceiveProps</a></em></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
|
||||
@@ -1320,7 +1320,7 @@ prevents this from being invoked.</p>
|
||||
<hr />
|
||||
<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><em>Inherited from <a href="../_renderer_api_components_.subtitle/">SubTitle</a>.<a href="../_renderer_api_components_.subtitle/#optional-unsafe_componentwillupdate">UNSAFE_componentWillUpdate</a></em></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>
|
||||
@@ -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/465dcd0a6/src/renderer/components/menu/menu.tsx#L346">src/renderer/components/menu/menu.tsx:346</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/40f463183/src/renderer/components/menu/menu.tsx#L346">src/renderer/components/menu/menu.tsx:346</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -1377,7 +1377,7 @@ prevents this from being invoked.</p>
|
||||
<hr />
|
||||
<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><em>Inherited from <a href="../_renderer_api_components_.subtitle/">SubTitle</a>.<a href="../_renderer_api_components_.subtitle/#optional-componentdidcatch">componentDidCatch</a></em></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>
|
||||
@@ -1404,14 +1404,14 @@ the entire component tree to unmount.</p>
|
||||
<hr />
|
||||
<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><em>Inherited from <a href="../_renderer_api_components_.subtitle/">SubTitle</a>.<a href="../_renderer_api_components_.subtitle/#optional-componentdidmount">componentDidMount</a></em></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><em>Inherited from <a href="../_renderer_api_components_.subtitle/">SubTitle</a>.<a href="../_renderer_api_components_.subtitle/#optional-componentdidupdate">componentDidUpdate</a></em></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>
|
||||
@@ -1442,7 +1442,7 @@ the entire component tree to unmount.</p>
|
||||
<hr />
|
||||
<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><em>Inherited from <a href="../_renderer_api_components_.subtitle/">SubTitle</a>.<a href="../_renderer_api_components_.subtitle/#optional-componentwillmount">componentWillMount</a></em></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>
|
||||
@@ -1455,7 +1455,7 @@ prevents this from being invoked.</p>
|
||||
<hr />
|
||||
<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><em>Inherited from <a href="../_renderer_api_components_.subtitle/">SubTitle</a>.<a href="../_renderer_api_components_.subtitle/#optional-componentwillreceiveprops">componentWillReceiveProps</a></em></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
|
||||
@@ -1489,7 +1489,7 @@ prevents this from being invoked.</p>
|
||||
<hr />
|
||||
<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><em>Inherited from <a href="../_renderer_api_components_.subtitle/">SubTitle</a>.<a href="../_renderer_api_components_.subtitle/#optional-componentwillunmount">componentWillUnmount</a></em></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>
|
||||
@@ -1497,7 +1497,7 @@ cancelled network requests, or cleaning up any DOM elements created in <code>com
|
||||
<hr />
|
||||
<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><em>Inherited from <a href="../_renderer_api_components_.subtitle/">SubTitle</a>.<a href="../_renderer_api_components_.subtitle/#optional-componentwillupdate">componentWillUpdate</a></em></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>
|
||||
@@ -1533,7 +1533,7 @@ prevents this from being invoked.</p>
|
||||
<hr />
|
||||
<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><em>Inherited from <a href="../_renderer_api_components_.subtitle/">SubTitle</a>.<a href="../_renderer_api_components_.subtitle/#forceupdate">forceUpdate</a></em></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>
|
||||
@@ -1542,7 +1542,7 @@ prevents this from being invoked.</p>
|
||||
<hr />
|
||||
<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><em>Inherited from <a href="../_renderer_api_components_.subtitle/">SubTitle</a>.<a href="../_renderer_api_components_.subtitle/#optional-getsnapshotbeforeupdate">getSnapshotBeforeUpdate</a></em></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
|
||||
@@ -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/465dcd0a6/src/renderer/components/menu/menu.tsx#L334">src/renderer/components/menu/menu.tsx:334</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/40f463183/src/renderer/components/menu/menu.tsx#L334">src/renderer/components/menu/menu.tsx:334</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -1593,12 +1593,12 @@ 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/465dcd0a6/src/renderer/components/menu/menu.tsx#L350">src/renderer/components/menu/menu.tsx:350</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/40f463183/src/renderer/components/menu/menu.tsx#L350">src/renderer/components/menu/menu.tsx:350</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><em>Inherited from <a href="../_renderer_api_components_.subtitle/">SubTitle</a>.<a href="../_renderer_api_components_.subtitle/#setstate">setState</a></em></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>
|
||||
@@ -1610,7 +1610,7 @@ lifecycle events from running.</p>
|
||||
<hr />
|
||||
<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><em>Inherited from <a href="../_renderer_api_components_.subtitle/">SubTitle</a>.<a href="../_renderer_api_components_.subtitle/#optional-shouldcomponentupdate">shouldComponentUpdate</a></em></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.
|
||||
|
||||
Reference in new issue
Block a user