1166 lines
74 KiB
HTML
1166 lines
74 KiB
HTML
<!doctype html>
|
|
<html class="default no-js">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<title>SettingsTitle | lightcordapi</title>
|
|
<meta name="description" content="">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link href="https://fonts.googleapis.com/css?family=Noto+Sans&display=swap" rel="stylesheet">
|
|
<link rel="stylesheet" href="../assets/css/main.css">
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<div class="tsd-page-toolbar">
|
|
<div class="container">
|
|
<div class="table-wrap">
|
|
<div class="table-cell" id="tsd-search" data-index="../assets/js/search.js" data-base="..">
|
|
<div class="field">
|
|
<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
|
|
<input id="tsd-search-field" type="text" />
|
|
</div>
|
|
<ul class="results">
|
|
<li class="state loading">Preparing search index...</li>
|
|
<li class="state failure">The search index is not available</li>
|
|
</ul>
|
|
<a href="../index.html" class="title">lightcordapi</a>
|
|
</div>
|
|
<div class="table-cell" id="tsd-widgets">
|
|
<div id="tsd-filter">
|
|
<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
|
|
<div class="tsd-filter-group">
|
|
<div class="tsd-select" id="tsd-filter-visibility">
|
|
<span class="tsd-select-label">All</span>
|
|
<ul class="tsd-select-list">
|
|
<li data-value="public">Public</li>
|
|
<li data-value="protected">Public/Protected</li>
|
|
<li data-value="private" class="selected">All</li>
|
|
</ul>
|
|
</div>
|
|
<input type="checkbox" id="tsd-filter-inherited" checked />
|
|
<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
|
|
<input type="checkbox" id="tsd-filter-externals" checked />
|
|
<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
|
|
<input type="checkbox" id="tsd-filter-only-exported" />
|
|
<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
|
|
</div>
|
|
</div>
|
|
<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="tsd-page-title">
|
|
<div class="container">
|
|
<ul class="tsd-breadcrumb">
|
|
<li>
|
|
<a href="../globals.html">Globals</a>
|
|
</li>
|
|
<li>
|
|
<a href="../modules/_components_general_settingstitle_.html">"components/general/SettingsTitle"</a>
|
|
</li>
|
|
<li>
|
|
<a href="_components_general_settingstitle_.settingstitle.html">SettingsTitle</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
<div class="container">
|
|
<div class="row container container-main">
|
|
<div class="col-3 col-menu menu-sticky-wrap menu-highlight">
|
|
<nav class="tsd-navigation secondary menu-sticky">
|
|
<ul>
|
|
<ul class="before-current">
|
|
</ul>
|
|
<ul class="current">
|
|
<li class="current tsd-kind-class tsd-parent-kind-module tsd-has-type-parameter">
|
|
<a href="_components_general_settingstitle_.settingstitle.html" class="tsd-kind-icon">Settings<wbr>Title</a>
|
|
<ul>
|
|
<li class=" tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#constructor" class="tsd-kind-icon">constructor</a>
|
|
</li>
|
|
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#context" class="tsd-kind-icon">context</a>
|
|
</li>
|
|
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#props" class="tsd-kind-icon">props</a>
|
|
</li>
|
|
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#refs" class="tsd-kind-icon">refs</a>
|
|
</li>
|
|
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#state" class="tsd-kind-icon">state</a>
|
|
</li>
|
|
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#contexttype" class="tsd-kind-icon">context<wbr>Type</a>
|
|
</li>
|
|
<li class=" tsd-kind-get-signature tsd-parent-kind-class">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#modules" class="tsd-kind-icon">modules</a>
|
|
</li>
|
|
<li class=" tsd-kind-get-signature tsd-parent-kind-class tsd-is-static">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#allpreviews" class="tsd-kind-icon">All<wbr>Previews</a>
|
|
</li>
|
|
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#unsafe_componentwillmount" class="tsd-kind-icon">UNSAFE_<wbr>component<wbr>Will<wbr>Mount</a>
|
|
</li>
|
|
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#unsafe_componentwillreceiveprops" class="tsd-kind-icon">UNSAFE_<wbr>component<wbr>Will<wbr>Receive<wbr>Props</a>
|
|
</li>
|
|
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#unsafe_componentwillupdate" class="tsd-kind-icon">UNSAFE_<wbr>component<wbr>Will<wbr>Update</a>
|
|
</li>
|
|
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#componentdidcatch" class="tsd-kind-icon">component<wbr>Did<wbr>Catch</a>
|
|
</li>
|
|
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#componentdidmount" class="tsd-kind-icon">component<wbr>Did<wbr>Mount</a>
|
|
</li>
|
|
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#componentdidupdate" class="tsd-kind-icon">component<wbr>Did<wbr>Update</a>
|
|
</li>
|
|
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#componentwillmount" class="tsd-kind-icon">component<wbr>Will<wbr>Mount</a>
|
|
</li>
|
|
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#componentwillreceiveprops" class="tsd-kind-icon">component<wbr>Will<wbr>Receive<wbr>Props</a>
|
|
</li>
|
|
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#componentwillunmount" class="tsd-kind-icon">component<wbr>Will<wbr>Unmount</a>
|
|
</li>
|
|
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#componentwillupdate" class="tsd-kind-icon">component<wbr>Will<wbr>Update</a>
|
|
</li>
|
|
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#forceupdate" class="tsd-kind-icon">force<wbr>Update</a>
|
|
</li>
|
|
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#getsnapshotbeforeupdate" class="tsd-kind-icon">get<wbr>Snapshot<wbr>Before<wbr>Update</a>
|
|
</li>
|
|
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-overwrite">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#render" class="tsd-kind-icon">render</a>
|
|
</li>
|
|
<li class=" tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#setstate" class="tsd-kind-icon">set<wbr>State</a>
|
|
</li>
|
|
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#shouldcomponentupdate" class="tsd-kind-icon">should<wbr>Component<wbr>Update</a>
|
|
</li>
|
|
<li class=" tsd-kind-object-literal tsd-parent-kind-class tsd-is-static">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#defaultprops" class="tsd-kind-icon">default<wbr>Props</a>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<ul class="after-current">
|
|
<li class=" tsd-kind-type-alias tsd-parent-kind-module tsd-is-not-exported">
|
|
<a href="../modules/_components_general_settingstitle_.html#settingstitleprops" class="tsd-kind-icon">Settings<wbr>Title<wbr>Props</a>
|
|
</li>
|
|
<li class=" tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported">
|
|
<a href="../modules/_components_general_settingstitle_.html#allpreviews" class="tsd-kind-icon">All<wbr>Previews</a>
|
|
</li>
|
|
<li class=" tsd-kind-variable tsd-parent-kind-module tsd-is-not-exported">
|
|
<a href="../modules/_components_general_settingstitle_.html#titlemodules" class="tsd-kind-icon">Title<wbr>Modules</a>
|
|
</li>
|
|
</ul>
|
|
</ul>
|
|
<ul>
|
|
<li>📑 Index</li>
|
|
<li><br></li>
|
|
<li class=" ">
|
|
<a href="../globals.html">Globals</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_alias_react_.html">"alias/react"</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_alias_react_dom_.html">"alias/react-<wbr>dom"</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_components_components_.html">"components/components"</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_components_general_alertbox_.html">"components/general/<wbr>Alert<wbr>Box"</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_components_general_codeblock_.html">"components/general/<wbr>Code<wbr>Block"</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_components_general_errorcatcher_.html">"components/general/<wbr>Error<wbr>Catcher"</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_components_general_flex_.html">"components/general/<wbr>Flex"</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_components_general_margin_.html">"components/general/<wbr>Margin"</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_components_general_settingsubtitle_.html">"components/general/<wbr>Setting<wbr>Sub<wbr>Title"</a>
|
|
</li> <li class="current tsd-kind-module">
|
|
<a href="../modules/_components_general_settingstitle_.html">"components/general/<wbr>Settings<wbr>Title"</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_components_general_tabs_.html">"components/general/<wbr>Tabs"</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_components_general_text_.html">"components/general/<wbr>Text"</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_components_general_title_.html">"components/general/<wbr>Title"</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_components_general_tooltip_.html">"components/general/<wbr>Tooltip"</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_components_inputs_button_.html">"components/inputs/<wbr>Button"</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_components_inputs_colorpicker_.html">"components/inputs/<wbr>Color<wbr>Picker"</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_components_inputs_colorpicker_old_.html">"components/inputs/<wbr>Color<wbr>Picker.old"</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_components_inputs_dateinput_.html">"components/inputs/<wbr>Date<wbr>Input"</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_components_inputs_daterange_.html">"components/inputs/<wbr>Date<wbr>Range"</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_components_inputs_dropdown_.html">"components/inputs/<wbr>Dropdown"</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_components_inputs_radiogroup_.html">"components/inputs/<wbr>Radio<wbr>Group"</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_components_inputs_switch_.html">"components/inputs/<wbr>Switch"</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_components_inputs_textarea_.html">"components/inputs/<wbr>Text<wbr>Area"</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_components_inputs_textinput_.html">"components/inputs/<wbr>Text<wbr>Input"</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_components_private_notice_.html">"components/private/<wbr>Notice"</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_components_private_notices_.html">"components/private/<wbr>Notices"</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_index_.html">"index"</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_modules_bdmodules_.html">"modules/BDModules"</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_modules_discordtools_.html">"modules/<wbr>Discord<wbr>Tools"</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_modules_pluginutilities_.html">"modules/<wbr>Plugin<wbr>Utilities"</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_modules_unfreeze_.html">"modules/<wbr>Unfreeze"</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_modules_utils_.html">"modules/<wbr>Utils"</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_modules_webpackloader_.html">"modules/<wbr>Webpack<wbr>Loader"</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_modules_clonenullproto_.html">"modules/clone<wbr>Null<wbr>Proto"</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_modules_environnement_.html">"modules/environnement"</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_modules_excludeproperties_.html">"modules/exclude<wbr>Properties"</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_modules_lazyloader_.html">"modules/lazy<wbr>Loader"</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_modules_noop_.html">"modules/noop"</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_modules_patchers_.html">"modules/patchers"</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_modules_settings_.html">"modules/settings"</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_modules_uuid_.html">"modules/uuid"</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_types_discordconstantstypes_.html">"types/<wbr>Discord<wbr>Constants<wbr>Types"</a>
|
|
</li> <li class=" tsd-kind-module">
|
|
<a href="../modules/_types_discorddispatchertypes_.html">"types/<wbr>Discord<wbr>Dispatcher<wbr>Types"</a>
|
|
</li> </ul>
|
|
</nav>
|
|
</div>
|
|
<div class="col-9 col-content">
|
|
<section class="tsd-panel tsd-type-parameters">
|
|
<h3>Type parameters</h3>
|
|
<ul class="tsd-type-parameters">
|
|
<li>
|
|
<span class="name">S</span> </li>
|
|
<li>
|
|
<span class="name">SS</span> </li>
|
|
<li>
|
|
<span class="name">S</span> </li>
|
|
</ul>
|
|
</section>
|
|
<section class="tsd-panel tsd-hierarchy">
|
|
<h3>Hierarchy</h3>
|
|
<ul class="tsd-hierarchy">
|
|
<li>
|
|
<span class="tsd-signature-type">Component</span><span class="tsd-signature-symbol"><</span><a href="../modules/_components_general_settingstitle_.html#settingstitleprops" class="tsd-signature-type">SettingsTitleProps</a><span class="tsd-signature-symbol">></span>
|
|
<ul class="tsd-hierarchy">
|
|
<li>
|
|
<span class="target">SettingsTitle</span>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
<section class="tsd-panel-group tsd-index-group">
|
|
<section class="tsd-panel tsd-index-panel">
|
|
<div class="tsd-index-content">
|
|
<section class="tsd-index-section ">
|
|
<h3>Constructors</h3>
|
|
<div class="tsd-navigation secondary">
|
|
<ul>
|
|
<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#constructor" class="tsd-kind-icon">constructor</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</section>
|
|
<section class="tsd-index-section tsd-is-inherited">
|
|
<h3>Properties</h3>
|
|
<div class="tsd-navigation secondary">
|
|
<ul>
|
|
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#context" class="tsd-kind-icon">context</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="tsd-navigation secondary">
|
|
<ul>
|
|
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#props" class="tsd-kind-icon">props</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="tsd-navigation secondary">
|
|
<ul>
|
|
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#refs" class="tsd-kind-icon">refs</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="tsd-navigation secondary">
|
|
<ul>
|
|
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#state" class="tsd-kind-icon">state</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="tsd-navigation secondary">
|
|
<ul>
|
|
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#contexttype" class="tsd-kind-icon">context<wbr>Type</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</section>
|
|
<section class="tsd-index-section ">
|
|
<h3>Accessors</h3>
|
|
<div class="tsd-navigation secondary">
|
|
<ul>
|
|
<li class="tsd-kind-get-signature tsd-parent-kind-class">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#modules" class="tsd-kind-icon">modules</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="tsd-navigation secondary">
|
|
<ul>
|
|
<li class="tsd-kind-get-signature tsd-parent-kind-class tsd-is-static">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#allpreviews" class="tsd-kind-icon">All<wbr>Previews</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</section>
|
|
<section class="tsd-index-section ">
|
|
<h3>Methods</h3>
|
|
<div class="tsd-navigation secondary">
|
|
<ul>
|
|
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#unsafe_componentwillmount" class="tsd-kind-icon">UNSAFE_<wbr>component<wbr>Will<wbr>Mount</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="tsd-navigation secondary">
|
|
<ul>
|
|
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#unsafe_componentwillreceiveprops" class="tsd-kind-icon">UNSAFE_<wbr>component<wbr>Will<wbr>Receive<wbr>Props</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="tsd-navigation secondary">
|
|
<ul>
|
|
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#unsafe_componentwillupdate" class="tsd-kind-icon">UNSAFE_<wbr>component<wbr>Will<wbr>Update</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="tsd-navigation secondary">
|
|
<ul>
|
|
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#componentdidcatch" class="tsd-kind-icon">component<wbr>Did<wbr>Catch</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="tsd-navigation secondary">
|
|
<ul>
|
|
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#componentdidmount" class="tsd-kind-icon">component<wbr>Did<wbr>Mount</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="tsd-navigation secondary">
|
|
<ul>
|
|
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#componentdidupdate" class="tsd-kind-icon">component<wbr>Did<wbr>Update</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="tsd-navigation secondary">
|
|
<ul>
|
|
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#componentwillmount" class="tsd-kind-icon">component<wbr>Will<wbr>Mount</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="tsd-navigation secondary">
|
|
<ul>
|
|
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#componentwillreceiveprops" class="tsd-kind-icon">component<wbr>Will<wbr>Receive<wbr>Props</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="tsd-navigation secondary">
|
|
<ul>
|
|
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#componentwillunmount" class="tsd-kind-icon">component<wbr>Will<wbr>Unmount</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="tsd-navigation secondary">
|
|
<ul>
|
|
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#componentwillupdate" class="tsd-kind-icon">component<wbr>Will<wbr>Update</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="tsd-navigation secondary">
|
|
<ul>
|
|
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#forceupdate" class="tsd-kind-icon">force<wbr>Update</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="tsd-navigation secondary">
|
|
<ul>
|
|
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#getsnapshotbeforeupdate" class="tsd-kind-icon">get<wbr>Snapshot<wbr>Before<wbr>Update</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="tsd-navigation secondary">
|
|
<ul>
|
|
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#render" class="tsd-kind-icon">render</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="tsd-navigation secondary">
|
|
<ul>
|
|
<li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#setstate" class="tsd-kind-icon">set<wbr>State</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="tsd-navigation secondary">
|
|
<ul>
|
|
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#shouldcomponentupdate" class="tsd-kind-icon">should<wbr>Component<wbr>Update</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</section>
|
|
<section class="tsd-index-section ">
|
|
<h3>Object literals</h3>
|
|
<div class="tsd-navigation secondary">
|
|
<ul>
|
|
<li class="tsd-kind-object-literal tsd-parent-kind-class tsd-is-static">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#defaultprops" class="tsd-kind-icon">default<wbr>Props</a>
|
|
<ul>
|
|
<li class="tsd-kind-variable tsd-parent-kind-object-literal">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#defaultprops.children" class="tsd-kind-icon">children</a>
|
|
</li>
|
|
<li class="tsd-kind-variable tsd-parent-kind-object-literal">
|
|
<a href="_components_general_settingstitle_.settingstitle.html#defaultprops.classname" class="tsd-kind-icon">class<wbr>Name</a>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
</section>
|
|
</section>
|
|
<section class="tsd-panel-group tsd-member-group ">
|
|
<h2>Constructors</h2>
|
|
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite tsd-descriptions">
|
|
<a name="constructor" class="tsd-anchor"></a>
|
|
<h3>constructor</h3>
|
|
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite">
|
|
<li class="tsd-signature tsd-kind-icon">new <wbr>Settings<wbr>Title<span class="tsd-signature-symbol">(</span>props<span class="tsd-signature-symbol">: </span><a href="../modules/_components_general_settingstitle_.html#settingstitleprops" class="tsd-signature-type">SettingsTitleProps</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_components_general_settingstitle_.settingstitle.html" class="tsd-signature-type">SettingsTitle</a></li>
|
|
</ul>
|
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
<ul class="tsd-parameters">
|
|
<li>
|
|
<span class="name">props</span>: <a href="../modules/_components_general_settingstitle_.html#settingstitleprops" class="tsd-signature-type">SettingsTitleProps</a>
|
|
</li>
|
|
</ul>
|
|
<h4 class="tsd-returns-title">Returns <a href="_components_general_settingstitle_.settingstitle.html" class="tsd-signature-type">SettingsTitle</a></h4>
|
|
</ul>
|
|
<aside class="tsd-sources">
|
|
<p>Overrides <a href="_components_general_settingsubtitle_.settingsubtitle.html">SettingSubTitle</a>.<a href="_components_general_settingsubtitle_.settingsubtitle.html#constructor">constructor</a></p>
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/Lightcord/Lightcord/blob/01ac967/LightcordApi/src/components/general/SettingsTitle.tsx#L11">LightcordApi/src/components/general/SettingsTitle.tsx:11</a></li>
|
|
</ul>
|
|
</aside>
|
|
</section>
|
|
</section>
|
|
<section class="tsd-panel-group tsd-member-group tsd-is-inherited">
|
|
<h2>Properties</h2>
|
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-descriptions">
|
|
<a name="context" class="tsd-anchor"></a>
|
|
<h3>context</h3>
|
|
<div class="tsd-signature tsd-kind-icon">context<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div>
|
|
<div class="tsd-comment">
|
|
<div class="lead">
|
|
<p>If using the new style context, re-declare this in your class to be the
|
|
<code>React.ContextType</code> of your <code>static contextType</code>.
|
|
Should be used with type annotation or static contextType.</p>
|
|
</div>
|
|
<pre><code class="language-ts"><span class="hljs-keyword">static</span> contextType = MyContext
|
|
<span class="hljs-comment">// For TS pre-3.7:</span>
|
|
context!: React.ContextType<<span class="hljs-keyword">typeof</span> MyContext>
|
|
<span class="hljs-comment">// For TS 3.7 and above:</span>
|
|
<span class="hljs-keyword">declare</span> context: React.ContextType<<span class="hljs-keyword">typeof</span> MyContext></code></pre>
|
|
</div>
|
|
<div class="tsd-comment">
|
|
<h4>see</h4>
|
|
<p><p><a href="https://reactjs.org/docs/context.html">https://reactjs.org/docs/context.html</a></p>
|
|
</p>
|
|
</div>
|
|
<aside class="tsd-sources">
|
|
<p>Inherited from <a href="_components_inputs_button_.button.html">Button</a>.<a href="_components_inputs_button_.button.html#context">context</a></p>
|
|
<ul>
|
|
<li>Defined in LightcordApi/node_modules/@types/react/index.d.ts:483</li>
|
|
</ul>
|
|
</aside>
|
|
</section>
|
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-descriptions">
|
|
<a name="props" class="tsd-anchor"></a>
|
|
<h3><span class="tsd-flag ts-flagReadonly">Readonly</span> props</h3>
|
|
<div class="tsd-signature tsd-kind-icon">props<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol"><</span><a href="../modules/_components_general_settingstitle_.html#settingstitleprops" class="tsd-signature-type">SettingsTitleProps</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">></span></div>
|
|
<aside class="tsd-sources">
|
|
<p>Inherited from <a href="_components_inputs_button_.button.html">Button</a>.<a href="_components_inputs_button_.button.html#props">props</a></p>
|
|
<ul>
|
|
<li>Defined in LightcordApi/node_modules/@types/react/index.d.ts:508</li>
|
|
</ul>
|
|
</aside>
|
|
</section>
|
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-descriptions">
|
|
<a name="refs" class="tsd-anchor"></a>
|
|
<h3>refs</h3>
|
|
<div class="tsd-signature tsd-kind-icon">refs<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
|
|
<div class="tsd-comment">
|
|
</div>
|
|
<div class="tsd-comment">
|
|
<h4>deprecated</h4>
|
|
<p><p><a href="https://reactjs.org/docs/refs-and-the-dom.html#legacy-api-string-refs">https://reactjs.org/docs/refs-and-the-dom.html#legacy-api-string-refs</a></p>
|
|
</p>
|
|
</div>
|
|
<aside class="tsd-sources">
|
|
<p>Inherited from <a href="_components_inputs_button_.button.html">Button</a>.<a href="_components_inputs_button_.button.html#refs">refs</a></p>
|
|
<ul>
|
|
<li>Defined in LightcordApi/node_modules/@types/react/index.d.ts:514</li>
|
|
</ul>
|
|
</aside>
|
|
</section>
|
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-descriptions">
|
|
<a name="state" class="tsd-anchor"></a>
|
|
<h3>state</h3>
|
|
<div class="tsd-signature tsd-kind-icon">state<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">S</span><span class="tsd-signature-symbol">></span></div>
|
|
<aside class="tsd-sources">
|
|
<p>Inherited from <a href="_components_inputs_button_.button.html">Button</a>.<a href="_components_inputs_button_.button.html#state">state</a></p>
|
|
<ul>
|
|
<li>Defined in LightcordApi/node_modules/@types/react/index.d.ts:509</li>
|
|
</ul>
|
|
</aside>
|
|
</section>
|
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static tsd-descriptions">
|
|
<a name="contexttype" class="tsd-anchor"></a>
|
|
<h3><span class="tsd-flag ts-flagStatic">Static</span> <span class="tsd-flag ts-flagOptional">Optional</span> context<wbr>Type</h3>
|
|
<div class="tsd-signature tsd-kind-icon">contextType<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Context</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></div>
|
|
<div class="tsd-comment">
|
|
<div class="lead">
|
|
<p>If set, <code>this.context</code> will be set at runtime to the current value of the given Context.</p>
|
|
</div>
|
|
<p>Usage:</p>
|
|
<pre><code class="language-ts">type MyContext = number
|
|
const Ctx = React.createContext<MyContext>(0)
|
|
|
|
class Foo extends React.Component {
|
|
static contextType = Ctx
|
|
context!: React.ContextType<typeof Ctx>
|
|
render () {
|
|
return <>My context's value: {this.context}</>;
|
|
}
|
|
}</code></pre>
|
|
</div>
|
|
<div class="tsd-comment">
|
|
<h4>see</h4>
|
|
<p><p><a href="https://reactjs.org/docs/context.html#classcontexttype">https://reactjs.org/docs/context.html#classcontexttype</a></p>
|
|
</p>
|
|
</div>
|
|
<aside class="tsd-sources">
|
|
<p>Inherited from <a href="_components_inputs_button_.button.html">Button</a>.<a href="_components_inputs_button_.button.html#contexttype">contextType</a></p>
|
|
<ul>
|
|
<li>Defined in LightcordApi/node_modules/@types/react/index.d.ts:465</li>
|
|
</ul>
|
|
</aside>
|
|
</section>
|
|
</section>
|
|
<section class="tsd-panel-group tsd-member-group ">
|
|
<h2>Accessors</h2>
|
|
<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class tsd-descriptions">
|
|
<a name="modules" class="tsd-anchor"></a>
|
|
<h3>modules</h3>
|
|
<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class">
|
|
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> modules<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li>
|
|
</ul>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span> </h4>
|
|
<aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/Lightcord/Lightcord/blob/01ac967/LightcordApi/src/components/general/SettingsTitle.tsx#L16">LightcordApi/src/components/general/SettingsTitle.tsx:16</a></li>
|
|
</ul>
|
|
</aside>
|
|
</section>
|
|
<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class tsd-is-static tsd-descriptions">
|
|
<a name="allpreviews" class="tsd-anchor"></a>
|
|
<h3><span class="tsd-flag ts-flagStatic">Static</span> All<wbr>Previews</h3>
|
|
<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class tsd-is-static">
|
|
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> AllPreviews<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li>
|
|
</ul>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span> </h4>
|
|
<aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/Lightcord/Lightcord/blob/01ac967/LightcordApi/src/components/general/SettingsTitle.tsx#L40">LightcordApi/src/components/general/SettingsTitle.tsx:40</a></li>
|
|
</ul>
|
|
</aside>
|
|
</section>
|
|
</section>
|
|
<section class="tsd-panel-group tsd-member-group ">
|
|
<h2>Methods</h2>
|
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-descriptions">
|
|
<a name="unsafe_componentwillmount" class="tsd-anchor"></a>
|
|
<h3><span class="tsd-flag ts-flagOptional">Optional</span> UNSAFE_<wbr>component<wbr>Will<wbr>Mount</h3>
|
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
<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>
|
|
</ul>
|
|
<div class="tsd-comment">
|
|
<div class="lead">
|
|
<p>Called immediately before mounting occurs, and before <code>Component#render</code>.
|
|
Avoid introducing any side-effects or subscriptions in this method.</p>
|
|
</div>
|
|
<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>
|
|
</div>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span> </h4>
|
|
</ul>
|
|
<aside class="tsd-sources">
|
|
<p>Inherited from <a href="_components_inputs_button_.button.html">Button</a>.<a href="_components_inputs_button_.button.html#unsafe_componentwillmount">UNSAFE_componentWillMount</a></p>
|
|
<ul>
|
|
<li>Defined in LightcordApi/node_modules/@types/react/index.d.ts:709</li>
|
|
</ul>
|
|
</aside>
|
|
</section>
|
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-descriptions">
|
|
<a name="unsafe_componentwillreceiveprops" class="tsd-anchor"></a>
|
|
<h3><span class="tsd-flag ts-flagOptional">Optional</span> UNSAFE_<wbr>component<wbr>Will<wbr>Receive<wbr>Props</h3>
|
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
<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"><</span><a href="../modules/_components_general_settingstitle_.html#settingstitleprops" class="tsd-signature-type">SettingsTitleProps</a><span class="tsd-signature-symbol">></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>
|
|
</ul>
|
|
<div class="tsd-comment">
|
|
<div class="lead">
|
|
<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>
|
|
</div>
|
|
<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>
|
|
</div>
|
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
<ul class="tsd-parameters">
|
|
<li>
|
|
<span class="name">nextProps</span>: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol"><</span><a href="../modules/_components_general_settingstitle_.html#settingstitleprops" class="tsd-signature-type">SettingsTitleProps</a><span class="tsd-signature-symbol">></span>
|
|
</li>
|
|
<li>
|
|
<span class="name">nextContext</span>: <span class="tsd-signature-type">any</span>
|
|
</li>
|
|
</ul>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span> </h4>
|
|
</ul>
|
|
<aside class="tsd-sources">
|
|
<p>Inherited from <a href="_components_inputs_button_.button.html">Button</a>.<a href="_components_inputs_button_.button.html#unsafe_componentwillreceiveprops">UNSAFE_componentWillReceiveProps</a></p>
|
|
<ul>
|
|
<li>Defined in LightcordApi/node_modules/@types/react/index.d.ts:741</li>
|
|
</ul>
|
|
</aside>
|
|
</section>
|
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-descriptions">
|
|
<a name="unsafe_componentwillupdate" class="tsd-anchor"></a>
|
|
<h3><span class="tsd-flag ts-flagOptional">Optional</span> UNSAFE_<wbr>component<wbr>Will<wbr>Update</h3>
|
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
<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"><</span><a href="../modules/_components_general_settingstitle_.html#settingstitleprops" class="tsd-signature-type">SettingsTitleProps</a><span class="tsd-signature-symbol">></span>, nextState<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">S</span><span class="tsd-signature-symbol">></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>
|
|
</ul>
|
|
<div class="tsd-comment">
|
|
<div class="lead">
|
|
<p>Called immediately before rendering when new props or state is received. Not called for the initial render.</p>
|
|
</div>
|
|
<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>
|
|
</div>
|
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
<ul class="tsd-parameters">
|
|
<li>
|
|
<span class="name">nextProps</span>: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol"><</span><a href="../modules/_components_general_settingstitle_.html#settingstitleprops" class="tsd-signature-type">SettingsTitleProps</a><span class="tsd-signature-symbol">></span>
|
|
</li>
|
|
<li>
|
|
<span class="name">nextState</span>: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">S</span><span class="tsd-signature-symbol">></span>
|
|
</li>
|
|
<li>
|
|
<span class="name">nextContext</span>: <span class="tsd-signature-type">any</span>
|
|
</li>
|
|
</ul>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span> </h4>
|
|
</ul>
|
|
<aside class="tsd-sources">
|
|
<p>Inherited from <a href="_components_inputs_button_.button.html">Button</a>.<a href="_components_inputs_button_.button.html#unsafe_componentwillupdate">UNSAFE_componentWillUpdate</a></p>
|
|
<ul>
|
|
<li>Defined in LightcordApi/node_modules/@types/react/index.d.ts:769</li>
|
|
</ul>
|
|
</aside>
|
|
</section>
|
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-descriptions">
|
|
<a name="componentdidcatch" class="tsd-anchor"></a>
|
|
<h3><span class="tsd-flag ts-flagOptional">Optional</span> component<wbr>Did<wbr>Catch</h3>
|
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
<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><a href="_modules_webpackloader_.webpackloadererror.html#error" class="tsd-signature-type">Error</a>, 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>
|
|
</ul>
|
|
<div class="tsd-comment">
|
|
<div class="lead">
|
|
<p>Catches exceptions generated in descendant components. Unhandled exceptions will cause
|
|
the entire component tree to unmount.</p>
|
|
</div>
|
|
</div>
|
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
<ul class="tsd-parameters">
|
|
<li>
|
|
<span class="name">error</span>: <a href="_modules_webpackloader_.webpackloadererror.html#error" class="tsd-signature-type">Error</a>
|
|
</li>
|
|
<li>
|
|
<span class="name">errorInfo</span>: <span class="tsd-signature-type">ErrorInfo</span>
|
|
</li>
|
|
</ul>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span> </h4>
|
|
</ul>
|
|
<aside class="tsd-sources">
|
|
<p>Inherited from <a href="_components_inputs_button_.button.html">Button</a>.<a href="_components_inputs_button_.button.html#componentdidcatch">componentDidCatch</a></p>
|
|
<ul>
|
|
<li>Defined in LightcordApi/node_modules/@types/react/index.d.ts:638</li>
|
|
</ul>
|
|
</aside>
|
|
</section>
|
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-descriptions">
|
|
<a name="componentdidmount" class="tsd-anchor"></a>
|
|
<h3><span class="tsd-flag ts-flagOptional">Optional</span> component<wbr>Did<wbr>Mount</h3>
|
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
<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>
|
|
</ul>
|
|
<div class="tsd-comment">
|
|
<div class="lead">
|
|
<p>Called immediately after a component is mounted. Setting state here will trigger re-rendering.</p>
|
|
</div>
|
|
</div>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span> </h4>
|
|
</ul>
|
|
<aside class="tsd-sources">
|
|
<p>Inherited from <a href="_components_inputs_button_.button.html">Button</a>.<a href="_components_inputs_button_.button.html#componentdidmount">componentDidMount</a></p>
|
|
<ul>
|
|
<li>Defined in LightcordApi/node_modules/@types/react/index.d.ts:617</li>
|
|
</ul>
|
|
</aside>
|
|
</section>
|
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-descriptions">
|
|
<a name="componentdidupdate" class="tsd-anchor"></a>
|
|
<h3><span class="tsd-flag ts-flagOptional">Optional</span> component<wbr>Did<wbr>Update</h3>
|
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
<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"><</span><a href="../modules/_components_general_settingstitle_.html#settingstitleprops" class="tsd-signature-type">SettingsTitleProps</a><span class="tsd-signature-symbol">></span>, prevState<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">S</span><span class="tsd-signature-symbol">></span>, snapshot<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">SS</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
</ul>
|
|
<div class="tsd-comment">
|
|
<div class="lead">
|
|
<p>Called immediately after updating occurs. Not called for the initial render.</p>
|
|
</div>
|
|
<p>The snapshot is only present if getSnapshotBeforeUpdate is present and returns non-null.</p>
|
|
</div>
|
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
<ul class="tsd-parameters">
|
|
<li>
|
|
<span class="name">prevProps</span>: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol"><</span><a href="../modules/_components_general_settingstitle_.html#settingstitleprops" class="tsd-signature-type">SettingsTitleProps</a><span class="tsd-signature-symbol">></span>
|
|
</li>
|
|
<li>
|
|
<span class="name">prevState</span>: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">S</span><span class="tsd-signature-symbol">></span>
|
|
</li>
|
|
<li>
|
|
<span class="name">snapshot</span>: <span class="tsd-signature-type">SS</span> <span class="tsd-flag ts-flagOptional">Optional</span>
|
|
</li>
|
|
</ul>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span> </h4>
|
|
</ul>
|
|
<aside class="tsd-sources">
|
|
<p>Inherited from <a href="_components_inputs_button_.button.html">Button</a>.<a href="_components_inputs_button_.button.html#componentdidupdate">componentDidUpdate</a></p>
|
|
<ul>
|
|
<li>Defined in LightcordApi/node_modules/@types/react/index.d.ts:680</li>
|
|
</ul>
|
|
</aside>
|
|
</section>
|
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-descriptions">
|
|
<a name="componentwillmount" class="tsd-anchor"></a>
|
|
<h3><span class="tsd-flag ts-flagOptional">Optional</span> component<wbr>Will<wbr>Mount</h3>
|
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
<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>
|
|
</ul>
|
|
<div class="tsd-comment">
|
|
<div class="lead">
|
|
<p>Called immediately before mounting occurs, and before <code>Component#render</code>.
|
|
Avoid introducing any side-effects or subscriptions in this method.</p>
|
|
</div>
|
|
<p>Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps
|
|
prevents this from being invoked.</p>
|
|
</div>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span> </h4>
|
|
</ul>
|
|
<aside class="tsd-sources">
|
|
<p>Inherited from <a href="_components_inputs_button_.button.html">Button</a>.<a href="_components_inputs_button_.button.html#componentwillmount">componentWillMount</a></p>
|
|
<ul>
|
|
<li>Defined in LightcordApi/node_modules/@types/react/index.d.ts:695</li>
|
|
</ul>
|
|
</aside>
|
|
</section>
|
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-descriptions">
|
|
<a name="componentwillreceiveprops" class="tsd-anchor"></a>
|
|
<h3><span class="tsd-flag ts-flagOptional">Optional</span> component<wbr>Will<wbr>Receive<wbr>Props</h3>
|
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
<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"><</span><a href="../modules/_components_general_settingstitle_.html#settingstitleprops" class="tsd-signature-type">SettingsTitleProps</a><span class="tsd-signature-symbol">></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>
|
|
</ul>
|
|
<div class="tsd-comment">
|
|
<div class="lead">
|
|
<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>
|
|
</div>
|
|
<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>
|
|
</div>
|
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
<ul class="tsd-parameters">
|
|
<li>
|
|
<span class="name">nextProps</span>: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol"><</span><a href="../modules/_components_general_settingstitle_.html#settingstitleprops" class="tsd-signature-type">SettingsTitleProps</a><span class="tsd-signature-symbol">></span>
|
|
</li>
|
|
<li>
|
|
<span class="name">nextContext</span>: <span class="tsd-signature-type">any</span>
|
|
</li>
|
|
</ul>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span> </h4>
|
|
</ul>
|
|
<aside class="tsd-sources">
|
|
<p>Inherited from <a href="_components_inputs_button_.button.html">Button</a>.<a href="_components_inputs_button_.button.html#componentwillreceiveprops">componentWillReceiveProps</a></p>
|
|
<ul>
|
|
<li>Defined in LightcordApi/node_modules/@types/react/index.d.ts:724</li>
|
|
</ul>
|
|
</aside>
|
|
</section>
|
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-descriptions">
|
|
<a name="componentwillunmount" class="tsd-anchor"></a>
|
|
<h3><span class="tsd-flag ts-flagOptional">Optional</span> component<wbr>Will<wbr>Unmount</h3>
|
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
<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>
|
|
</ul>
|
|
<div class="tsd-comment">
|
|
<div class="lead">
|
|
<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>
|
|
</div>
|
|
</div>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span> </h4>
|
|
</ul>
|
|
<aside class="tsd-sources">
|
|
<p>Inherited from <a href="_components_inputs_button_.button.html">Button</a>.<a href="_components_inputs_button_.button.html#componentwillunmount">componentWillUnmount</a></p>
|
|
<ul>
|
|
<li>Defined in LightcordApi/node_modules/@types/react/index.d.ts:633</li>
|
|
</ul>
|
|
</aside>
|
|
</section>
|
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-descriptions">
|
|
<a name="componentwillupdate" class="tsd-anchor"></a>
|
|
<h3><span class="tsd-flag ts-flagOptional">Optional</span> component<wbr>Will<wbr>Update</h3>
|
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
<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"><</span><a href="../modules/_components_general_settingstitle_.html#settingstitleprops" class="tsd-signature-type">SettingsTitleProps</a><span class="tsd-signature-symbol">></span>, nextState<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">S</span><span class="tsd-signature-symbol">></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>
|
|
</ul>
|
|
<div class="tsd-comment">
|
|
<div class="lead">
|
|
<p>Called immediately before rendering when new props or state is received. Not called for the initial render.</p>
|
|
</div>
|
|
<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>
|
|
</div>
|
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
<ul class="tsd-parameters">
|
|
<li>
|
|
<span class="name">nextProps</span>: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol"><</span><a href="../modules/_components_general_settingstitle_.html#settingstitleprops" class="tsd-signature-type">SettingsTitleProps</a><span class="tsd-signature-symbol">></span>
|
|
</li>
|
|
<li>
|
|
<span class="name">nextState</span>: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">S</span><span class="tsd-signature-symbol">></span>
|
|
</li>
|
|
<li>
|
|
<span class="name">nextContext</span>: <span class="tsd-signature-type">any</span>
|
|
</li>
|
|
</ul>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span> </h4>
|
|
</ul>
|
|
<aside class="tsd-sources">
|
|
<p>Inherited from <a href="_components_inputs_button_.button.html">Button</a>.<a href="_components_inputs_button_.button.html#componentwillupdate">componentWillUpdate</a></p>
|
|
<ul>
|
|
<li>Defined in LightcordApi/node_modules/@types/react/index.d.ts:754</li>
|
|
</ul>
|
|
</aside>
|
|
</section>
|
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-descriptions">
|
|
<a name="forceupdate" class="tsd-anchor"></a>
|
|
<h3>force<wbr>Update</h3>
|
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
<li class="tsd-signature tsd-kind-icon">force<wbr>Update<span class="tsd-signature-symbol">(</span>callback<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
</ul>
|
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
<ul class="tsd-parameters">
|
|
<li>
|
|
<span class="name">callback</span>: <span class="tsd-signature-type">function</span> <span class="tsd-flag ts-flagOptional">Optional</span>
|
|
<ul class="tsd-parameters">
|
|
<li class="tsd-parameter-siganture">
|
|
<ul class="tsd-signatures tsd-kind-type-literal">
|
|
<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>
|
|
</ul>
|
|
<ul class="tsd-descriptions">
|
|
<li class="tsd-description">
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span> </h4>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span> </h4>
|
|
</ul>
|
|
<aside class="tsd-sources">
|
|
<p>Inherited from <a href="_components_inputs_button_.button.html">Button</a>.<a href="_components_inputs_button_.button.html#forceupdate">forceUpdate</a></p>
|
|
<ul>
|
|
<li>Defined in LightcordApi/node_modules/@types/react/index.d.ts:500</li>
|
|
</ul>
|
|
</aside>
|
|
</section>
|
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-descriptions">
|
|
<a name="getsnapshotbeforeupdate" class="tsd-anchor"></a>
|
|
<h3><span class="tsd-flag ts-flagOptional">Optional</span> get<wbr>Snapshot<wbr>Before<wbr>Update</h3>
|
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
<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"><</span><a href="../modules/_components_general_settingstitle_.html#settingstitleprops" class="tsd-signature-type">SettingsTitleProps</a><span class="tsd-signature-symbol">></span>, prevState<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">S</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">SS</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span></li>
|
|
</ul>
|
|
<div class="tsd-comment">
|
|
<div class="lead">
|
|
<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>
|
|
</div>
|
|
<p>Note: the presence of getSnapshotBeforeUpdate prevents any of the deprecated
|
|
lifecycle events from running.</p>
|
|
</div>
|
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
<ul class="tsd-parameters">
|
|
<li>
|
|
<span class="name">prevProps</span>: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol"><</span><a href="../modules/_components_general_settingstitle_.html#settingstitleprops" class="tsd-signature-type">SettingsTitleProps</a><span class="tsd-signature-symbol">></span>
|
|
</li>
|
|
<li>
|
|
<span class="name">prevState</span>: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">S</span><span class="tsd-signature-symbol">></span>
|
|
</li>
|
|
</ul>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">SS</span>
|
|
<span class="tsd-signature-symbol"> | </span>
|
|
<span class="tsd-signature-type">null</span>
|
|
</h4>
|
|
</ul>
|
|
<aside class="tsd-sources">
|
|
<p>Inherited from <a href="_components_inputs_button_.button.html">Button</a>.<a href="_components_inputs_button_.button.html#getsnapshotbeforeupdate">getSnapshotBeforeUpdate</a></p>
|
|
<ul>
|
|
<li>Defined in LightcordApi/node_modules/@types/react/index.d.ts:674</li>
|
|
</ul>
|
|
</aside>
|
|
</section>
|
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-overwrite tsd-descriptions">
|
|
<a name="render" class="tsd-anchor"></a>
|
|
<h3>render</h3>
|
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-overwrite">
|
|
<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">ComponentElement</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">, </span><a href="_components_general_title_.title.html" class="tsd-signature-type">Title</a><span class="tsd-signature-symbol">></span></li>
|
|
</ul>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">ComponentElement</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">, </span><a href="_components_general_title_.title.html" class="tsd-signature-type">Title</a><span class="tsd-signature-symbol">></span> </h4>
|
|
</ul>
|
|
<aside class="tsd-sources">
|
|
<p>Overrides Component.render</p>
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/Lightcord/Lightcord/blob/01ac967/LightcordApi/src/components/general/SettingsTitle.tsx#L22">LightcordApi/src/components/general/SettingsTitle.tsx:22</a></li>
|
|
</ul>
|
|
</aside>
|
|
</section>
|
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-descriptions">
|
|
<a name="setstate" class="tsd-anchor"></a>
|
|
<h3>set<wbr>State</h3>
|
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
|
|
<li class="tsd-signature tsd-kind-icon">set<wbr>State<K><span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">function</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">S</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">object</span>, callback<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
</ul>
|
|
<h4 class="tsd-type-parameters-title">Type parameters</h4>
|
|
<ul class="tsd-type-parameters">
|
|
<li>
|
|
<span class="name">K</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">keyof S</span> </li>
|
|
</ul>
|
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
<ul class="tsd-parameters">
|
|
<li>
|
|
<span class="name">state</span>: <span class="tsd-signature-type">function</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">S</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">object</span>
|
|
</li>
|
|
<li>
|
|
<span class="name">callback</span>: <span class="tsd-signature-type">function</span> <span class="tsd-flag ts-flagOptional">Optional</span>
|
|
<ul class="tsd-parameters">
|
|
<li class="tsd-parameter-siganture">
|
|
<ul class="tsd-signatures tsd-kind-type-literal">
|
|
<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>
|
|
</ul>
|
|
<ul class="tsd-descriptions">
|
|
<li class="tsd-description">
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span> </h4>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span> </h4>
|
|
</ul>
|
|
<aside class="tsd-sources">
|
|
<p>Inherited from <a href="_components_inputs_button_.button.html">Button</a>.<a href="_components_inputs_button_.button.html#setstate">setState</a></p>
|
|
<ul>
|
|
<li>Defined in LightcordApi/node_modules/@types/react/index.d.ts:495</li>
|
|
</ul>
|
|
</aside>
|
|
</section>
|
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-descriptions">
|
|
<a name="shouldcomponentupdate" class="tsd-anchor"></a>
|
|
<h3><span class="tsd-flag ts-flagOptional">Optional</span> should<wbr>Component<wbr>Update</h3>
|
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
|
<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"><</span><a href="../modules/_components_general_settingstitle_.html#settingstitleprops" class="tsd-signature-type">SettingsTitleProps</a><span class="tsd-signature-symbol">></span>, nextState<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">S</span><span class="tsd-signature-symbol">></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>
|
|
</ul>
|
|
<div class="tsd-comment">
|
|
<div class="lead">
|
|
<p>Called to determine whether the change in props and state should trigger a re-render.</p>
|
|
</div>
|
|
<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>
|
|
</div>
|
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
<ul class="tsd-parameters">
|
|
<li>
|
|
<span class="name">nextProps</span>: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol"><</span><a href="../modules/_components_general_settingstitle_.html#settingstitleprops" class="tsd-signature-type">SettingsTitleProps</a><span class="tsd-signature-symbol">></span>
|
|
</li>
|
|
<li>
|
|
<span class="name">nextState</span>: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">S</span><span class="tsd-signature-symbol">></span>
|
|
</li>
|
|
<li>
|
|
<span class="name">nextContext</span>: <span class="tsd-signature-type">any</span>
|
|
</li>
|
|
</ul>
|
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span> </h4>
|
|
</ul>
|
|
<aside class="tsd-sources">
|
|
<p>Inherited from <a href="_components_inputs_button_.button.html">Button</a>.<a href="_components_inputs_button_.button.html#shouldcomponentupdate">shouldComponentUpdate</a></p>
|
|
<ul>
|
|
<li>Defined in LightcordApi/node_modules/@types/react/index.d.ts:628</li>
|
|
</ul>
|
|
</aside>
|
|
</section>
|
|
</section>
|
|
<section class="tsd-panel-group tsd-member-group ">
|
|
<h2>Object literals</h2>
|
|
<section class="tsd-panel tsd-member tsd-kind-object-literal tsd-parent-kind-class tsd-is-static tsd-descriptions">
|
|
<a name="defaultprops" class="tsd-anchor"></a>
|
|
<h3><span class="tsd-flag ts-flagStatic">Static</span> default<wbr>Props</h3>
|
|
<div class="tsd-signature tsd-kind-icon">defaultProps<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
|
|
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal tsd-descriptions">
|
|
<a name="defaultprops.children" class="tsd-anchor"></a>
|
|
<h3>children</h3>
|
|
<div class="tsd-signature tsd-kind-icon">children<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = [""]</span></div>
|
|
<aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/Lightcord/Lightcord/blob/01ac967/LightcordApi/src/components/general/SettingsTitle.tsx#L36">LightcordApi/src/components/general/SettingsTitle.tsx:36</a></li>
|
|
</ul>
|
|
</aside>
|
|
</section>
|
|
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal tsd-descriptions">
|
|
<a name="defaultprops.classname" class="tsd-anchor"></a>
|
|
<h3>class<wbr>Name</h3>
|
|
<div class="tsd-signature tsd-kind-icon">className<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = ""</span></div>
|
|
<aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/Lightcord/Lightcord/blob/01ac967/LightcordApi/src/components/general/SettingsTitle.tsx#L37">LightcordApi/src/components/general/SettingsTitle.tsx:37</a></li>
|
|
</ul>
|
|
</aside>
|
|
</section>
|
|
<aside class="tsd-sources">
|
|
<ul>
|
|
<li>Defined in <a href="https://github.com/Lightcord/Lightcord/blob/01ac967/LightcordApi/src/components/general/SettingsTitle.tsx#L35">LightcordApi/src/components/general/SettingsTitle.tsx:35</a></li>
|
|
</ul>
|
|
</aside>
|
|
</section>
|
|
</section>
|
|
<footer class="with-border-bottom">
|
|
<div class="tsd-legend-group">
|
|
<ul class="tsd-legend">
|
|
<li class="tsd-is-inherited"><span class="tsd-kind-icon">Inherited</span></li>
|
|
<li class="tsd-is-protected"><span class="tsd-kind-icon">Protected</span></li>
|
|
<li class="tsd-is-private"><span class="tsd-kind-icon">Private</span></li>
|
|
<li class="tsd-is-static"><span class="tsd-kind-icon">Static</span></li>
|
|
</ul>
|
|
<ul class="tsd-legend">
|
|
<li class="tsd-kind-module"><span class="tsd-kind-icon">Module</span></li>
|
|
<li class="tsd-kind-object-literal"><span class="tsd-kind-icon">Object</span></li>
|
|
<li class="tsd-kind-property"><span class="tsd-kind-icon">Property</span></li>
|
|
</ul>
|
|
<ul class="tsd-legend">
|
|
<li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
|
|
<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
|
|
<li class="tsd-kind-index-signature"><span class="tsd-kind-icon">Index</span></li>
|
|
</ul>
|
|
<ul class="tsd-legend">
|
|
<li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type</span></li>
|
|
<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
|
|
<li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
|
|
</ul>
|
|
<ul class="tsd-legend">
|
|
<li class="tsd-kind-enum"><span class="tsd-kind-icon">Enum</span></li>
|
|
<li class="tsd-kind-constructor"><span class="tsd-kind-icon">Constructor</span></li>
|
|
<li class="tsd-kind-accessor"><span class="tsd-kind-icon">Getter/Setter</span></li>
|
|
</ul>
|
|
</div>
|
|
</footer>
|
|
<div>Made with ❤️ by <a href="https://github.com/pirix-gh/eledoc" target="_blank">pirix-gh</a>. Documentation generated by <a href="http://typedoc.org/" target="_blank">TypeDoc.</a></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="overlay"></div>
|
|
<script src="../assets/js/main.js"></script>
|
|
<script>if (location.protocol == 'file:') document.write('<script src="../assets/js/search.js"><' + '/script>');</script>
|
|
</body>
|
|
</html> |