Fixed docs

This commit is contained in:
MaxOvs19
2023-02-07 17:43:01 +03:00
parent 038b7d627c
commit 2bb94f0402
40 changed files with 191 additions and 3182 deletions

View File

@ -54,9 +54,9 @@
<div class="col-8 col-content">
<div class="tsd-page-title">
<ul class="tsd-breadcrumb">
<li><a href="../modules.html">cg-select</a></li>
<li><a href="../modules/cg_select.html">cg-select</a></li>
<li><a href="cg_select.CGSelect.html">CGSelect</a></li>
<li><a href="../modules.html">All modules</a></li>
<li><a href="../modules/cg_select.html">Cg-select</a></li>
<li><a href="cg_select.CGSelect.html">Class CGSelect</a></li>
</ul>
<h1>Class CGSelect</h1>
</div>
@ -171,7 +171,7 @@
fill="var(--color-text)"
id="icon-1024-text"
></path></svg
><span>btn<wbr />Cntr?</span></a
><span>buttonAction?</span></a
>
<a
href="cg_select.CGSelect.html#caret"
@ -179,7 +179,7 @@
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-1024-path"></use>
<use href="#icon-1024-text"></use></svg
><span>caret</span></a
><span>carriage</span></a
>
<a
href="cg_select.CGSelect.html#category"
@ -655,7 +655,7 @@
<p>The constructor takes an object and renders the select.</p>
<h3>Example</h3>
<pre><code class="language-ts"><span class="hl-0">options</span><span class="hl-1"> = {</span><br/><span class="hl-1"> </span><span class="hl-0">selector:</span><span class="hl-1"> </span><span class="hl-2">&#39;Unique selector&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-0">selected:</span><span class="hl-1"> </span><span class="hl-2">&#39;Selected item&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-0">placeholder:</span><span class="hl-1"> </span><span class="hl-2">&#39;...&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-0">lable:</span><span class="hl-1"> </span><span class="hl-2">&#39;...&#39;</span><br/><span class="hl-1"> </span><span class="hl-0">items</span><span class="hl-1">: [</span><span class="hl-0">string</span><span class="hl-1">|</span><span class="hl-0">number</span><span class="hl-1">|</span><span class="hl-0">object</span><span class="hl-1">],</span><br/><span class="hl-1"> </span><span class="hl-0">theme:</span><span class="hl-1"> </span><span class="hl-0">string</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-0">searchMode:</span><span class="hl-1"> </span><span class="hl-5">true</span><span class="hl-1">/</span><span class="hl-5">false</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-0">closeOnSelect:</span><span class="hl-1"> </span><span class="hl-5">true</span><span class="hl-1">/</span><span class="hl-5">false</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-0">nativeSelectMode:</span><span class="hl-1"> </span><span class="hl-5">true</span><span class="hl-1">/</span><span class="hl-5">false</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-0">listDisplayMode:</span><span class="hl-1"> </span><span class="hl-5">true</span><span class="hl-1">/</span><span class="hl-5">false</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-0">language:</span><span class="hl-1"> </span><span class="hl-2">&#39;ru/en&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-0">styles:</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">head:</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">background:</span><span class="hl-1"> </span><span class="hl-2">&#39;...&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> },</span><br/><span class="hl-1"> </span><span class="hl-0">list:</span><span class="hl-1"> {...},</span><br/><span class="hl-1"> </span><span class="hl-0">chips:</span><span class="hl-1"> {...},</span><br/><span class="hl-1"> </span><span class="hl-0">caret:</span><span class="hl-1"> {...},</span><br/><span class="hl-1"> </span><span class="hl-0">placeholder:</span><span class="hl-1"> {...},</span><br/><span class="hl-1"> </span><span class="hl-0">lable:</span><span class="hl-1"> {..},</span><br/><span class="hl-1"> },</span><br/><span class="hl-1"> </span><span class="hl-0">event:</span><span class="hl-1"> </span><span class="hl-2">&#39;...&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-0">url:</span><span class="hl-1"> </span><span class="hl-2">&#39;http/...&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-0">multiselect:</span><span class="hl-1"> </span><span class="hl-5">true</span><span class="hl-1">/</span><span class="hl-5">false</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-0">multiselectTag:</span><span class="hl-1"> </span><span class="hl-5">true</span><span class="hl-1">/</span><span class="hl-5">false</span><span class="hl-1">,</span><br/><span class="hl-1">}</span>
<pre><code class="language-ts"><span class="hl-0">options</span><span class="hl-1"> = {</span><br/><span class="hl-1"> </span><span class="hl-0">selector:</span><span class="hl-1"> </span><span class="hl-2">&#39;Unique selector&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-0">selected:</span><span class="hl-1"> </span><span class="hl-2">&#39;Selected item&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-0">placeholder:</span><span class="hl-1"> </span><span class="hl-2">&#39;...&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-0">lable:</span><span class="hl-1"> </span><span class="hl-2">&#39;...&#39;</span><br/><span class="hl-1"> </span><span class="hl-0">items</span><span class="hl-1">: [</span><span class="hl-0">string</span><span class="hl-1">|</span><span class="hl-0">number</span><span class="hl-1">|</span><span class="hl-0">object</span><span class="hl-1">],</span><br/><span class="hl-1"> </span><span class="hl-0">theme:</span><span class="hl-1"> </span><span class="hl-0">string</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-0">searchMode:</span><span class="hl-1"> </span><span class="hl-5">true</span><span class="hl-1">/</span><span class="hl-5">false</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-0">closeOnSelect:</span><span class="hl-1"> </span><span class="hl-5">true</span><span class="hl-1">/</span><span class="hl-5">false</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-0">nativeSelectMode:</span><span class="hl-1"> </span><span class="hl-5">true</span><span class="hl-1">/</span><span class="hl-5">false</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-0">listDisplayMode:</span><span class="hl-1"> </span><span class="hl-5">true</span><span class="hl-1">/</span><span class="hl-5">false</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-0">language:</span><span class="hl-1"> </span><span class="hl-2">&#39;ru/en&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-0">styles:</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">head:</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">background:</span><span class="hl-1"> </span><span class="hl-2">&#39;...&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> },</span><br/><span class="hl-1"> </span><span class="hl-0">list:</span><span class="hl-1"> {...},</span><br/><span class="hl-1"> </span><span class="hl-0">chips:</span><span class="hl-1"> {...},</span><br/><span class="hl-1"> </span><span class="hl-0">carriage:</span><span class="hl-1"> {...},</span><br/><span class="hl-1"> </span><span class="hl-0">placeholder:</span><span class="hl-1"> {...},</span><br/><span class="hl-1"> </span><span class="hl-0">lable:</span><span class="hl-1"> {..},</span><br/><span class="hl-1"> },</span><br/><span class="hl-1"> </span><span class="hl-0">event:</span><span class="hl-1"> </span><span class="hl-2">&#39;...&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-0">url:</span><span class="hl-1"> </span><span class="hl-2">&#39;http/...&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-0">multiselect:</span><span class="hl-1"> </span><span class="hl-5">true</span><span class="hl-1">/</span><span class="hl-5">false</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-0">multiselectTag:</span><span class="hl-1"> </span><span class="hl-5">true</span><span class="hl-1">/</span><span class="hl-5">false</span><span class="hl-1">,</span><br/><span class="hl-1">}</span>
</code></pre>
</div>
<div class="tsd-parameters">
@ -705,7 +705,7 @@
<a id="btnCntr" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<code class="tsd-tag ts-flagPrivate">Private</code>
<code class="tsd-tag ts-flagOptional">Optional</code> <span>btn<wbr />Cntr</span
<code class="tsd-tag ts-flagOptional">Optional</code> <span>buttonAction</span
><a href="#btnCntr" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
@ -722,7 +722,7 @@
></a>
</h3>
<div class="tsd-signature">
btn<wbr />Cntr<span class="tsd-signature-symbol">?:</span>
buttonAction<span class="tsd-signature-symbol">?:</span>
<span class="tsd-signature-type">null</span
><span class="tsd-signature-symbol"> | </span
><span class="tsd-signature-type">Element</span>
@ -744,7 +744,7 @@
>
<a id="caret" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<code class="tsd-tag ts-flagPrivate">Private</code> <span>caret</span
<code class="tsd-tag ts-flagPrivate">Private</code> <span>carriage</span
><a href="#caret" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
@ -761,7 +761,7 @@
></a>
</h3>
<div class="tsd-signature">
caret<span class="tsd-signature-symbol">:</span>
carriage<span class="tsd-signature-symbol">:</span>
<span class="tsd-signature-type">undefined</span
><span class="tsd-signature-symbol"> | </span
><span class="tsd-signature-type">null</span
@ -1751,7 +1751,7 @@
<div class="tsd-comment tsd-typography">
<p>
An optional parameter responsible for switching between different themes, the
classic theme is set by default.
classic theme is set by default. Can take on a value dark, white.
</p>
</div>
<aside class="tsd-sources">
@ -3709,34 +3709,6 @@
<h4 class="uppercase">Member Visibility</h4>
<form>
<ul id="tsd-filter-options">
<li class="tsd-filter-item">
<label class="tsd-filter-input"
><input type="checkbox" id="tsd-filter-protected" name="protected" /><svg
width="32"
height="32"
viewBox="0 0 32 32"
aria-hidden="true"
>
<rect
class="tsd-checkbox-background"
width="30"
height="30"
x="1"
y="1"
rx="6"
fill="none"
></rect>
<path
class="tsd-checkbox-checkmark"
d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25"
stroke="none"
stroke-width="3.5"
stroke-linejoin="round"
fill="none"
></path></svg
><span>Protected</span></label
>
</li>
<li class="tsd-filter-item">
<label class="tsd-filter-input"
><input type="checkbox" id="tsd-filter-private" name="private" /><svg
@ -3765,62 +3737,6 @@
><span>Private</span></label
>
</li>
<li class="tsd-filter-item">
<label class="tsd-filter-input"
><input
type="checkbox"
id="tsd-filter-inherited"
name="inherited"
checked
/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true">
<rect
class="tsd-checkbox-background"
width="30"
height="30"
x="1"
y="1"
rx="6"
fill="none"
></rect>
<path
class="tsd-checkbox-checkmark"
d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25"
stroke="none"
stroke-width="3.5"
stroke-linejoin="round"
fill="none"
></path></svg
><span>Inherited</span></label
>
</li>
<li class="tsd-filter-item">
<label class="tsd-filter-input"
><input type="checkbox" id="tsd-filter-external" name="external" /><svg
width="32"
height="32"
viewBox="0 0 32 32"
aria-hidden="true"
>
<rect
class="tsd-checkbox-background"
width="30"
height="30"
x="1"
y="1"
rx="6"
fill="none"
></rect>
<path
class="tsd-checkbox-checkmark"
d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25"
stroke="none"
stroke-width="3.5"
stroke-linejoin="round"
fill="none"
></path></svg
><span>External</span></label
>
</li>
</ul>
</form>
</div>
@ -3851,47 +3767,49 @@
<div class="tsd-accordion-details">
<ul>
<li class="current">
<a href="../modules.html">cg-<wbr />select</a>
<a href="../modules.html">All modules</a>
<ul>
<li class="tsd-kind-module"><a href="../modules/Utils.html">Utils</a></li>
<li class="current tsd-kind-module">
<a href="../modules/cg_select.html">cg-<wbr />select</a>
<li class="selected tsd-kind-module">
<a href="../modules/cg_select.html">Cg-<wbr />select</a>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_cg_select_interface.html"
>Cg-<wbr />select.interface</a
>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_items_interface.html">Items.interface</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module"><a href="../modules/Utils.html">Utils</a></li>
<li class="tsd-kind-module">
<a href="../modules/components_utils_urils_interface.html">Utils.interface</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module">
<a href="../modules/components_create_element_create_element.html"
>components/create-<wbr />element/create-<wbr />element</a
>Create-<wbr />element</a
>
</li>
<li class="tsd-kind-module">
<a href="../modules/components_create_element_create_element_interface.html"
>components/create-<wbr />element/create-<wbr />element.interface</a
>Create-<wbr />element.interface</a
>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module">
<a href="../modules/components_theme_theme.html">components/theme/theme</a>
<a href="../modules/components_theme_theme.html">Theme</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module">
<a href="../modules/language_language.html">language</a>
</li>
<li class="tsd-kind-module">
<a href="../modules/components_utils_urils_interface.html"
>components/utils/urils.interface</a
>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_cg_select_interface.html"
>interfaces/cg-<wbr />select.interface</a
>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_items_interface.html"
>interfaces/items.interface</a
>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_language_interface.html"
>interfaces/language.interface</a
>
</li>
<li class="tsd-kind-module">
<a href="../modules/language_language.html">language/language</a>
<a href="../modules/interfaces_language_interface.html">Language.interface</a>
</li>
</ul>
</li>
@ -3944,7 +3862,7 @@
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-1024-path"></use>
<use href="#icon-1024-text"></use></svg
>caret</a
>carriage</a
>
</li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private">