mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Deployed be4e1aa15 to master with MkDocs 1.1.2 and mike 0.5.5
This commit is contained in:
1 parent
f78e28b146
commit
1b249ad6ce
200 files changed
+16068
-8475
No files matched your search
+32
-32
@@ -1177,9 +1177,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 KubeObjectDetails</strong>(<code>props</code>: Readonly‹P›): <em><a href="./">KubeObjectDetails</a></em></p>
|
||||
<p>+ <strong>new KubeObjectDetails</strong>(<code>props</code>: Readonly‹P› | P): <em><a href="./">KubeObjectDetails</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>
|
||||
@@ -1191,14 +1191,14 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><code>props</code></td>
|
||||
<td>Readonly‹P›</td>
|
||||
<td>Readonly‹P› | P</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p><strong>Returns:</strong> <em><a href="./">KubeObjectDetails</a></em></p>
|
||||
<p>+ <strong>new KubeObjectDetails</strong>(<code>props</code>: P, <code>context?</code>: any): <em><a href="./">KubeObjectDetails</a></em></p>
|
||||
<p>+ <strong>new KubeObjectDetails</strong>(<code>props</code>: P, <code>context</code>: any): <em><a href="./">KubeObjectDetails</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>
|
||||
@@ -1215,7 +1215,7 @@
|
||||
<td>P</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>context?</code></td>
|
||||
<td><code>context</code></td>
|
||||
<td>any</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@@ -1225,7 +1225,7 @@
|
||||
<h3 id="context">context<a class="headerlink" href="#context" title="Permanent link">#</a></h3>
|
||||
<p>• <strong>context</strong>: <em>any</em></p>
|
||||
<p><em>Inherited from <a href="../_renderer_api_components_.pagelayout/">PageLayout</a>.<a href="../_renderer_api_components_.pagelayout/#context">context</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>If using the new style context, re-declare this in your class to be the
|
||||
<code>React.ContextType</code> of your <code>static contextType</code>.
|
||||
Should be used with type annotation or static contextType.</p>
|
||||
@@ -1239,7 +1239,7 @@ Should be used with type annotation or static contextType.</p>
|
||||
<hr />
|
||||
<h3 id="isloading">isLoading<a class="headerlink" href="#isloading" title="Permanent link">#</a></h3>
|
||||
<p>• <strong>isLoading</strong>: <em>boolean</em> = false</p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/11c611dab/src/renderer/components/kube-object/kube-object-details.tsx#L24">src/renderer/components/kube-object/kube-object-details.tsx:24</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/be4e1aa15/src/renderer/components/kube-object/kube-object-details.tsx#L61">src/renderer/components/kube-object/kube-object-details.tsx:61</a></em></p>
|
||||
<hr />
|
||||
<h3 id="loader">loader<a class="headerlink" href="#loader" title="Permanent link">#</a></h3>
|
||||
<p>• <strong>loader</strong>: <em>IReactionDisposer</em> = reaction(() => [
|
||||
@@ -1266,21 +1266,21 @@ Should be used with type annotation or static contextType.</p>
|
||||
}
|
||||
</code></pre></div>
|
||||
<p>})</p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/11c611dab/src/renderer/components/kube-object/kube-object-details.tsx#L44">src/renderer/components/kube-object/kube-object-details.tsx:44</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/be4e1aa15/src/renderer/components/kube-object/kube-object-details.tsx#L81">src/renderer/components/kube-object/kube-object-details.tsx:81</a></em></p>
|
||||
<hr />
|
||||
<h3 id="loadingerror">loadingError<a class="headerlink" href="#loadingerror" title="Permanent link">#</a></h3>
|
||||
<p>• <strong>loadingError</strong>: <em>React.ReactNode</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/11c611dab/src/renderer/components/kube-object/kube-object-details.tsx#L25">src/renderer/components/kube-object/kube-object-details.tsx:25</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/be4e1aa15/src/renderer/components/kube-object/kube-object-details.tsx#L62">src/renderer/components/kube-object/kube-object-details.tsx:62</a></em></p>
|
||||
<hr />
|
||||
<h3 id="props">props<a class="headerlink" href="#props" title="Permanent link">#</a></h3>
|
||||
<p>• <strong>props</strong>: <em>Readonly‹P› & 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>
|
||||
@@ -1291,12 +1291,12 @@ 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-optional-contexttype"><code>Static</code> <code>Optional</code> contextType<a class="headerlink" href="#static-optional-contexttype" title="Permanent link">#</a></h3>
|
||||
<p>▪ <strong>contextType</strong>? : <em>Context‹any›</em></p>
|
||||
<p><em>Inherited from <a href="../_renderer_api_components_.pagelayout/">PageLayout</a>.<a href="../_renderer_api_components_.pagelayout/#static-optional-contexttype">contextType</a></em></p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:468</p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:455</p>
|
||||
<p>If set, <code>this.context</code> will be set at runtime to the current value of the given Context.</p>
|
||||
<p>Usage:</p>
|
||||
<div class="highlight"><pre><span></span><code><span class="nx">type</span> <span class="nx">MyContext</span> <span class="o">=</span> <span class="kt">number</span>
|
||||
@@ -1314,23 +1314,23 @@ https://reactjs.org/docs/refs-and-the-dom.html#legacy-api-string-refs</p>
|
||||
<h2 id="accessors_1">Accessors<a class="headerlink" href="#accessors_1" title="Permanent link">#</a></h2>
|
||||
<h3 id="iscrdinstance">isCrdInstance<a class="headerlink" href="#iscrdinstance" title="Permanent link">#</a></h3>
|
||||
<p>• <strong>get isCrdInstance</strong>(): <em>boolean</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/11c611dab/src/renderer/components/kube-object/kube-object-details.tsx#L39">src/renderer/components/kube-object/kube-object-details.tsx:39</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/be4e1aa15/src/renderer/components/kube-object/kube-object-details.tsx#L76">src/renderer/components/kube-object/kube-object-details.tsx:76</a></em></p>
|
||||
<p><strong>Returns:</strong> <em>boolean</em></p>
|
||||
<hr />
|
||||
<h3 id="object">object<a class="headerlink" href="#object" title="Permanent link">#</a></h3>
|
||||
<p>• <strong>get object</strong>(): <em>any</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/11c611dab/src/renderer/components/kube-object/kube-object-details.tsx#L31">src/renderer/components/kube-object/kube-object-details.tsx:31</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/be4e1aa15/src/renderer/components/kube-object/kube-object-details.tsx#L68">src/renderer/components/kube-object/kube-object-details.tsx:68</a></em></p>
|
||||
<p><strong>Returns:</strong> <em>any</em></p>
|
||||
<hr />
|
||||
<h3 id="path">path<a class="headerlink" href="#path" title="Permanent link">#</a></h3>
|
||||
<p>• <strong>get path</strong>(): <em>string</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/11c611dab/src/renderer/components/kube-object/kube-object-details.tsx#L27">src/renderer/components/kube-object/kube-object-details.tsx:27</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/be4e1aa15/src/renderer/components/kube-object/kube-object-details.tsx#L64">src/renderer/components/kube-object/kube-object-details.tsx:64</a></em></p>
|
||||
<p><strong>Returns:</strong> <em>string</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>
|
||||
@@ -1344,7 +1344,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‹P›, <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>
|
||||
@@ -1379,7 +1379,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‹P›, <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>
|
||||
@@ -1416,7 +1416,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>
|
||||
@@ -1443,14 +1443,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‹P›, <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>
|
||||
@@ -1481,7 +1481,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
|
||||
@@ -1494,7 +1494,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‹P›, <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>
|
||||
@@ -1528,7 +1528,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>
|
||||
@@ -1536,7 +1536,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‹P›, <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
|
||||
@@ -1572,7 +1572,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>
|
||||
@@ -1581,7 +1581,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‹P›, <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>
|
||||
@@ -1611,13 +1611,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/11c611dab/src/renderer/components/kube-object/kube-object-details.tsx#L69">src/renderer/components/kube-object/kube-object-details.tsx:69</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/be4e1aa15/src/renderer/components/kube-object/kube-object-details.tsx#L106">src/renderer/components/kube-object/kube-object-details.tsx:106</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>
|
||||
@@ -1629,7 +1629,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‹P›, <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