mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-04-22 02:08:03 +00:00
22 lines
38 KiB
HTML
22 lines
38 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en-US">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
<title>Type parameters | polkadot-js/ui</title>
|
|
<meta name="description" content="UI libraries and utilities in-use accross @polkadot projects">
|
|
|
|
|
|
<link rel="preload" href="/ui/assets/css/0.styles.306e632f.css" as="style"><link rel="preload" href="/ui/assets/js/app.1aabc8af.js" as="script"><link rel="preload" href="/ui/assets/js/2.6d27345c.js" as="script"><link rel="preload" href="/ui/assets/js/15.67fde83f.js" as="script"><link rel="prefetch" href="/ui/assets/js/10.80e956c5.js"><link rel="prefetch" href="/ui/assets/js/11.d8f63553.js"><link rel="prefetch" href="/ui/assets/js/12.b3f97aac.js"><link rel="prefetch" href="/ui/assets/js/13.280a60cf.js"><link rel="prefetch" href="/ui/assets/js/14.4498e88a.js"><link rel="prefetch" href="/ui/assets/js/16.acd1a66e.js"><link rel="prefetch" href="/ui/assets/js/17.b1f90116.js"><link rel="prefetch" href="/ui/assets/js/18.1c4613b7.js"><link rel="prefetch" href="/ui/assets/js/19.fcd51710.js"><link rel="prefetch" href="/ui/assets/js/20.f28c8c10.js"><link rel="prefetch" href="/ui/assets/js/21.c2ee56ce.js"><link rel="prefetch" href="/ui/assets/js/22.890c9856.js"><link rel="prefetch" href="/ui/assets/js/23.9f3763a2.js"><link rel="prefetch" href="/ui/assets/js/24.97e946e5.js"><link rel="prefetch" href="/ui/assets/js/25.91639bee.js"><link rel="prefetch" href="/ui/assets/js/26.716fb93f.js"><link rel="prefetch" href="/ui/assets/js/27.4b675834.js"><link rel="prefetch" href="/ui/assets/js/28.7d88314b.js"><link rel="prefetch" href="/ui/assets/js/29.90a28b71.js"><link rel="prefetch" href="/ui/assets/js/3.4b875ccd.js"><link rel="prefetch" href="/ui/assets/js/30.f99f52af.js"><link rel="prefetch" href="/ui/assets/js/31.da07e443.js"><link rel="prefetch" href="/ui/assets/js/32.2703ca78.js"><link rel="prefetch" href="/ui/assets/js/33.f8bb0a2c.js"><link rel="prefetch" href="/ui/assets/js/34.878642a4.js"><link rel="prefetch" href="/ui/assets/js/35.f7f52224.js"><link rel="prefetch" href="/ui/assets/js/36.45c20fb6.js"><link rel="prefetch" href="/ui/assets/js/37.189849a1.js"><link rel="prefetch" href="/ui/assets/js/38.8f174f10.js"><link rel="prefetch" href="/ui/assets/js/39.b294ed8d.js"><link rel="prefetch" href="/ui/assets/js/4.7bd9f4a3.js"><link rel="prefetch" href="/ui/assets/js/40.6afeb293.js"><link rel="prefetch" href="/ui/assets/js/41.fa92ab20.js"><link rel="prefetch" href="/ui/assets/js/42.eb0d3dee.js"><link rel="prefetch" href="/ui/assets/js/43.4cb5a996.js"><link rel="prefetch" href="/ui/assets/js/44.8ad07927.js"><link rel="prefetch" href="/ui/assets/js/45.22d2b977.js"><link rel="prefetch" href="/ui/assets/js/46.0c525e98.js"><link rel="prefetch" href="/ui/assets/js/47.6e6502a8.js"><link rel="prefetch" href="/ui/assets/js/48.ed8002fb.js"><link rel="prefetch" href="/ui/assets/js/49.c8d00d03.js"><link rel="prefetch" href="/ui/assets/js/5.483bab38.js"><link rel="prefetch" href="/ui/assets/js/50.fb75323a.js"><link rel="prefetch" href="/ui/assets/js/51.edf2edfb.js"><link rel="prefetch" href="/ui/assets/js/52.5446b912.js"><link rel="prefetch" href="/ui/assets/js/53.6b9b720d.js"><link rel="prefetch" href="/ui/assets/js/54.40c92165.js"><link rel="prefetch" href="/ui/assets/js/55.f2fbeb18.js"><link rel="prefetch" href="/ui/assets/js/56.a3639b20.js"><link rel="prefetch" href="/ui/assets/js/57.22996237.js"><link rel="prefetch" href="/ui/assets/js/58.42978de0.js"><link rel="prefetch" href="/ui/assets/js/59.8e7b3231.js"><link rel="prefetch" href="/ui/assets/js/6.3a8198b7.js"><link rel="prefetch" href="/ui/assets/js/60.acceaccf.js"><link rel="prefetch" href="/ui/assets/js/61.8696a75b.js"><link rel="prefetch" href="/ui/assets/js/62.bd8321e9.js"><link rel="prefetch" href="/ui/assets/js/63.f906c971.js"><link rel="prefetch" href="/ui/assets/js/64.8eac7073.js"><link rel="prefetch" href="/ui/assets/js/65.0f62b36f.js"><link rel="prefetch" href="/ui/assets/js/66.ceff7aba.js"><link rel="prefetch" href="/ui/assets/js/67.58bef26a.js"><link rel="prefetch" href="/ui/assets/js/68.2b4a214f.js"><link rel="prefetch" href="/ui/assets/js/7.584ff5fa.js"><link rel="prefetch" href="/ui/assets/js/8.7fae4912.js"><link rel="prefetch" href="/ui/assets/js/9.95e78100.js">
|
|
<link rel="stylesheet" href="/ui/assets/css/0.styles.306e632f.css">
|
|
</head>
|
|
<body>
|
|
<div id="app" data-server-rendered="true"><div class="theme-container"><header class="navbar"><div class="sidebar-button"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" viewBox="0 0 448 512" class="icon"><path fill="currentColor" d="M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"></path></svg></div> <a href="/ui/" class="home-link router-link-active"><!----> <span class="site-name">polkadot-js/ui</span></a> <div class="links"><div class="search-box"><input aria-label="Search" autocomplete="off" spellcheck="false" value=""> <!----></div> <nav class="nav-links can-hide"><div class="nav-item"><a href="https://github.com/polkadot-js/ui" target="_blank" rel="noopener noreferrer" class="nav-link external">
|
|
GitHub
|
|
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div> <!----></nav></div></header> <div class="sidebar-mask"></div> <aside class="sidebar"><nav class="nav-links"><div class="nav-item"><a href="https://github.com/polkadot-js/ui" target="_blank" rel="noopener noreferrer" class="nav-link external">
|
|
GitHub
|
|
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></div> <!----></nav> <ul class="sidebar-links"><li><a href="/ui/ui-identicon/" class="sidebar-link">@polkadot/ui-identicon</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/ui/ui-identicon/#usage-examples" class="sidebar-link">Usage Examples</a></li></ul></li><li><a href="/ui/ui-keyring/" class="sidebar-link">@polkadot/ui-keyring</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/ui/ui-keyring/#usage-examples" class="sidebar-link">Usage Examples</a></li><li class="sidebar-sub-header"><a href="/ui/ui-keyring/#observables" class="sidebar-link">Observables</a></li><li class="sidebar-sub-header"><a href="/ui/ui-keyring/#faq" class="sidebar-link">FAQ</a></li><li class="sidebar-sub-header"><a href="/ui/ui-keyring/#users" class="sidebar-link">Users</a></li></ul></li><li><a href="/ui/ui-settings/" class="sidebar-link">@polkadot/ui-settings</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/ui/ui-settings/#usage-examples" class="sidebar-link">Usage Examples</a></li><li class="sidebar-sub-header"><a href="/ui/ui-settings/#used-by" class="sidebar-link">Used by</a></li></ul></li><li><a href="/ui/ui-util/" class="sidebar-link">@polkadot/ui-util</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/ui/ui-util/#formatbalance" class="sidebar-link">formatBalance</a></li><li class="sidebar-sub-header"><a href="/ui/ui-util/#calcsi" class="sidebar-link">calcSi</a></li></ul></li><li><a href="/ui/CONTRIBUTING.html" class="sidebar-link">Contributing</a><ul class="sidebar-sub-headers"><li class="sidebar-sub-header"><a href="/ui/CONTRIBUTING.html#what" class="sidebar-link">What?</a></li><li class="sidebar-sub-header"><a href="/ui/CONTRIBUTING.html#rules" class="sidebar-link">Rules</a></li><li class="sidebar-sub-header"><a href="/ui/CONTRIBUTING.html#releases" class="sidebar-link">Releases</a></li><li class="sidebar-sub-header"><a href="/ui/CONTRIBUTING.html#changes-to-this-arrangement" class="sidebar-link">Changes to this arrangement</a></li><li class="sidebar-sub-header"><a href="/ui/CONTRIBUTING.html#heritage" class="sidebar-link">Heritage</a></li></ul></li></ul> </aside> <main class="page"> <div class="content default"><h1 id="type-parameters"><a href="#type-parameters" aria-hidden="true" class="header-anchor">#</a> Type parameters</h1> <h4 id="ss"><a href="#ss" aria-hidden="true" class="header-anchor">#</a> SS</h4> <h1 id="hierarchy"><a href="#hierarchy" aria-hidden="true" class="header-anchor">#</a> Hierarchy</h1> <p><code>PureComponent</code><<a href="/ui/ui-identicon/modules/_types_.html#props">Props</a>, <code>State</code>></p> <p><strong>↳ IdentityIcon</strong></p> <h1 id="methods"><a href="#methods" aria-hidden="true" class="header-anchor">#</a> Methods</h1> <p><a id="unsafe_componentwillmount"></a></p> <h2 id="optional-unsafe-componentwillmount"><a href="#optional-unsafe-componentwillmount" aria-hidden="true" class="header-anchor">#</a> <code><Optional></code> UNSAFE_componentWillMount</h2> <p>▸ <strong>UNSAFE_componentWillMount</strong>(): <code>void</code></p> <p><em>Inherited from DeprecatedLifecycle.UNSAFE_componentWillMount</em></p> <p><em>Defined in /home/travis/build/polkadot-js/ui/node_modules/@types/react/index.d.ts:613</em></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> <p>Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked.</p> <p><em><strong>deprecated</strong></em>: 16.3, use componentDidMount or the constructor instead</p> <p><em><strong>see</strong></em>: <a href="https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state" target="_blank" rel="noopener noreferrer">https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></p> <p><em><strong>see</strong></em>: <a href="https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path" target="_blank" rel="noopener noreferrer">https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></p> <p><strong>Returns:</strong> <code>void</code></p> <hr> <p><a id="unsafe_componentwillreceiveprops"></a></p> <h2 id="optional-unsafe-componentwillreceiveprops"><a href="#optional-unsafe-componentwillreceiveprops" aria-hidden="true" class="header-anchor">#</a> <code><Optional></code> UNSAFE_componentWillReceiveProps</h2> <p>▸ <strong>UNSAFE_componentWillReceiveProps</strong>(nextProps: <em><code>Readonly</code><<a href="/ui/ui-identicon/modules/_types_.html#props">Props</a>></em>, nextContext: <em><code>any</code></em>): <code>void</code></p> <p><em>Inherited from DeprecatedLifecycle.UNSAFE_componentWillReceiveProps</em></p> <p><em>Defined in /home/travis/build/polkadot-js/ui/node_modules/@types/react/index.d.ts:645</em></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> <p>Calling <code>Component#setState</code> generally does not trigger this method.</p> <p>This method will not stop working in React 17.</p> <p>Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked.</p> <p><em><strong>deprecated</strong></em>: 16.3, use static getDerivedStateFromProps instead</p> <p><em><strong>see</strong></em>: <a href="https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#updating-state-based-on-props" target="_blank" rel="noopener noreferrer">https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#updating-state-based-on-props<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></p> <p><em><strong>see</strong></em>: <a href="https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path" target="_blank" rel="noopener noreferrer">https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></p> <p><strong>Parameters:</strong></p> <table><thead><tr><th>Name</th> <th>Type</th></tr></thead> <tbody><tr><td>nextProps</td> <td><code>Readonly</code><<a href="/ui/ui-identicon/modules/_types_.html#props">Props</a>></td></tr> <tr><td>nextContext</td> <td><code>any</code></td></tr></tbody></table> <p><strong>Returns:</strong> <code>void</code></p> <hr> <p><a id="unsafe_componentwillupdate"></a></p> <h2 id="optional-unsafe-componentwillupdate"><a href="#optional-unsafe-componentwillupdate" aria-hidden="true" class="header-anchor">#</a> <code><Optional></code> UNSAFE_componentWillUpdate</h2> <p>▸ <strong>UNSAFE_componentWillUpdate</strong>(nextProps: <em><code>Readonly</code><<a href="/ui/ui-identicon/modules/_types_.html#props">Props</a>></em>, nextState: <em><code>Readonly</code><<code>State</code>></em>, nextContext: <em><code>any</code></em>): <code>void</code></p> <p><em>Inherited from DeprecatedLifecycle.UNSAFE_componentWillUpdate</em></p> <p><em>Defined in /home/travis/build/polkadot-js/ui/node_modules/@types/react/index.d.ts:673</em></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> <p>Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked.</p> <p><em><strong>deprecated</strong></em>: 16.3, use getSnapshotBeforeUpdate instead</p> <p><em><strong>see</strong></em>: <a href="https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update" target="_blank" rel="noopener noreferrer">https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></p> <p><em><strong>see</strong></em>: <a href="https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path" target="_blank" rel="noopener noreferrer">https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></p> <p><strong>Parameters:</strong></p> <table><thead><tr><th>Name</th> <th>Type</th></tr></thead> <tbody><tr><td>nextProps</td> <td><code>Readonly</code><<a href="/ui/ui-identicon/modules/_types_.html#props">Props</a>></td></tr> <tr><td>nextState</td> <td><code>Readonly</code><<code>State</code>></td></tr> <tr><td>nextContext</td> <td><code>any</code></td></tr></tbody></table> <p><strong>Returns:</strong> <code>void</code></p> <hr> <p><a id="componentdidcatch"></a></p> <h2 id="optional-componentdidcatch"><a href="#optional-componentdidcatch" aria-hidden="true" class="header-anchor">#</a> <code><Optional></code> componentDidCatch</h2> <p>▸ <strong>componentDidCatch</strong>(error: <em><code>Error</code></em>, errorInfo: <em><code>ErrorInfo</code></em>): <code>void</code></p> <p><em>Inherited from ComponentLifecycle.componentDidCatch</em></p> <p><em>Defined in /home/travis/build/polkadot-js/ui/node_modules/@types/react/index.d.ts:542</em></p> <p>Catches exceptions generated in descendant components. Unhandled exceptions will cause the entire component tree to unmount.</p> <p><strong>Parameters:</strong></p> <table><thead><tr><th>Name</th> <th>Type</th></tr></thead> <tbody><tr><td>error</td> <td><code>Error</code></td></tr> <tr><td>errorInfo</td> <td><code>ErrorInfo</code></td></tr></tbody></table> <p><strong>Returns:</strong> <code>void</code></p> <hr> <p><a id="componentdidmount"></a></p> <h2 id="optional-componentdidmount"><a href="#optional-componentdidmount" aria-hidden="true" class="header-anchor">#</a> <code><Optional></code> componentDidMount</h2> <p>▸ <strong>componentDidMount</strong>(): <code>void</code></p> <p><em>Inherited from ComponentLifecycle.componentDidMount</em></p> <p><em>Defined in /home/travis/build/polkadot-js/ui/node_modules/@types/react/index.d.ts:521</em></p> <p>Called immediately after a component is mounted. Setting state here will trigger re-rendering.</p> <p><strong>Returns:</strong> <code>void</code></p> <hr> <p><a id="componentdidupdate"></a></p> <h2 id="optional-componentdidupdate"><a href="#optional-componentdidupdate" aria-hidden="true" class="header-anchor">#</a> <code><Optional></code> componentDidUpdate</h2> <p>▸ <strong>componentDidUpdate</strong>(prevProps: <em><code>Readonly</code><<a href="/ui/ui-identicon/modules/_types_.html#props">Props</a>></em>, prevState: <em><code>Readonly</code><<code>State</code>></em>, snapshot?: <em><a href="">SS</a></em>): <code>void</code></p> <p><em>Inherited from NewLifecycle.componentDidUpdate</em></p> <p><em>Defined in /home/travis/build/polkadot-js/ui/node_modules/@types/react/index.d.ts:584</em></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> <table><thead><tr><th>Name</th> <th>Type</th></tr></thead> <tbody><tr><td>prevProps</td> <td><code>Readonly</code><<a href="/ui/ui-identicon/modules/_types_.html#props">Props</a>></td></tr> <tr><td>prevState</td> <td><code>Readonly</code><<code>State</code>></td></tr> <tr><td><code>Optional</code> snapshot</td> <td><a href="">SS</a></td></tr></tbody></table> <p><strong>Returns:</strong> <code>void</code></p> <hr> <p><a id="componentwillmount"></a></p> <h2 id="optional-componentwillmount"><a href="#optional-componentwillmount" aria-hidden="true" class="header-anchor">#</a> <code><Optional></code> componentWillMount</h2> <p>▸ <strong>componentWillMount</strong>(): <code>void</code></p> <p><em>Inherited from DeprecatedLifecycle.componentWillMount</em></p> <p><em>Defined in /home/travis/build/polkadot-js/ui/node_modules/@types/react/index.d.ts:599</em></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 prevents this from being invoked.</p> <p><em><strong>deprecated</strong></em>: 16.3, use componentDidMount or the constructor instead; will stop working in React 17</p> <p><em><strong>see</strong></em>: <a href="https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state" target="_blank" rel="noopener noreferrer">https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></p> <p><em><strong>see</strong></em>: <a href="https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path" target="_blank" rel="noopener noreferrer">https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></p> <p><strong>Returns:</strong> <code>void</code></p> <hr> <p><a id="componentwillreceiveprops"></a></p> <h2 id="optional-componentwillreceiveprops"><a href="#optional-componentwillreceiveprops" aria-hidden="true" class="header-anchor">#</a> <code><Optional></code> componentWillReceiveProps</h2> <p>▸ <strong>componentWillReceiveProps</strong>(nextProps: <em><code>Readonly</code><<a href="/ui/ui-identicon/modules/_types_.html#props">Props</a>></em>, nextContext: <em><code>any</code></em>): <code>void</code></p> <p><em>Inherited from DeprecatedLifecycle.componentWillReceiveProps</em></p> <p><em>Defined in /home/travis/build/polkadot-js/ui/node_modules/@types/react/index.d.ts:628</em></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> <p>Calling <code>Component#setState</code> generally does not trigger this method.</p> <p>Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked.</p> <p><em><strong>deprecated</strong></em>: 16.3, use static getDerivedStateFromProps instead; will stop working in React 17</p> <p><em><strong>see</strong></em>: <a href="https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#updating-state-based-on-props" target="_blank" rel="noopener noreferrer">https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#updating-state-based-on-props<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></p> <p><em><strong>see</strong></em>: <a href="https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path" target="_blank" rel="noopener noreferrer">https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></p> <p><strong>Parameters:</strong></p> <table><thead><tr><th>Name</th> <th>Type</th></tr></thead> <tbody><tr><td>nextProps</td> <td><code>Readonly</code><<a href="/ui/ui-identicon/modules/_types_.html#props">Props</a>></td></tr> <tr><td>nextContext</td> <td><code>any</code></td></tr></tbody></table> <p><strong>Returns:</strong> <code>void</code></p> <hr> <p><a id="componentwillunmount"></a></p> <h2 id="optional-componentwillunmount"><a href="#optional-componentwillunmount" aria-hidden="true" class="header-anchor">#</a> <code><Optional></code> componentWillUnmount</h2> <p>▸ <strong>componentWillUnmount</strong>(): <code>void</code></p> <p><em>Inherited from ComponentLifecycle.componentWillUnmount</em></p> <p><em>Defined in /home/travis/build/polkadot-js/ui/node_modules/@types/react/index.d.ts:537</em></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> <code>void</code></p> <hr> <p><a id="componentwillupdate"></a></p> <h2 id="optional-componentwillupdate"><a href="#optional-componentwillupdate" aria-hidden="true" class="header-anchor">#</a> <code><Optional></code> componentWillUpdate</h2> <p>▸ <strong>componentWillUpdate</strong>(nextProps: <em><code>Readonly</code><<a href="/ui/ui-identicon/modules/_types_.html#props">Props</a>></em>, nextState: <em><code>Readonly</code><<code>State</code>></em>, nextContext: <em><code>any</code></em>): <code>void</code></p> <p><em>Inherited from DeprecatedLifecycle.componentWillUpdate</em></p> <p><em>Defined in /home/travis/build/polkadot-js/ui/node_modules/@types/react/index.d.ts:658</em></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 prevents this from being invoked.</p> <p><em><strong>deprecated</strong></em>: 16.3, use getSnapshotBeforeUpdate instead; will stop working in React 17</p> <p><em><strong>see</strong></em>: <a href="https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update" target="_blank" rel="noopener noreferrer">https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></p> <p><em><strong>see</strong></em>: <a href="https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path" target="_blank" rel="noopener noreferrer">https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></p> <p><strong>Parameters:</strong></p> <table><thead><tr><th>Name</th> <th>Type</th></tr></thead> <tbody><tr><td>nextProps</td> <td><code>Readonly</code><<a href="/ui/ui-identicon/modules/_types_.html#props">Props</a>></td></tr> <tr><td>nextState</td> <td><code>Readonly</code><<code>State</code>></td></tr> <tr><td>nextContext</td> <td><code>any</code></td></tr></tbody></table> <p><strong>Returns:</strong> <code>void</code></p> <hr> <p><a id="getsnapshotbeforeupdate"></a></p> <h2 id="optional-getsnapshotbeforeupdate"><a href="#optional-getsnapshotbeforeupdate" aria-hidden="true" class="header-anchor">#</a> <code><Optional></code> getSnapshotBeforeUpdate</h2> <p>▸ <strong>getSnapshotBeforeUpdate</strong>(prevProps: <em><code>Readonly</code><<a href="/ui/ui-identicon/modules/_types_.html#props">Props</a>></em>, prevState: <em><code>Readonly</code><<code>State</code>></em>): <code>SS</code> | <code>null</code></p> <p><em>Inherited from NewLifecycle.getSnapshotBeforeUpdate</em></p> <p><em>Defined in /home/travis/build/polkadot-js/ui/node_modules/@types/react/index.d.ts:578</em></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> <p>Note: the presence of getSnapshotBeforeUpdate prevents any of the deprecated lifecycle events from running.</p> <p><strong>Parameters:</strong></p> <table><thead><tr><th>Name</th> <th>Type</th></tr></thead> <tbody><tr><td>prevProps</td> <td><code>Readonly</code><<a href="/ui/ui-identicon/modules/_types_.html#props">Props</a>></td></tr> <tr><td>prevState</td> <td><code>Readonly</code><<code>State</code>></td></tr></tbody></table> <p><strong>Returns:</strong> <code>SS</code> | <code>null</code></p> <hr> <p><a id="render"></a></p> <h2 id="render"><a href="#render" aria-hidden="true" class="header-anchor">#</a> render</h2> <p>▸ <strong>render</strong>(): <code>Element</code></p> <p><em>Defined in <a href="https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-identicon/src/Identicon.tsx#L91" target="_blank" rel="noopener noreferrer">Identicon.tsx:91<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></em></p> <p><strong>Returns:</strong> <code>Element</code></p> <hr> <p><a id="shouldcomponentupdate"></a></p> <h2 id="optional-shouldcomponentupdate"><a href="#optional-shouldcomponentupdate" aria-hidden="true" class="header-anchor">#</a> <code><Optional></code> shouldComponentUpdate</h2> <p>▸ <strong>shouldComponentUpdate</strong>(nextProps: <em><code>Readonly</code><<a href="/ui/ui-identicon/modules/_types_.html#props">Props</a>></em>, nextState: <em><code>Readonly</code><<code>State</code>></em>, nextContext: <em><code>any</code></em>): <code>boolean</code></p> <p><em>Inherited from ComponentLifecycle.shouldComponentUpdate</em></p> <p><em>Defined in /home/travis/build/polkadot-js/ui/node_modules/@types/react/index.d.ts:532</em></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 props or states have changed.</p> <p>If false is returned, <code>Component#render</code>, <code>componentWillUpdate</code> and <code>componentDidUpdate</code> will not be called.</p> <p><strong>Parameters:</strong></p> <table><thead><tr><th>Name</th> <th>Type</th></tr></thead> <tbody><tr><td>nextProps</td> <td><code>Readonly</code><<a href="/ui/ui-identicon/modules/_types_.html#props">Props</a>></td></tr> <tr><td>nextState</td> <td><code>Readonly</code><<code>State</code>></td></tr> <tr><td>nextContext</td> <td><code>any</code></td></tr></tbody></table> <p><strong>Returns:</strong> <code>boolean</code></p> <hr> <p><a id="getderivedstatefromprops"></a></p> <h2 id="static-getderivedstatefromprops"><a href="#static-getderivedstatefromprops" aria-hidden="true" class="header-anchor">#</a> <code><Static></code> getDerivedStateFromProps</h2> <p>▸ <strong>getDerivedStateFromProps</strong>(__namedParameters: <em><code>object</code></em>, prevState: <em><code>State</code></em>): <code>State</code> | <code>null</code></p> <p><em>Defined in <a href="https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-identicon/src/Identicon.tsx#L71" target="_blank" rel="noopener noreferrer">Identicon.tsx:71<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></em></p> <p><strong>Parameters:</strong></p> <table><thead><tr><th>Name</th> <th>Type</th></tr></thead> <tbody><tr><td>__namedParameters</td> <td><code>object</code></td></tr> <tr><td>prevState</td> <td><code>State</code></td></tr></tbody></table> <p><strong>Returns:</strong> <code>State</code> | <code>null</code></p> <hr> <p><a id="setdefaultprefix"></a></p> <h2 id="static-setdefaultprefix"><a href="#static-setdefaultprefix" aria-hidden="true" class="header-anchor">#</a> <code><Static></code> setDefaultPrefix</h2> <p>▸ <strong>setDefaultPrefix</strong>(prefix: <em><code>Prefix</code></em>): <code>void</code></p> <p><em>Defined in <a href="https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-identicon/src/Identicon.tsx#L67" target="_blank" rel="noopener noreferrer">Identicon.tsx:67<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></em></p> <p><strong>Parameters:</strong></p> <table><thead><tr><th>Name</th> <th>Type</th></tr></thead> <tbody><tr><td>prefix</td> <td><code>Prefix</code></td></tr></tbody></table> <p><strong>Returns:</strong> <code>void</code></p> <hr> <h1 id="object-literals"><a href="#object-literals" aria-hidden="true" class="header-anchor">#</a> Object literals</h1> <p><a id="state"></a></p> <h2 id="state"><a href="#state" aria-hidden="true" class="header-anchor">#</a> state</h2> <p><strong>state</strong>: <em><code>object</code></em></p> <p><em>Defined in <a href="https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-identicon/src/Identicon.tsx#L61" target="_blank" rel="noopener noreferrer">Identicon.tsx:61<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></em></p> <p><a id="state.address"></a></p> <h3 id="address"><a href="#address" aria-hidden="true" class="header-anchor">#</a> address</h3> <p><strong>● address</strong>: <em><code>null</code></em> = null</p> <p><em>Defined in <a href="https://github.com/polkadot-js/ui/blob/0dbdc7e/packages/ui-identicon/src/Identicon.tsx#L62" target="_blank" rel="noopener noreferrer">Identicon.tsx:62<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></em></p> <hr> <hr></div> <footer class="page-edit"><!----> <div class="last-updated"><span class="prefix">Last Updated: </span> <span class="time">2/27/2019, 10:22:45 AM</span></div></footer> <!----> </main></div><div class="global-ui"></div></div>
|
|
<script src="/ui/assets/js/app.1aabc8af.js" defer></script><script src="/ui/assets/js/2.6d27345c.js" defer></script><script src="/ui/assets/js/15.67fde83f.js" defer></script>
|
|
</body>
|
|
</html>
|