@jsonforms/material-renderers 3.1.0-alpha.0 → 3.1.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. package/lib/controls/MaterialBooleanControl.d.ts +1 -1
  2. package/lib/controls/MaterialBooleanToggleControl.d.ts +1 -1
  3. package/lib/controls/index.d.ts +2 -2
  4. package/lib/jsonforms-react-material.cjs.js +79 -11
  5. package/lib/jsonforms-react-material.cjs.js.map +1 -1
  6. package/lib/jsonforms-react-material.esm.js +79 -11
  7. package/lib/jsonforms-react-material.esm.js.map +1 -1
  8. package/lib/mui-controls/MuiCheckbox.d.ts +6 -1
  9. package/lib/mui-controls/MuiToggle.d.ts +6 -1
  10. package/package.json +23 -12
  11. package/src/additional/ListWithDetailMasterItem.tsx +1 -1
  12. package/src/controls/MaterialBooleanControl.tsx +84 -23
  13. package/src/controls/MaterialBooleanToggleControl.tsx +84 -23
  14. package/src/mui-controls/MuiCheckbox.tsx +12 -5
  15. package/src/mui-controls/MuiToggle.tsx +12 -5
  16. package/docs/assets/css/main.css +0 -1
  17. package/docs/assets/images/icons.png +0 -0
  18. package/docs/assets/images/icons@2x.png +0 -0
  19. package/docs/assets/images/widgets.png +0 -0
  20. package/docs/assets/images/widgets@2x.png +0 -0
  21. package/docs/assets/js/main.js +0 -51
  22. package/docs/assets/js/search.json +0 -1
  23. package/docs/classes/combinatorproperties.html +0 -957
  24. package/docs/classes/materialanyofstringorenumcontrol.html +0 -822
  25. package/docs/classes/materialtablecontrol.html +0 -999
  26. package/docs/globals.html +0 -4492
  27. package/docs/index.html +0 -753
  28. package/docs/interfaces/ajvprops.html +0 -162
  29. package/docs/interfaces/arraylayouttoolbarprops.html +0 -253
  30. package/docs/interfaces/categorizationstate.html +0 -154
  31. package/docs/interfaces/categorizationstepperstate.html +0 -154
  32. package/docs/interfaces/combinatorpropertiesprops.html +0 -182
  33. package/docs/interfaces/deletedialogprops.html +0 -225
  34. package/docs/interfaces/dispatchpropsofexpandpanel.html +0 -296
  35. package/docs/interfaces/emptytableprops.html +0 -154
  36. package/docs/interfaces/expandpanelprops.html +0 -594
  37. package/docs/interfaces/inputref.html +0 -168
  38. package/docs/interfaces/jsonformstheme.html +0 -352
  39. package/docs/interfaces/materialcategorizationlayoutrendererprops.html +0 -460
  40. package/docs/interfaces/materialcategorizationstepperlayoutrendererprops.html +0 -394
  41. package/docs/interfaces/materiallabelablelayoutrendererprops.html +0 -328
  42. package/docs/interfaces/materiallayoutrendererprops.html +0 -317
  43. package/docs/interfaces/materialtabletoolbarprops.html +0 -302
  44. package/docs/interfaces/muitextinputprops.html +0 -168
  45. package/docs/interfaces/nonemptycellcomponentprops.html +0 -266
  46. package/docs/interfaces/nonemptycellprops.html +0 -277
  47. package/docs/interfaces/nonemptyrowprops.html +0 -366
  48. package/docs/interfaces/ownoneofprops.html +0 -308
  49. package/docs/interfaces/ownpropsofexpandpanel.html +0 -397
  50. package/docs/interfaces/ownpropsofnonemptycell.html +0 -229
  51. package/docs/interfaces/statepropsofexpandpanel.html +0 -445
  52. package/docs/interfaces/tableheadercellprops.html +0 -154
  53. package/docs/interfaces/tablerowsprop.html +0 -330
  54. package/docs/interfaces/validationprops.html +0 -168
  55. package/docs/interfaces/withdeletedialogsupport.html +0 -170
  56. package/docs/interfaces/withinput.html +0 -154
  57. package/docs/interfaces/withoptionlabel.html +0 -230
  58. package/example/index.html +0 -16
  59. package/example/index.ts +0 -31
  60. package/rollup.config.js +0 -51
  61. package/stats.html +0 -3279
  62. package/test/renderers/MatchMediaMock.ts +0 -36
  63. package/test/renderers/MaterialAllOfRenderer.test.tsx +0 -114
  64. package/test/renderers/MaterialAnyOfRenderer.test.tsx +0 -310
  65. package/test/renderers/MaterialAnyOfStringOrEnumControl.test.tsx +0 -126
  66. package/test/renderers/MaterialArrayControl.test.tsx +0 -633
  67. package/test/renderers/MaterialArrayLayout.test.tsx +0 -528
  68. package/test/renderers/MaterialBooleanCell.test.tsx +0 -374
  69. package/test/renderers/MaterialBooleanToggleCell.test.tsx +0 -466
  70. package/test/renderers/MaterialBooleanToggleControl.test.tsx +0 -469
  71. package/test/renderers/MaterialCategorizationLayout.test.tsx +0 -458
  72. package/test/renderers/MaterialCategorizationStepperLayout.test.tsx +0 -647
  73. package/test/renderers/MaterialDateCell.test.tsx +0 -303
  74. package/test/renderers/MaterialDateControl.test.tsx +0 -411
  75. package/test/renderers/MaterialDateTimeControl.test.tsx +0 -417
  76. package/test/renderers/MaterialEnumArrayRenderer.test.tsx +0 -207
  77. package/test/renderers/MaterialEnumCell.test.tsx +0 -88
  78. package/test/renderers/MaterialEnumControl.test.tsx +0 -75
  79. package/test/renderers/MaterialGroupLayout.test.tsx +0 -90
  80. package/test/renderers/MaterialInputControl.test.tsx +0 -370
  81. package/test/renderers/MaterialIntegerCell.test.tsx +0 -333
  82. package/test/renderers/MaterialLabelRenderer.test.tsx +0 -114
  83. package/test/renderers/MaterialLayouts.test.tsx +0 -542
  84. package/test/renderers/MaterialListWithDetailRenderer.test.tsx +0 -279
  85. package/test/renderers/MaterialNativeControl.test.tsx +0 -81
  86. package/test/renderers/MaterialNumberCell.test.tsx +0 -382
  87. package/test/renderers/MaterialObjectControl.test.tsx +0 -186
  88. package/test/renderers/MaterialOneOfEnumCell.test.tsx +0 -94
  89. package/test/renderers/MaterialOneOfRadioGroupControl.test.tsx +0 -108
  90. package/test/renderers/MaterialOneOfRenderer.test.tsx +0 -603
  91. package/test/renderers/MaterialRadioGroupControl.test.tsx +0 -125
  92. package/test/renderers/MaterialSliderControl.test.tsx +0 -438
  93. package/test/renderers/MaterialTextCell.test.tsx +0 -541
  94. package/test/renderers/MaterialTextControl.test.tsx +0 -115
  95. package/test/renderers/MaterialTimeCell.test.tsx +0 -331
  96. package/test/renderers/MaterialTimeControl.test.tsx +0 -411
  97. package/test/renderers/util.ts +0 -50
  98. package/tsconfig.json +0 -13
  99. package/tsconfig.test.json +0 -7
  100. package/webpack/webpack.dev.js +0 -11
@@ -1,822 +0,0 @@
1
- <!doctype html>
2
- <html class="default no-js">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
- <title>MaterialAnyOfStringOrEnumControl | JSON Forms React Material Renderers</title>
7
- <meta name="description" content="Documentation for JSON Forms React Material Renderers">
8
- <meta name="viewport" content="width=device-width, initial-scale=1">
9
- <link rel="stylesheet" href="../assets/css/main.css">
10
- </head>
11
- <body>
12
- <header>
13
- <div class="tsd-page-toolbar">
14
- <div class="container">
15
- <div class="table-wrap">
16
- <div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
17
- <div class="field">
18
- <label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
19
- <input id="tsd-search-field" type="text" />
20
- </div>
21
- <ul class="results">
22
- <li class="state loading">Preparing search index...</li>
23
- <li class="state failure">The search index is not available</li>
24
- </ul>
25
- <a href="../index.html" class="title">JSON Forms React Material Renderers</a>
26
- </div>
27
- <div class="table-cell" id="tsd-widgets">
28
- <div id="tsd-filter">
29
- <a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
30
- <div class="tsd-filter-group">
31
- <div class="tsd-select" id="tsd-filter-visibility">
32
- <span class="tsd-select-label">All</span>
33
- <ul class="tsd-select-list">
34
- <li data-value="public">Public</li>
35
- <li data-value="protected">Public/Protected</li>
36
- <li data-value="private" class="selected">All</li>
37
- </ul>
38
- </div>
39
- <input type="checkbox" id="tsd-filter-inherited" checked />
40
- <label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
41
- <input type="checkbox" id="tsd-filter-only-exported" />
42
- <label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
43
- </div>
44
- </div>
45
- <a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
46
- </div>
47
- </div>
48
- </div>
49
- </div>
50
- <div class="tsd-page-title">
51
- <div class="container">
52
- <ul class="tsd-breadcrumb">
53
- <li>
54
- <a href="../globals.html">Globals</a>
55
- </li>
56
- <li>
57
- <a href="materialanyofstringorenumcontrol.html">MaterialAnyOfStringOrEnumControl</a>
58
- </li>
59
- </ul>
60
- <h1>Class MaterialAnyOfStringOrEnumControl</h1>
61
- </div>
62
- </div>
63
- </header>
64
- <div class="container container-main">
65
- <div class="row">
66
- <div class="col-8 col-content">
67
- <section class="tsd-panel tsd-hierarchy">
68
- <h3>Hierarchy</h3>
69
- <ul class="tsd-hierarchy">
70
- <li>
71
- <span class="tsd-signature-type">Control</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ControlProps</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">ControlState</span><span class="tsd-signature-symbol">&gt;</span>
72
- <ul class="tsd-hierarchy">
73
- <li>
74
- <span class="target">MaterialAnyOfStringOrEnumControl</span>
75
- </li>
76
- </ul>
77
- </li>
78
- </ul>
79
- </section>
80
- <section class="tsd-panel-group tsd-index-group">
81
- <h2>Index</h2>
82
- <section class="tsd-panel tsd-index-panel">
83
- <div class="tsd-index-content">
84
- <section class="tsd-index-section tsd-is-inherited">
85
- <h3>Constructors</h3>
86
- <ul class="tsd-index-list">
87
- <li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited"><a href="materialanyofstringorenumcontrol.html#constructor" class="tsd-kind-icon">constructor</a></li>
88
- </ul>
89
- </section>
90
- <section class="tsd-index-section tsd-is-inherited">
91
- <h3>Properties</h3>
92
- <ul class="tsd-index-list">
93
- <li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="materialanyofstringorenumcontrol.html#handlechange" class="tsd-kind-icon">handle<wbr>Change</a></li>
94
- <li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="materialanyofstringorenumcontrol.html#onblur" class="tsd-kind-icon">on<wbr>Blur</a></li>
95
- <li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="materialanyofstringorenumcontrol.html#onfocus" class="tsd-kind-icon">on<wbr>Focus</a></li>
96
- </ul>
97
- </section>
98
- <section class="tsd-index-section ">
99
- <h3>Methods</h3>
100
- <ul class="tsd-index-list">
101
- <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="materialanyofstringorenumcontrol.html#unsafe_componentwillmount" class="tsd-kind-icon">UNSAFE_<wbr>component<wbr>Will<wbr>Mount</a></li>
102
- <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="materialanyofstringorenumcontrol.html#unsafe_componentwillreceiveprops" class="tsd-kind-icon">UNSAFE_<wbr>component<wbr>Will<wbr>Receive<wbr>Props</a></li>
103
- <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="materialanyofstringorenumcontrol.html#unsafe_componentwillupdate" class="tsd-kind-icon">UNSAFE_<wbr>component<wbr>Will<wbr>Update</a></li>
104
- <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="materialanyofstringorenumcontrol.html#componentdidcatch" class="tsd-kind-icon">component<wbr>Did<wbr>Catch</a></li>
105
- <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="materialanyofstringorenumcontrol.html#componentdidmount" class="tsd-kind-icon">component<wbr>Did<wbr>Mount</a></li>
106
- <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="materialanyofstringorenumcontrol.html#componentdidupdate" class="tsd-kind-icon">component<wbr>Did<wbr>Update</a></li>
107
- <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="materialanyofstringorenumcontrol.html#componentwillmount" class="tsd-kind-icon">component<wbr>Will<wbr>Mount</a></li>
108
- <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="materialanyofstringorenumcontrol.html#componentwillreceiveprops" class="tsd-kind-icon">component<wbr>Will<wbr>Receive<wbr>Props</a></li>
109
- <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="materialanyofstringorenumcontrol.html#componentwillunmount" class="tsd-kind-icon">component<wbr>Will<wbr>Unmount</a></li>
110
- <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="materialanyofstringorenumcontrol.html#componentwillupdate" class="tsd-kind-icon">component<wbr>Will<wbr>Update</a></li>
111
- <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="materialanyofstringorenumcontrol.html#getsnapshotbeforeupdate" class="tsd-kind-icon">get<wbr>Snapshot<wbr>Before<wbr>Update</a></li>
112
- <li class="tsd-kind-method tsd-parent-kind-class"><a href="materialanyofstringorenumcontrol.html#render" class="tsd-kind-icon">render</a></li>
113
- <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="materialanyofstringorenumcontrol.html#shouldcomponentupdate" class="tsd-kind-icon">should<wbr>Component<wbr>Update</a></li>
114
- </ul>
115
- </section>
116
- </div>
117
- </section>
118
- </section>
119
- <section class="tsd-panel-group tsd-member-group tsd-is-inherited">
120
- <h2>Constructors</h2>
121
- <section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited">
122
- <a name="constructor" class="tsd-anchor"></a>
123
- <h3>constructor</h3>
124
- <ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited">
125
- <li class="tsd-signature tsd-kind-icon">new <wbr>Material<wbr>Any<wbr>OfString<wbr>OrEnum<wbr>Control<span class="tsd-signature-symbol">(</span>props<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ControlProps</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="materialanyofstringorenumcontrol.html" class="tsd-signature-type">MaterialAnyOfStringOrEnumControl</a></li>
126
- </ul>
127
- <ul class="tsd-descriptions">
128
- <li class="tsd-description">
129
- <aside class="tsd-sources">
130
- <p>Inherited from <a href="materialanyofstringorenumcontrol.html">MaterialAnyOfStringOrEnumControl</a>.<a href="materialanyofstringorenumcontrol.html#constructor">constructor</a></p>
131
- <p>Overrides RendererComponent.__constructor</p>
132
- <ul>
133
- </ul>
134
- </aside>
135
- <h4 class="tsd-parameters-title">Parameters</h4>
136
- <ul class="tsd-parameters">
137
- <li>
138
- <h5>props: <span class="tsd-signature-type">ControlProps</span></h5>
139
- </li>
140
- </ul>
141
- <h4 class="tsd-returns-title">Returns <a href="materialanyofstringorenumcontrol.html" class="tsd-signature-type">MaterialAnyOfStringOrEnumControl</a></h4>
142
- </li>
143
- </ul>
144
- </section>
145
- </section>
146
- <section class="tsd-panel-group tsd-member-group tsd-is-inherited">
147
- <h2>Properties</h2>
148
- <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
149
- <a name="handlechange" class="tsd-anchor"></a>
150
- <h3>handle<wbr>Change</h3>
151
- <div class="tsd-signature tsd-kind-icon">handle<wbr>Change<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span></div>
152
- <aside class="tsd-sources">
153
- <p>Inherited from <a href="materialanyofstringorenumcontrol.html">MaterialAnyOfStringOrEnumControl</a>.<a href="materialanyofstringorenumcontrol.html#handlechange">handleChange</a></p>
154
- <ul>
155
- </ul>
156
- </aside>
157
- <div class="tsd-comment tsd-typography">
158
- <div class="lead">
159
- <p>Propagates a value change.</p>
160
- </div>
161
- <dl class="tsd-comment-tags">
162
- <dt>param</dt>
163
- <dd><p>the updated value</p>
164
- </dd>
165
- </dl>
166
- </div>
167
- <div class="tsd-type-declaration">
168
- <h4>Type declaration</h4>
169
- <ul class="tsd-parameters">
170
- <li class="tsd-parameter-signature">
171
- <ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-property">
172
- <li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
173
- </ul>
174
- <ul class="tsd-descriptions">
175
- <li class="tsd-description">
176
- <h4 class="tsd-parameters-title">Parameters</h4>
177
- <ul class="tsd-parameters">
178
- <li>
179
- <h5>value: <span class="tsd-signature-type">any</span></h5>
180
- </li>
181
- </ul>
182
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
183
- </li>
184
- </ul>
185
- </li>
186
- </ul>
187
- </div>
188
- </section>
189
- <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
190
- <a name="onblur" class="tsd-anchor"></a>
191
- <h3>on<wbr>Blur</h3>
192
- <div class="tsd-signature tsd-kind-icon">on<wbr>Blur<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span></div>
193
- <aside class="tsd-sources">
194
- <p>Inherited from <a href="materialanyofstringorenumcontrol.html">MaterialAnyOfStringOrEnumControl</a>.<a href="materialanyofstringorenumcontrol.html#onblur">onBlur</a></p>
195
- <ul>
196
- </ul>
197
- </aside>
198
- <div class="tsd-comment tsd-typography">
199
- <div class="lead">
200
- <p>Set the focused state to false.</p>
201
- </div>
202
- </div>
203
- <div class="tsd-type-declaration">
204
- <h4>Type declaration</h4>
205
- <ul class="tsd-parameters">
206
- <li class="tsd-parameter-signature">
207
- <ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-property">
208
- <li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
209
- </ul>
210
- <ul class="tsd-descriptions">
211
- <li class="tsd-description">
212
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
213
- </li>
214
- </ul>
215
- </li>
216
- </ul>
217
- </div>
218
- </section>
219
- <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
220
- <a name="onfocus" class="tsd-anchor"></a>
221
- <h3>on<wbr>Focus</h3>
222
- <div class="tsd-signature tsd-kind-icon">on<wbr>Focus<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span></div>
223
- <aside class="tsd-sources">
224
- <p>Inherited from <a href="materialanyofstringorenumcontrol.html">MaterialAnyOfStringOrEnumControl</a>.<a href="materialanyofstringorenumcontrol.html#onfocus">onFocus</a></p>
225
- <ul>
226
- </ul>
227
- </aside>
228
- <div class="tsd-comment tsd-typography">
229
- <div class="lead">
230
- <p>Set the focused state to true.</p>
231
- </div>
232
- </div>
233
- <div class="tsd-type-declaration">
234
- <h4>Type declaration</h4>
235
- <ul class="tsd-parameters">
236
- <li class="tsd-parameter-signature">
237
- <ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-property">
238
- <li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
239
- </ul>
240
- <ul class="tsd-descriptions">
241
- <li class="tsd-description">
242
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
243
- </li>
244
- </ul>
245
- </li>
246
- </ul>
247
- </div>
248
- </section>
249
- </section>
250
- <section class="tsd-panel-group tsd-member-group ">
251
- <h2>Methods</h2>
252
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
253
- <a name="unsafe_componentwillmount" class="tsd-anchor"></a>
254
- <h3><span class="tsd-flag ts-flagOptional">Optional</span> UNSAFE_<wbr>component<wbr>Will<wbr>Mount</h3>
255
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
256
- <li class="tsd-signature tsd-kind-icon">UNSAFE_<wbr>component<wbr>Will<wbr>Mount<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
257
- </ul>
258
- <ul class="tsd-descriptions">
259
- <li class="tsd-description">
260
- <aside class="tsd-sources">
261
- <p>Inherited from <a href="combinatorproperties.html">CombinatorProperties</a>.<a href="combinatorproperties.html#unsafe_componentwillmount">UNSAFE_componentWillMount</a></p>
262
- <ul>
263
- </ul>
264
- </aside>
265
- <div class="tsd-comment tsd-typography">
266
- <div class="lead">
267
- <p>Called immediately before mounting occurs, and before <code>Component#render</code>.
268
- Avoid introducing any side-effects or subscriptions in this method.</p>
269
- </div>
270
- <p>This method will not stop working in React 17.</p>
271
- <p>Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps
272
- prevents this from being invoked.</p>
273
- <dl class="tsd-comment-tags">
274
- <dt>deprecated</dt>
275
- <dd><p>16.3, use componentDidMount or the constructor instead</p>
276
- </dd>
277
- <dt>see</dt>
278
- <dd><p><a href="https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state">https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state</a></p>
279
- </dd>
280
- <dt>see</dt>
281
- <dd><p><a href="https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path">https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path</a></p>
282
- </dd>
283
- </dl>
284
- </div>
285
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
286
- </li>
287
- </ul>
288
- </section>
289
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
290
- <a name="unsafe_componentwillreceiveprops" class="tsd-anchor"></a>
291
- <h3><span class="tsd-flag ts-flagOptional">Optional</span> UNSAFE_<wbr>component<wbr>Will<wbr>Receive<wbr>Props</h3>
292
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
293
- <li class="tsd-signature tsd-kind-icon">UNSAFE_<wbr>component<wbr>Will<wbr>Receive<wbr>Props<span class="tsd-signature-symbol">(</span>nextProps<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ControlProps</span><span class="tsd-signature-symbol">&gt;</span>, nextContext<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
294
- </ul>
295
- <ul class="tsd-descriptions">
296
- <li class="tsd-description">
297
- <aside class="tsd-sources">
298
- <p>Inherited from <a href="combinatorproperties.html">CombinatorProperties</a>.<a href="combinatorproperties.html#unsafe_componentwillreceiveprops">UNSAFE_componentWillReceiveProps</a></p>
299
- <ul>
300
- </ul>
301
- </aside>
302
- <div class="tsd-comment tsd-typography">
303
- <div class="lead">
304
- <p>Called when the component may be receiving new props.
305
- React may call this even if props have not changed, so be sure to compare new and existing
306
- props if you only want to handle changes.</p>
307
- </div>
308
- <p>Calling <code>Component#setState</code> generally does not trigger this method.</p>
309
- <p>This method will not stop working in React 17.</p>
310
- <p>Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps
311
- prevents this from being invoked.</p>
312
- <dl class="tsd-comment-tags">
313
- <dt>deprecated</dt>
314
- <dd><p>16.3, use static getDerivedStateFromProps instead</p>
315
- </dd>
316
- <dt>see</dt>
317
- <dd><p><a href="https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#updating-state-based-on-props">https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#updating-state-based-on-props</a></p>
318
- </dd>
319
- <dt>see</dt>
320
- <dd><p><a href="https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path">https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path</a></p>
321
- </dd>
322
- </dl>
323
- </div>
324
- <h4 class="tsd-parameters-title">Parameters</h4>
325
- <ul class="tsd-parameters">
326
- <li>
327
- <h5>nextProps: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ControlProps</span><span class="tsd-signature-symbol">&gt;</span></h5>
328
- </li>
329
- <li>
330
- <h5>nextContext: <span class="tsd-signature-type">any</span></h5>
331
- </li>
332
- </ul>
333
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
334
- </li>
335
- </ul>
336
- </section>
337
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
338
- <a name="unsafe_componentwillupdate" class="tsd-anchor"></a>
339
- <h3><span class="tsd-flag ts-flagOptional">Optional</span> UNSAFE_<wbr>component<wbr>Will<wbr>Update</h3>
340
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
341
- <li class="tsd-signature tsd-kind-icon">UNSAFE_<wbr>component<wbr>Will<wbr>Update<span class="tsd-signature-symbol">(</span>nextProps<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ControlProps</span><span class="tsd-signature-symbol">&gt;</span>, nextState<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ControlState</span><span class="tsd-signature-symbol">&gt;</span>, nextContext<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
342
- </ul>
343
- <ul class="tsd-descriptions">
344
- <li class="tsd-description">
345
- <aside class="tsd-sources">
346
- <p>Inherited from <a href="combinatorproperties.html">CombinatorProperties</a>.<a href="combinatorproperties.html#unsafe_componentwillupdate">UNSAFE_componentWillUpdate</a></p>
347
- <ul>
348
- </ul>
349
- </aside>
350
- <div class="tsd-comment tsd-typography">
351
- <div class="lead">
352
- <p>Called immediately before rendering when new props or state is received. Not called for the initial render.</p>
353
- </div>
354
- <p>Note: You cannot call <code>Component#setState</code> here.</p>
355
- <p>This method will not stop working in React 17.</p>
356
- <p>Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps
357
- prevents this from being invoked.</p>
358
- <dl class="tsd-comment-tags">
359
- <dt>deprecated</dt>
360
- <dd><p>16.3, use getSnapshotBeforeUpdate instead</p>
361
- </dd>
362
- <dt>see</dt>
363
- <dd><p><a href="https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update">https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update</a></p>
364
- </dd>
365
- <dt>see</dt>
366
- <dd><p><a href="https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path">https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path</a></p>
367
- </dd>
368
- </dl>
369
- </div>
370
- <h4 class="tsd-parameters-title">Parameters</h4>
371
- <ul class="tsd-parameters">
372
- <li>
373
- <h5>nextProps: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ControlProps</span><span class="tsd-signature-symbol">&gt;</span></h5>
374
- </li>
375
- <li>
376
- <h5>nextState: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ControlState</span><span class="tsd-signature-symbol">&gt;</span></h5>
377
- </li>
378
- <li>
379
- <h5>nextContext: <span class="tsd-signature-type">any</span></h5>
380
- </li>
381
- </ul>
382
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
383
- </li>
384
- </ul>
385
- </section>
386
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
387
- <a name="componentdidcatch" class="tsd-anchor"></a>
388
- <h3><span class="tsd-flag ts-flagOptional">Optional</span> component<wbr>Did<wbr>Catch</h3>
389
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
390
- <li class="tsd-signature tsd-kind-icon">component<wbr>Did<wbr>Catch<span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span>, errorInfo<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ErrorInfo</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
391
- </ul>
392
- <ul class="tsd-descriptions">
393
- <li class="tsd-description">
394
- <aside class="tsd-sources">
395
- <p>Inherited from <a href="combinatorproperties.html">CombinatorProperties</a>.<a href="combinatorproperties.html#componentdidcatch">componentDidCatch</a></p>
396
- <ul>
397
- </ul>
398
- </aside>
399
- <div class="tsd-comment tsd-typography">
400
- <div class="lead">
401
- <p>Catches exceptions generated in descendant components. Unhandled exceptions will cause
402
- the entire component tree to unmount.</p>
403
- </div>
404
- </div>
405
- <h4 class="tsd-parameters-title">Parameters</h4>
406
- <ul class="tsd-parameters">
407
- <li>
408
- <h5>error: <span class="tsd-signature-type">Error</span></h5>
409
- </li>
410
- <li>
411
- <h5>errorInfo: <span class="tsd-signature-type">ErrorInfo</span></h5>
412
- </li>
413
- </ul>
414
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
415
- </li>
416
- </ul>
417
- </section>
418
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
419
- <a name="componentdidmount" class="tsd-anchor"></a>
420
- <h3><span class="tsd-flag ts-flagOptional">Optional</span> component<wbr>Did<wbr>Mount</h3>
421
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
422
- <li class="tsd-signature tsd-kind-icon">component<wbr>Did<wbr>Mount<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
423
- </ul>
424
- <ul class="tsd-descriptions">
425
- <li class="tsd-description">
426
- <aside class="tsd-sources">
427
- <p>Inherited from <a href="combinatorproperties.html">CombinatorProperties</a>.<a href="combinatorproperties.html#componentdidmount">componentDidMount</a></p>
428
- <ul>
429
- </ul>
430
- </aside>
431
- <div class="tsd-comment tsd-typography">
432
- <div class="lead">
433
- <p>Called immediately after a component is mounted. Setting state here will trigger re-rendering.</p>
434
- </div>
435
- </div>
436
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
437
- </li>
438
- </ul>
439
- </section>
440
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
441
- <a name="componentdidupdate" class="tsd-anchor"></a>
442
- <h3><span class="tsd-flag ts-flagOptional">Optional</span> component<wbr>Did<wbr>Update</h3>
443
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
444
- <li class="tsd-signature tsd-kind-icon">component<wbr>Did<wbr>Update<span class="tsd-signature-symbol">(</span>prevProps<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ControlProps</span><span class="tsd-signature-symbol">&gt;</span>, prevState<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ControlState</span><span class="tsd-signature-symbol">&gt;</span>, snapshot<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
445
- </ul>
446
- <ul class="tsd-descriptions">
447
- <li class="tsd-description">
448
- <aside class="tsd-sources">
449
- <p>Inherited from <a href="combinatorproperties.html">CombinatorProperties</a>.<a href="combinatorproperties.html#componentdidupdate">componentDidUpdate</a></p>
450
- <ul>
451
- </ul>
452
- </aside>
453
- <div class="tsd-comment tsd-typography">
454
- <div class="lead">
455
- <p>Called immediately after updating occurs. Not called for the initial render.</p>
456
- </div>
457
- <p>The snapshot is only present if getSnapshotBeforeUpdate is present and returns non-null.</p>
458
- </div>
459
- <h4 class="tsd-parameters-title">Parameters</h4>
460
- <ul class="tsd-parameters">
461
- <li>
462
- <h5>prevProps: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ControlProps</span><span class="tsd-signature-symbol">&gt;</span></h5>
463
- </li>
464
- <li>
465
- <h5>prevState: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ControlState</span><span class="tsd-signature-symbol">&gt;</span></h5>
466
- </li>
467
- <li>
468
- <h5><span class="tsd-flag ts-flagOptional">Optional</span> snapshot: <span class="tsd-signature-type">any</span></h5>
469
- </li>
470
- </ul>
471
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
472
- </li>
473
- </ul>
474
- </section>
475
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
476
- <a name="componentwillmount" class="tsd-anchor"></a>
477
- <h3><span class="tsd-flag ts-flagOptional">Optional</span> component<wbr>Will<wbr>Mount</h3>
478
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
479
- <li class="tsd-signature tsd-kind-icon">component<wbr>Will<wbr>Mount<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
480
- </ul>
481
- <ul class="tsd-descriptions">
482
- <li class="tsd-description">
483
- <aside class="tsd-sources">
484
- <p>Inherited from <a href="combinatorproperties.html">CombinatorProperties</a>.<a href="combinatorproperties.html#componentwillmount">componentWillMount</a></p>
485
- <ul>
486
- </ul>
487
- </aside>
488
- <div class="tsd-comment tsd-typography">
489
- <div class="lead">
490
- <p>Called immediately before mounting occurs, and before <code>Component#render</code>.
491
- Avoid introducing any side-effects or subscriptions in this method.</p>
492
- </div>
493
- <p>Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps
494
- prevents this from being invoked.</p>
495
- <dl class="tsd-comment-tags">
496
- <dt>deprecated</dt>
497
- <dd><p>16.3, use componentDidMount or the constructor instead; will stop working in React 17</p>
498
- </dd>
499
- <dt>see</dt>
500
- <dd><p><a href="https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state">https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state</a></p>
501
- </dd>
502
- <dt>see</dt>
503
- <dd><p><a href="https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path">https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path</a></p>
504
- </dd>
505
- </dl>
506
- </div>
507
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
508
- </li>
509
- </ul>
510
- </section>
511
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
512
- <a name="componentwillreceiveprops" class="tsd-anchor"></a>
513
- <h3><span class="tsd-flag ts-flagOptional">Optional</span> component<wbr>Will<wbr>Receive<wbr>Props</h3>
514
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
515
- <li class="tsd-signature tsd-kind-icon">component<wbr>Will<wbr>Receive<wbr>Props<span class="tsd-signature-symbol">(</span>nextProps<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ControlProps</span><span class="tsd-signature-symbol">&gt;</span>, nextContext<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
516
- </ul>
517
- <ul class="tsd-descriptions">
518
- <li class="tsd-description">
519
- <aside class="tsd-sources">
520
- <p>Inherited from <a href="combinatorproperties.html">CombinatorProperties</a>.<a href="combinatorproperties.html#componentwillreceiveprops">componentWillReceiveProps</a></p>
521
- <ul>
522
- </ul>
523
- </aside>
524
- <div class="tsd-comment tsd-typography">
525
- <div class="lead">
526
- <p>Called when the component may be receiving new props.
527
- React may call this even if props have not changed, so be sure to compare new and existing
528
- props if you only want to handle changes.</p>
529
- </div>
530
- <p>Calling <code>Component#setState</code> generally does not trigger this method.</p>
531
- <p>Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps
532
- prevents this from being invoked.</p>
533
- <dl class="tsd-comment-tags">
534
- <dt>deprecated</dt>
535
- <dd><p>16.3, use static getDerivedStateFromProps instead; will stop working in React 17</p>
536
- </dd>
537
- <dt>see</dt>
538
- <dd><p><a href="https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#updating-state-based-on-props">https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#updating-state-based-on-props</a></p>
539
- </dd>
540
- <dt>see</dt>
541
- <dd><p><a href="https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path">https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path</a></p>
542
- </dd>
543
- </dl>
544
- </div>
545
- <h4 class="tsd-parameters-title">Parameters</h4>
546
- <ul class="tsd-parameters">
547
- <li>
548
- <h5>nextProps: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ControlProps</span><span class="tsd-signature-symbol">&gt;</span></h5>
549
- </li>
550
- <li>
551
- <h5>nextContext: <span class="tsd-signature-type">any</span></h5>
552
- </li>
553
- </ul>
554
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
555
- </li>
556
- </ul>
557
- </section>
558
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
559
- <a name="componentwillunmount" class="tsd-anchor"></a>
560
- <h3><span class="tsd-flag ts-flagOptional">Optional</span> component<wbr>Will<wbr>Unmount</h3>
561
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
562
- <li class="tsd-signature tsd-kind-icon">component<wbr>Will<wbr>Unmount<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
563
- </ul>
564
- <ul class="tsd-descriptions">
565
- <li class="tsd-description">
566
- <aside class="tsd-sources">
567
- <p>Inherited from <a href="combinatorproperties.html">CombinatorProperties</a>.<a href="combinatorproperties.html#componentwillunmount">componentWillUnmount</a></p>
568
- <ul>
569
- </ul>
570
- </aside>
571
- <div class="tsd-comment tsd-typography">
572
- <div class="lead">
573
- <p>Called immediately before a component is destroyed. Perform any necessary cleanup in this method, such as
574
- cancelled network requests, or cleaning up any DOM elements created in <code>componentDidMount</code>.</p>
575
- </div>
576
- </div>
577
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
578
- </li>
579
- </ul>
580
- </section>
581
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
582
- <a name="componentwillupdate" class="tsd-anchor"></a>
583
- <h3><span class="tsd-flag ts-flagOptional">Optional</span> component<wbr>Will<wbr>Update</h3>
584
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
585
- <li class="tsd-signature tsd-kind-icon">component<wbr>Will<wbr>Update<span class="tsd-signature-symbol">(</span>nextProps<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ControlProps</span><span class="tsd-signature-symbol">&gt;</span>, nextState<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ControlState</span><span class="tsd-signature-symbol">&gt;</span>, nextContext<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
586
- </ul>
587
- <ul class="tsd-descriptions">
588
- <li class="tsd-description">
589
- <aside class="tsd-sources">
590
- <p>Inherited from <a href="combinatorproperties.html">CombinatorProperties</a>.<a href="combinatorproperties.html#componentwillupdate">componentWillUpdate</a></p>
591
- <ul>
592
- </ul>
593
- </aside>
594
- <div class="tsd-comment tsd-typography">
595
- <div class="lead">
596
- <p>Called immediately before rendering when new props or state is received. Not called for the initial render.</p>
597
- </div>
598
- <p>Note: You cannot call <code>Component#setState</code> here.</p>
599
- <p>Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps
600
- prevents this from being invoked.</p>
601
- <dl class="tsd-comment-tags">
602
- <dt>deprecated</dt>
603
- <dd><p>16.3, use getSnapshotBeforeUpdate instead; will stop working in React 17</p>
604
- </dd>
605
- <dt>see</dt>
606
- <dd><p><a href="https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update">https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update</a></p>
607
- </dd>
608
- <dt>see</dt>
609
- <dd><p><a href="https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path">https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path</a></p>
610
- </dd>
611
- </dl>
612
- </div>
613
- <h4 class="tsd-parameters-title">Parameters</h4>
614
- <ul class="tsd-parameters">
615
- <li>
616
- <h5>nextProps: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ControlProps</span><span class="tsd-signature-symbol">&gt;</span></h5>
617
- </li>
618
- <li>
619
- <h5>nextState: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ControlState</span><span class="tsd-signature-symbol">&gt;</span></h5>
620
- </li>
621
- <li>
622
- <h5>nextContext: <span class="tsd-signature-type">any</span></h5>
623
- </li>
624
- </ul>
625
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
626
- </li>
627
- </ul>
628
- </section>
629
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
630
- <a name="getsnapshotbeforeupdate" class="tsd-anchor"></a>
631
- <h3><span class="tsd-flag ts-flagOptional">Optional</span> get<wbr>Snapshot<wbr>Before<wbr>Update</h3>
632
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
633
- <li class="tsd-signature tsd-kind-icon">get<wbr>Snapshot<wbr>Before<wbr>Update<span class="tsd-signature-symbol">(</span>prevProps<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ControlProps</span><span class="tsd-signature-symbol">&gt;</span>, prevState<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ControlState</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span></li>
634
- </ul>
635
- <ul class="tsd-descriptions">
636
- <li class="tsd-description">
637
- <aside class="tsd-sources">
638
- <p>Inherited from <a href="combinatorproperties.html">CombinatorProperties</a>.<a href="combinatorproperties.html#getsnapshotbeforeupdate">getSnapshotBeforeUpdate</a></p>
639
- <ul>
640
- </ul>
641
- </aside>
642
- <div class="tsd-comment tsd-typography">
643
- <div class="lead">
644
- <p>Runs before React applies the result of <code>render</code> to the document, and
645
- returns an object to be given to componentDidUpdate. Useful for saving
646
- things such as scroll position before <code>render</code> causes changes to it.</p>
647
- </div>
648
- <p>Note: the presence of getSnapshotBeforeUpdate prevents any of the deprecated
649
- lifecycle events from running.</p>
650
- </div>
651
- <h4 class="tsd-parameters-title">Parameters</h4>
652
- <ul class="tsd-parameters">
653
- <li>
654
- <h5>prevProps: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ControlProps</span><span class="tsd-signature-symbol">&gt;</span></h5>
655
- </li>
656
- <li>
657
- <h5>prevState: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ControlState</span><span class="tsd-signature-symbol">&gt;</span></h5>
658
- </li>
659
- </ul>
660
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span></h4>
661
- </li>
662
- </ul>
663
- </section>
664
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
665
- <a name="render" class="tsd-anchor"></a>
666
- <h3>render</h3>
667
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
668
- <li class="tsd-signature tsd-kind-icon">render<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Element</span></li>
669
- </ul>
670
- <ul class="tsd-descriptions">
671
- <li class="tsd-description">
672
- <aside class="tsd-sources">
673
- <ul>
674
- <li>Defined in packages/material/src/controls/MaterialAnyOfStringOrEnumControl.tsx:109</li>
675
- </ul>
676
- </aside>
677
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Element</span></h4>
678
- </li>
679
- </ul>
680
- </section>
681
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
682
- <a name="shouldcomponentupdate" class="tsd-anchor"></a>
683
- <h3><span class="tsd-flag ts-flagOptional">Optional</span> should<wbr>Component<wbr>Update</h3>
684
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
685
- <li class="tsd-signature tsd-kind-icon">should<wbr>Component<wbr>Update<span class="tsd-signature-symbol">(</span>nextProps<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ControlProps</span><span class="tsd-signature-symbol">&gt;</span>, nextState<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ControlState</span><span class="tsd-signature-symbol">&gt;</span>, nextContext<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
686
- </ul>
687
- <ul class="tsd-descriptions">
688
- <li class="tsd-description">
689
- <aside class="tsd-sources">
690
- <p>Inherited from <a href="combinatorproperties.html">CombinatorProperties</a>.<a href="combinatorproperties.html#shouldcomponentupdate">shouldComponentUpdate</a></p>
691
- <ul>
692
- </ul>
693
- </aside>
694
- <div class="tsd-comment tsd-typography">
695
- <div class="lead">
696
- <p>Called to determine whether the change in props and state should trigger a re-render.</p>
697
- </div>
698
- <p><code>Component</code> always returns true.
699
- <code>PureComponent</code> implements a shallow comparison on props and state and returns true if any
700
- props or states have changed.</p>
701
- <p>If false is returned, <code>Component#render</code>, <code>componentWillUpdate</code>
702
- and <code>componentDidUpdate</code> will not be called.</p>
703
- </div>
704
- <h4 class="tsd-parameters-title">Parameters</h4>
705
- <ul class="tsd-parameters">
706
- <li>
707
- <h5>nextProps: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ControlProps</span><span class="tsd-signature-symbol">&gt;</span></h5>
708
- </li>
709
- <li>
710
- <h5>nextState: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ControlState</span><span class="tsd-signature-symbol">&gt;</span></h5>
711
- </li>
712
- <li>
713
- <h5>nextContext: <span class="tsd-signature-type">any</span></h5>
714
- </li>
715
- </ul>
716
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
717
- </li>
718
- </ul>
719
- </section>
720
- </section>
721
- </div>
722
- <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
723
- <nav class="tsd-navigation primary">
724
- <ul>
725
- <li class="globals ">
726
- <a href="../globals.html"><em>Globals</em></a>
727
- </li>
728
- </ul>
729
- </nav>
730
- <nav class="tsd-navigation secondary menu-sticky">
731
- <ul class="before-current">
732
- </ul>
733
- <ul class="current">
734
- <li class="current tsd-kind-class">
735
- <a href="materialanyofstringorenumcontrol.html" class="tsd-kind-icon">Material<wbr>Any<wbr>OfString<wbr>OrEnum<wbr>Control</a>
736
- <ul>
737
- <li class=" tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited">
738
- <a href="materialanyofstringorenumcontrol.html#constructor" class="tsd-kind-icon">constructor</a>
739
- </li>
740
- <li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
741
- <a href="materialanyofstringorenumcontrol.html#handlechange" class="tsd-kind-icon">handle<wbr>Change</a>
742
- </li>
743
- <li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
744
- <a href="materialanyofstringorenumcontrol.html#onblur" class="tsd-kind-icon">on<wbr>Blur</a>
745
- </li>
746
- <li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
747
- <a href="materialanyofstringorenumcontrol.html#onfocus" class="tsd-kind-icon">on<wbr>Focus</a>
748
- </li>
749
- <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
750
- <a href="materialanyofstringorenumcontrol.html#unsafe_componentwillmount" class="tsd-kind-icon">UNSAFE_<wbr>component<wbr>Will<wbr>Mount</a>
751
- </li>
752
- <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
753
- <a href="materialanyofstringorenumcontrol.html#unsafe_componentwillreceiveprops" class="tsd-kind-icon">UNSAFE_<wbr>component<wbr>Will<wbr>Receive<wbr>Props</a>
754
- </li>
755
- <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
756
- <a href="materialanyofstringorenumcontrol.html#unsafe_componentwillupdate" class="tsd-kind-icon">UNSAFE_<wbr>component<wbr>Will<wbr>Update</a>
757
- </li>
758
- <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
759
- <a href="materialanyofstringorenumcontrol.html#componentdidcatch" class="tsd-kind-icon">component<wbr>Did<wbr>Catch</a>
760
- </li>
761
- <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
762
- <a href="materialanyofstringorenumcontrol.html#componentdidmount" class="tsd-kind-icon">component<wbr>Did<wbr>Mount</a>
763
- </li>
764
- <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
765
- <a href="materialanyofstringorenumcontrol.html#componentdidupdate" class="tsd-kind-icon">component<wbr>Did<wbr>Update</a>
766
- </li>
767
- <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
768
- <a href="materialanyofstringorenumcontrol.html#componentwillmount" class="tsd-kind-icon">component<wbr>Will<wbr>Mount</a>
769
- </li>
770
- <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
771
- <a href="materialanyofstringorenumcontrol.html#componentwillreceiveprops" class="tsd-kind-icon">component<wbr>Will<wbr>Receive<wbr>Props</a>
772
- </li>
773
- <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
774
- <a href="materialanyofstringorenumcontrol.html#componentwillunmount" class="tsd-kind-icon">component<wbr>Will<wbr>Unmount</a>
775
- </li>
776
- <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
777
- <a href="materialanyofstringorenumcontrol.html#componentwillupdate" class="tsd-kind-icon">component<wbr>Will<wbr>Update</a>
778
- </li>
779
- <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
780
- <a href="materialanyofstringorenumcontrol.html#getsnapshotbeforeupdate" class="tsd-kind-icon">get<wbr>Snapshot<wbr>Before<wbr>Update</a>
781
- </li>
782
- <li class=" tsd-kind-method tsd-parent-kind-class">
783
- <a href="materialanyofstringorenumcontrol.html#render" class="tsd-kind-icon">render</a>
784
- </li>
785
- <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
786
- <a href="materialanyofstringorenumcontrol.html#shouldcomponentupdate" class="tsd-kind-icon">should<wbr>Component<wbr>Update</a>
787
- </li>
788
- </ul>
789
- </li>
790
- </ul>
791
- <ul class="after-current">
792
- </ul>
793
- </nav>
794
- </div>
795
- </div>
796
- </div>
797
- <footer class="with-border-bottom">
798
- <div class="container">
799
- <h2>Legend</h2>
800
- <div class="tsd-legend-group">
801
- <ul class="tsd-legend">
802
- <li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
803
- <li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
804
- <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
805
- </ul>
806
- <ul class="tsd-legend">
807
- <li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
808
- <li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
809
- </ul>
810
- <ul class="tsd-legend">
811
- <li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
812
- </ul>
813
- </div>
814
- </div>
815
- </footer>
816
- <div class="container tsd-generator">
817
- <p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
818
- </div>
819
- <div class="overlay"></div>
820
- <script src="../assets/js/main.js"></script>
821
- </body>
822
- </html>