cg-select/docs/classes/cg_select.CGSelect.html
2023-01-31 16:46:36 +03:00

4331 lines
203 KiB
HTML

<!DOCTYPE html>
<html class="default" lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="IE=edge" />
<title>CGSelect | cg-select</title>
<meta name="description" content="Documentation for cg-select" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="../assets/style.css" />
<link rel="stylesheet" href="../assets/highlight.css" />
<script async src="../assets/search.js" id="search-script"></script>
</head>
<body>
<script>
document.documentElement.dataset.theme = localStorage.getItem('tsd-theme') || 'os';
</script>
<header class="tsd-page-toolbar">
<div class="tsd-toolbar-contents container">
<div class="table-cell" id="tsd-search" data-base="..">
<div class="field">
<label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"
><svg width="16" height="16" viewBox="0 0 16 16" fill="none">
<path
d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z"
fill="var(--color-text)"
></path></svg></label
><input type="text" id="tsd-search-field" aria-label="Search" />
</div>
<div class="field">
<div id="tsd-toolbar-links"></div>
</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">Home</a>
<a href="/example/index.html" class="title" style="margin-left: 15px">Go to CGSelect</a>
</div>
<div class="table-cell" id="tsd-widgets">
<a
href="#"
class="tsd-widget tsd-toolbar-icon menu no-caption"
data-toggle="menu"
aria-label="Menu"
><svg width="16" height="16" viewBox="0 0 16 16" fill="none">
<rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect>
<rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect>
<rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg
></a>
</div>
</div>
</header>
<div class="container container-main">
<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>
</ul>
<h1>Class CGSelect</h1>
</div>
<section class="tsd-panel tsd-comment">
<div class="tsd-comment tsd-typography">
<h3>Description</h3>
<p>
This class implements the functionality of a custom select, with customization
capabilities.
</p>
<h3>Author</h3>
<p>Ovsyanikov Maxim</p>
</div>
</section>
<section class="tsd-panel tsd-hierarchy">
<h4>Hierarchy</h4>
<ul class="tsd-hierarchy">
<li><span class="target">CGSelect</span></li>
</ul>
</section>
<section class="tsd-panel">
<h4>Implements</h4>
<ul class="tsd-hierarchy">
<li>
<a
href="../interfaces/interfaces_cg_select_interface.ICgSelect.html"
class="tsd-signature-type"
data-tsd-kind="Interface"
>ICgSelect</a
>
</li>
</ul>
</section>
<aside class="tsd-sources">
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L34"
>cg-select.ts:34</a
>
</li>
</ul>
</aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open>
<summary class="tsd-accordion-summary tsd-index-summary">
<h5
class="tsd-index-heading uppercase"
role="button"
aria-expanded="false"
tabindex="0"
>
<svg width="16" height="16" viewBox="0 0 16 16" fill="none">
<path
d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z"
fill="var(--color-text)"
></path>
</svg>
Index
</h5>
</summary>
<div class="tsd-accordion-details">
<section class="tsd-index-section">
<h3 class="tsd-index-heading">Constructors</h3>
<div class="tsd-index-list">
<a
href="cg_select.CGSelect.html#constructor"
class="tsd-index-link tsd-kind-constructor tsd-parent-kind-class"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<rect
fill="var(--color-icon-background)"
stroke="#4D7FFF"
stroke-width="1.5"
x="1"
y="1"
width="22"
height="22"
rx="12"
id="icon-512-path"
></rect>
<path
d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z"
fill="var(--color-text)"
id="icon-512-text"
></path></svg
><span>constructor</span></a
>
</div>
</section>
<section class="tsd-index-section">
<h3 class="tsd-index-heading">Properties</h3>
<div class="tsd-index-list">
<a
href="cg_select.CGSelect.html#btnCntr"
class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-private"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<rect
fill="var(--color-icon-background)"
stroke="#FF984D"
stroke-width="1.5"
x="1"
y="1"
width="22"
height="22"
rx="12"
id="icon-1024-path"
></rect>
<path
d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z"
fill="var(--color-text)"
id="icon-1024-text"
></path></svg
><span>btn<wbr />Cntr?</span></a
>
<a
href="cg_select.CGSelect.html#caret"
class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-private"
><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
>
<a
href="cg_select.CGSelect.html#category"
class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-private"
><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>category?</span></a
>
<a
href="cg_select.CGSelect.html#closeOnSelect"
class="tsd-index-link tsd-kind-property tsd-parent-kind-class"
><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>close<wbr />On<wbr />Select?</span></a
>
<a
href="cg_select.CGSelect.html#element"
class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-private"
><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>element</span></a
>
<a
href="cg_select.CGSelect.html#event"
class="tsd-index-link tsd-kind-property tsd-parent-kind-class"
><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>event?</span></a
>
<a
href="cg_select.CGSelect.html#indexes"
class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-private"
><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>indexes</span></a
>
<a
href="cg_select.CGSelect.html#items"
class="tsd-index-link tsd-kind-property tsd-parent-kind-class"
><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>items?</span></a
>
<a
href="cg_select.CGSelect.html#lable"
class="tsd-index-link tsd-kind-property tsd-parent-kind-class"
><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>lable?</span></a
>
<a
href="cg_select.CGSelect.html#language"
class="tsd-index-link tsd-kind-property tsd-parent-kind-class"
><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>language?</span></a
>
<a
href="cg_select.CGSelect.html#list"
class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-private"
><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>list</span></a
>
<a
href="cg_select.CGSelect.html#listDisplayMode"
class="tsd-index-link tsd-kind-property tsd-parent-kind-class"
><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>list<wbr />Display<wbr />Mode?</span></a
>
<a
href="cg_select.CGSelect.html#multiselect"
class="tsd-index-link tsd-kind-property tsd-parent-kind-class"
><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>multiselect?</span></a
>
<a
href="cg_select.CGSelect.html#multiselectTag"
class="tsd-index-link tsd-kind-property tsd-parent-kind-class"
><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>multiselect<wbr />Tag?</span></a
>
<a
href="cg_select.CGSelect.html#nativeSelectMode"
class="tsd-index-link tsd-kind-property tsd-parent-kind-class"
><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>native<wbr />Select<wbr />Mode?</span></a
>
<a
href="cg_select.CGSelect.html#options"
class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-private"
><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>options</span></a
>
<a
href="cg_select.CGSelect.html#placeholder"
class="tsd-index-link tsd-kind-property tsd-parent-kind-class"
><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>placeholder?</span></a
>
<a
href="cg_select.CGSelect.html#randomId"
class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-private"
><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>random<wbr />Id</span></a
>
<a
href="cg_select.CGSelect.html#searchMode"
class="tsd-index-link tsd-kind-property tsd-parent-kind-class"
><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>search<wbr />Mode?</span></a
>
<a
href="cg_select.CGSelect.html#selected"
class="tsd-index-link tsd-kind-property tsd-parent-kind-class"
><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>selected?</span></a
>
<a
href="cg_select.CGSelect.html#selectedItems"
class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-private"
><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>selected<wbr />Items</span></a
>
<a
href="cg_select.CGSelect.html#selector"
class="tsd-index-link tsd-kind-property tsd-parent-kind-class"
><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>selector?</span></a
>
<a
href="cg_select.CGSelect.html#styles"
class="tsd-index-link tsd-kind-property tsd-parent-kind-class"
><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>styles?</span></a
>
<a
href="cg_select.CGSelect.html#theme"
class="tsd-index-link tsd-kind-property tsd-parent-kind-class"
><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>theme?</span></a
>
<a
href="cg_select.CGSelect.html#url"
class="tsd-index-link tsd-kind-property tsd-parent-kind-class"
><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>url?</span></a
>
</div>
</section>
<section class="tsd-index-section">
<h3 class="tsd-index-heading">Accessors</h3>
<div class="tsd-index-list">
<a
href="cg_select.CGSelect.html#indexesOf"
class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<rect
fill="var(--color-icon-background)"
stroke="#FF4D4D"
stroke-width="1.5"
x="1"
y="1"
width="22"
height="22"
rx="12"
id="icon-262144-path"
></rect>
<path
d="M8.85 16L11.13 7.24H12.582L14.85 16H13.758L13.182 13.672H10.53L9.954 16H8.85ZM10.746 12.76H12.954L12.282 10.06C12.154 9.548 12.054 9.12 11.982 8.776C11.91 8.432 11.866 8.208 11.85 8.104C11.834 8.208 11.79 8.432 11.718 8.776C11.646 9.12 11.546 9.544 11.418 10.048L10.746 12.76Z"
fill="var(--color-text)"
id="icon-262144-text"
></path></svg
><span>indexes<wbr />Of</span></a
>
<a
href="cg_select.CGSelect.html#value"
class="tsd-index-link tsd-kind-accessor tsd-parent-kind-class"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-262144-path"></use>
<use href="#icon-262144-text"></use></svg
><span>value</span></a
>
</div>
</section>
<section class="tsd-index-section">
<h3 class="tsd-index-heading">Methods</h3>
<div class="tsd-index-list">
<a
href="cg_select.CGSelect.html#addItem"
class="tsd-index-link tsd-kind-method tsd-parent-kind-class"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<rect
fill="var(--color-icon-background)"
stroke="#FF4DB8"
stroke-width="1.5"
x="1"
y="1"
width="22"
height="22"
rx="12"
id="icon-2048-path"
></rect>
<path
d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z"
fill="var(--color-text)"
id="icon-2048-text"
></path></svg
><span>add<wbr />Item</span></a
>
<a
href="cg_select.CGSelect.html#addLanguage"
class="tsd-index-link tsd-kind-method tsd-parent-kind-class"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-2048-path"></use>
<use href="#icon-2048-text"></use></svg
><span>add<wbr />Language</span></a
>
<a
href="cg_select.CGSelect.html#addOptionsBehaviour"
class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-private"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-2048-path"></use>
<use href="#icon-2048-text"></use></svg
><span>add<wbr />Options<wbr />Behaviour</span></a
>
<a
href="cg_select.CGSelect.html#buttonControl"
class="tsd-index-link tsd-kind-method tsd-parent-kind-class"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-2048-path"></use>
<use href="#icon-2048-text"></use></svg
><span>button<wbr />Control</span></a
>
<a
href="cg_select.CGSelect.html#close"
class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-private"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-2048-path"></use>
<use href="#icon-2048-text"></use></svg
><span>close</span></a
>
<a
href="cg_select.CGSelect.html#closeSelectClick"
class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-private"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-2048-path"></use>
<use href="#icon-2048-text"></use></svg
><span>close<wbr />Select<wbr />Click</span></a
>
<a
href="cg_select.CGSelect.html#deleteItem"
class="tsd-index-link tsd-kind-method tsd-parent-kind-class"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-2048-path"></use>
<use href="#icon-2048-text"></use></svg
><span>delete<wbr />Item</span></a
>
<a
href="cg_select.CGSelect.html#deleteItemAll"
class="tsd-index-link tsd-kind-method tsd-parent-kind-class"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-2048-path"></use>
<use href="#icon-2048-text"></use></svg
><span>delete<wbr />Item<wbr />All</span></a
>
<a
href="cg_select.CGSelect.html#disabled"
class="tsd-index-link tsd-kind-method tsd-parent-kind-class"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-2048-path"></use>
<use href="#icon-2048-text"></use></svg
><span>disabled</span></a
>
<a
href="cg_select.CGSelect.html#displayMode"
class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-private"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-2048-path"></use>
<use href="#icon-2048-text"></use></svg
><span>display<wbr />Mode</span></a
>
<a
href="cg_select.CGSelect.html#getElement"
class="tsd-index-link tsd-kind-method tsd-parent-kind-class"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-2048-path"></use>
<use href="#icon-2048-text"></use></svg
><span>get<wbr />Element</span></a
>
<a
href="cg_select.CGSelect.html#init"
class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-private"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-2048-path"></use>
<use href="#icon-2048-text"></use></svg
><span>init</span></a
>
<a
href="cg_select.CGSelect.html#initEvent"
class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-private"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-2048-path"></use>
<use href="#icon-2048-text"></use></svg
><span>init<wbr />Event</span></a
>
<a
href="cg_select.CGSelect.html#initSelected"
class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-private"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-2048-path"></use>
<use href="#icon-2048-text"></use></svg
><span>init<wbr />Selected</span></a
>
<a
href="cg_select.CGSelect.html#on"
class="tsd-index-link tsd-kind-method tsd-parent-kind-class"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-2048-path"></use>
<use href="#icon-2048-text"></use></svg
><span>on</span></a
>
<a
href="cg_select.CGSelect.html#open"
class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-private"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-2048-path"></use>
<use href="#icon-2048-text"></use></svg
><span>open</span></a
>
<a
href="cg_select.CGSelect.html#render"
class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-private"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-2048-path"></use>
<use href="#icon-2048-text"></use></svg
><span>render</span></a
>
<a
href="cg_select.CGSelect.html#renderUrl"
class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-private"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-2048-path"></use>
<use href="#icon-2048-text"></use></svg
><span>render<wbr />Url</span></a
>
<a
href="cg_select.CGSelect.html#searchModeSelect"
class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-private"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-2048-path"></use>
<use href="#icon-2048-text"></use></svg
><span>search<wbr />Mode<wbr />Select</span></a
>
<a
href="cg_select.CGSelect.html#selectIndex"
class="tsd-index-link tsd-kind-method tsd-parent-kind-class"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-2048-path"></use>
<use href="#icon-2048-text"></use></svg
><span>select<wbr />Index</span></a
>
<a
href="cg_select.CGSelect.html#selectMode"
class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-private"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-2048-path"></use>
<use href="#icon-2048-text"></use></svg
><span>select<wbr />Mode</span></a
>
</div>
</section>
</div>
</details>
</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">
<a id="constructor" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<span>constructor</span
><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path>
<path
d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"
id="icon-anchor-b"
></path>
<path
d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"
id="icon-anchor-c"
></path></svg
></a>
</h3>
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
<li class="tsd-signature tsd-anchor-link" id="constructor.new_CGSelect">
new CGSelect<span class="tsd-signature-symbol">(</span>setting<span
class="tsd-signature-symbol"
>: </span
><a
href="../interfaces/interfaces_cg_select_interface.ICgSelect.html"
class="tsd-signature-type"
data-tsd-kind="Interface"
>ICgSelect</a
><span class="tsd-signature-symbol">)</span
><span class="tsd-signature-symbol">: </span
><a href="cg_select.CGSelect.html" class="tsd-signature-type" data-tsd-kind="Class"
>CGSelect</a
><a href="#constructor.new_CGSelect" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography">
<h3>Description</h3>
<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>
</code></pre>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>
setting:
<a
href="../interfaces/interfaces_cg_select_interface.ICgSelect.html"
class="tsd-signature-type"
data-tsd-kind="Interface"
>ICgSelect</a
>
</h5>
<div class="tsd-comment tsd-typography">
<p>Object accepting select settings.</p>
</div>
</li>
</ul>
</div>
<h4 class="tsd-returns-title">
Returns
<a href="cg_select.CGSelect.html" class="tsd-signature-type" data-tsd-kind="Class"
>CGSelect</a
>
</h4>
<aside class="tsd-sources">
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L132"
>cg-select.ts:132</a
>
</li>
</ul>
</aside>
</li>
</ul>
</section>
</section>
<section class="tsd-panel-group tsd-member-group">
<h2>Properties</h2>
<section
class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"
>
<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
><a href="#btnCntr" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<div class="tsd-signature">
btn<wbr />Cntr<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>
</div>
<div class="tsd-comment tsd-typography"><p>Button, to control the select.</p></div>
<aside class="tsd-sources">
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L97"
>cg-select.ts:97</a
>
</li>
</ul>
</aside>
</section>
<section
class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"
>
<a id="caret" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<code class="tsd-tag ts-flagPrivate">Private</code> <span>caret</span
><a href="#caret" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<div class="tsd-signature">
caret<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
><span class="tsd-signature-symbol"> | </span
><span class="tsd-signature-type">Element</span>
</div>
<div class="tsd-comment tsd-typography"><p>Variable for carriage control.</p></div>
<aside class="tsd-sources">
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L77"
>cg-select.ts:77</a
>
</li>
</ul>
</aside>
</section>
<section
class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"
>
<a id="category" 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>category</span
><a href="#category" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<div class="tsd-signature">
category<span class="tsd-signature-symbol">?:</span>
<span class="tsd-signature-type">string</span>
</div>
<div class="tsd-comment tsd-typography"><p>Transferred categories.</p></div>
<aside class="tsd-sources">
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L82"
>cg-select.ts:82</a
>
</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
<a id="closeOnSelect" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<code class="tsd-tag ts-flagOptional">Optional</code>
<span>close<wbr />On<wbr />Select</span
><a href="#closeOnSelect" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<div class="tsd-signature">
close<wbr />On<wbr />Select<span class="tsd-signature-symbol">?:</span>
<span class="tsd-signature-type">boolean</span>
</div>
<div class="tsd-comment tsd-typography">
<p>
An optional parameter that is responsible for the behavior of the select when
opening, if closeOnSelect: false, then when an element is selected in the selector,
closing does not occur, and you can select another element by default,
closeOnSelect:true.
</p>
</div>
<aside class="tsd-sources">
<p>
Implementation of
<a href="../interfaces/interfaces_cg_select_interface.ICgSelect.html">ICgSelect</a
>.<a
href="../interfaces/interfaces_cg_select_interface.ICgSelect.html#closeOnSelect"
>closeOnSelect</a
>
</p>
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L42"
>cg-select.ts:42</a
>
</li>
</ul>
</aside>
</section>
<section
class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"
>
<a id="element" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<code class="tsd-tag ts-flagPrivate">Private</code> <span>element</span
><a href="#element" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<div class="tsd-signature">
element<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>
</div>
<div class="tsd-comment tsd-typography"><p>Created HTML element.</p></div>
<aside class="tsd-sources">
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L57"
>cg-select.ts:57</a
>
</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
<a id="event" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<code class="tsd-tag ts-flagOptional">Optional</code> <span>event</span
><a href="#event" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<div class="tsd-signature">
event<span class="tsd-signature-symbol">?:</span>
<span class="tsd-signature-type">string</span>
</div>
<div class="tsd-comment tsd-typography">
<p>
An optional parameter that is responsible for the behavior of the select, passing to
this parameter an event of the &#39;mouseenter&#39; type, select will open on hover.
</p>
</div>
<aside class="tsd-sources">
<p>
Implementation of
<a href="../interfaces/interfaces_cg_select_interface.ICgSelect.html">ICgSelect</a
>.<a href="../interfaces/interfaces_cg_select_interface.ICgSelect.html#event"
>event</a
>
</p>
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L48"
>cg-select.ts:48</a
>
</li>
</ul>
</aside>
</section>
<section
class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"
>
<a id="indexes" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<code class="tsd-tag ts-flagPrivate">Private</code> <span>indexes</span
><a href="#indexes" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<div class="tsd-signature">
indexes<span class="tsd-signature-symbol">:</span>
<span class="tsd-signature-type">number</span
><span class="tsd-signature-symbol">[]</span
><span class="tsd-signature-symbol"> = []</span>
</div>
<div class="tsd-comment tsd-typography">
<p>Array of indexes of selected elements.</p>
</div>
<aside class="tsd-sources">
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L92"
>cg-select.ts:92</a
>
</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
<a id="items" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<code class="tsd-tag ts-flagOptional">Optional</code> <span>items</span
><a href="#items" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<div class="tsd-signature">
items<span class="tsd-signature-symbol">?:</span>
<span class="tsd-signature-type">any</span>
</div>
<div class="tsd-comment tsd-typography">
<p>
*Required parameter (if no other way to get data (url) is specified), this is an
array of elements, which will be displayed in the select when selected.
</p>
</div>
<aside class="tsd-sources">
<p>
Implementation of
<a href="../interfaces/interfaces_cg_select_interface.ICgSelect.html">ICgSelect</a
>.<a href="../interfaces/interfaces_cg_select_interface.ICgSelect.html#items"
>items</a
>
</p>
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L39"
>cg-select.ts:39</a
>
</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
<a id="lable" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<code class="tsd-tag ts-flagOptional">Optional</code> <span>lable</span
><a href="#lable" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<div class="tsd-signature">
lable<span class="tsd-signature-symbol">?:</span>
<span class="tsd-signature-type">string</span>
</div>
<div class="tsd-comment tsd-typography">
<p>An optional parameter that adds a lable before the select.</p>
</div>
<aside class="tsd-sources">
<p>
Implementation of
<a href="../interfaces/interfaces_cg_select_interface.ICgSelect.html">ICgSelect</a
>.<a href="../interfaces/interfaces_cg_select_interface.ICgSelect.html#lable"
>lable</a
>
</p>
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L46"
>cg-select.ts:46</a
>
</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
<a id="language" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<code class="tsd-tag ts-flagOptional">Optional</code> <span>language</span
><a href="#language" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<div class="tsd-signature">
language<span class="tsd-signature-symbol">?:</span>
<span class="tsd-signature-type">string</span>
</div>
<div class="tsd-comment tsd-typography">
<p>Optional parameter responsible for the localization of some text elements.</p>
</div>
<aside class="tsd-sources">
<p>
Implementation of
<a href="../interfaces/interfaces_cg_select_interface.ICgSelect.html">ICgSelect</a
>.<a href="../interfaces/interfaces_cg_select_interface.ICgSelect.html#language"
>language</a
>
</p>
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L45"
>cg-select.ts:45</a
>
</li>
</ul>
</aside>
</section>
<section
class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"
>
<a id="list" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<code class="tsd-tag ts-flagPrivate">Private</code> <span>list</span
><a href="#list" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<div class="tsd-signature">
list<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>
</div>
<div class="tsd-comment tsd-typography"><p>Created list(ul), with class list.</p></div>
<aside class="tsd-sources">
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L62"
>cg-select.ts:62</a
>
</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
<a id="listDisplayMode" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<code class="tsd-tag ts-flagOptional">Optional</code>
<span>list<wbr />Display<wbr />Mode</span
><a href="#listDisplayMode" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<div class="tsd-signature">
list<wbr />Display<wbr />Mode<span class="tsd-signature-symbol">?:</span>
<span class="tsd-signature-type">boolean</span>
</div>
<div class="tsd-comment tsd-typography">
<p>
An optional parameter that is responsible for the behavior of the select when
opening.
</p>
</div>
<aside class="tsd-sources">
<p>
Implementation of
<a href="../interfaces/interfaces_cg_select_interface.ICgSelect.html">ICgSelect</a
>.<a
href="../interfaces/interfaces_cg_select_interface.ICgSelect.html#listDisplayMode"
>listDisplayMode</a
>
</p>
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L44"
>cg-select.ts:44</a
>
</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
<a id="multiselect" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<code class="tsd-tag ts-flagOptional">Optional</code> <span>multiselect</span
><a href="#multiselect" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<div class="tsd-signature">
multiselect<span class="tsd-signature-symbol">?:</span>
<span class="tsd-signature-type">boolean</span>
</div>
<div class="tsd-comment tsd-typography">
<p>
An optional parameter, which is responsible for the behavior of the select, adds the
ability to select multiple elements. Selected elements are rendered as plain text,
separated by commas.
</p>
</div>
<aside class="tsd-sources">
<p>
Implementation of
<a href="../interfaces/interfaces_cg_select_interface.ICgSelect.html">ICgSelect</a
>.<a href="../interfaces/interfaces_cg_select_interface.ICgSelect.html#multiselect"
>multiselect</a
>
</p>
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L50"
>cg-select.ts:50</a
>
</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
<a id="multiselectTag" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<code class="tsd-tag ts-flagOptional">Optional</code>
<span>multiselect<wbr />Tag</span
><a href="#multiselectTag" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<div class="tsd-signature">
multiselect<wbr />Tag<span class="tsd-signature-symbol">?:</span>
<span class="tsd-signature-type">boolean</span>
</div>
<div class="tsd-comment tsd-typography">
<p>
An optional parameter that is responsible for the behavior of the select, for him,
*** works only in a place with a multiselect connection.
</p>
</div>
<aside class="tsd-sources">
<p>
Implementation of
<a href="../interfaces/interfaces_cg_select_interface.ICgSelect.html">ICgSelect</a
>.<a
href="../interfaces/interfaces_cg_select_interface.ICgSelect.html#multiselectTag"
>multiselectTag</a
>
</p>
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L51"
>cg-select.ts:51</a
>
</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
<a id="nativeSelectMode" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<code class="tsd-tag ts-flagOptional">Optional</code>
<span>native<wbr />Select<wbr />Mode</span
><a href="#nativeSelectMode" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<div class="tsd-signature">
native<wbr />Select<wbr />Mode<span class="tsd-signature-symbol">?:</span>
<span class="tsd-signature-type">boolean</span>
</div>
<div class="tsd-comment tsd-typography">
<p>
An optional parameter that is responsible for the behavior of the select when opened
on mobile devices.
</p>
</div>
<aside class="tsd-sources">
<p>
Implementation of
<a href="../interfaces/interfaces_cg_select_interface.ICgSelect.html">ICgSelect</a
>.<a
href="../interfaces/interfaces_cg_select_interface.ICgSelect.html#nativeSelectMode"
>nativeSelectMode</a
>
</p>
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L43"
>cg-select.ts:43</a
>
</li>
</ul>
</aside>
</section>
<section
class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"
>
<a id="options" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<code class="tsd-tag ts-flagPrivate">Private</code> <span>options</span
><a href="#options" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<div class="tsd-signature">
options<span class="tsd-signature-symbol">:</span>
<a
href="../interfaces/interfaces_cg_select_interface.ICgSelect.html"
class="tsd-signature-type"
data-tsd-kind="Interface"
>ICgSelect</a
>
</div>
<div class="tsd-comment tsd-typography">
<p>Select settings passed when creating an instance of the class.</p>
</div>
<aside class="tsd-sources">
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L67"
>cg-select.ts:67</a
>
</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
<a id="placeholder" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<code class="tsd-tag ts-flagOptional">Optional</code> <span>placeholder</span
><a href="#placeholder" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<div class="tsd-signature">
placeholder<span class="tsd-signature-symbol">?:</span>
<span class="tsd-signature-type">string</span>
</div>
<div class="tsd-comment tsd-typography">
<p>
Placeholder optional parameter to which the text of the select placeholder is
passed.
</p>
</div>
<aside class="tsd-sources">
<p>
Implementation of
<a href="../interfaces/interfaces_cg_select_interface.ICgSelect.html">ICgSelect</a
>.<a href="../interfaces/interfaces_cg_select_interface.ICgSelect.html#placeholder"
>placeholder</a
>
</p>
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L38"
>cg-select.ts:38</a
>
</li>
</ul>
</aside>
</section>
<section
class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"
>
<a id="randomId" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<code class="tsd-tag ts-flagPrivate">Private</code> <span>random<wbr />Id</span
><a href="#randomId" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<div class="tsd-signature">
random<wbr />Id<span class="tsd-signature-symbol">:</span>
<span class="tsd-signature-type">string</span>
</div>
<div class="tsd-comment tsd-typography"><p>Unique Id for elements.</p></div>
<aside class="tsd-sources">
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L72"
>cg-select.ts:72</a
>
</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
<a id="searchMode" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<code class="tsd-tag ts-flagOptional">Optional</code> <span>search<wbr />Mode</span
><a href="#searchMode" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<div class="tsd-signature">
search<wbr />Mode<span class="tsd-signature-symbol">?:</span>
<span class="tsd-signature-type">boolean</span>
</div>
<div class="tsd-comment tsd-typography">
<p>An optional parameter that adds a live search on the select elements.</p>
</div>
<aside class="tsd-sources">
<p>
Implementation of
<a href="../interfaces/interfaces_cg_select_interface.ICgSelect.html">ICgSelect</a
>.<a href="../interfaces/interfaces_cg_select_interface.ICgSelect.html#searchMode"
>searchMode</a
>
</p>
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L41"
>cg-select.ts:41</a
>
</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
<a id="selected" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<code class="tsd-tag ts-flagOptional">Optional</code> <span>selected</span
><a href="#selected" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<div class="tsd-signature">
selected<span class="tsd-signature-symbol">?:</span>
<span class="tsd-signature-type">string</span>
</div>
<div class="tsd-comment tsd-typography">
<p>
An optional parameter, which is passed the element that will be selected initially
in the select.
</p>
</div>
<aside class="tsd-sources">
<p>
Implementation of
<a href="../interfaces/interfaces_cg_select_interface.ICgSelect.html">ICgSelect</a
>.<a href="../interfaces/interfaces_cg_select_interface.ICgSelect.html#selected"
>selected</a
>
</p>
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L37"
>cg-select.ts:37</a
>
</li>
</ul>
</aside>
</section>
<section
class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private"
>
<a id="selectedItems" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<code class="tsd-tag ts-flagPrivate">Private</code> <span>selected<wbr />Items</span
><a href="#selectedItems" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<div class="tsd-signature">
selected<wbr />Items<span class="tsd-signature-symbol">:</span>
<span class="tsd-signature-type">string</span
><span class="tsd-signature-symbol"> | </span
><span class="tsd-signature-type">string</span
><span class="tsd-signature-symbol">[]</span>
</div>
<div class="tsd-comment tsd-typography">
<p>Selected or an array of selected items from a list.</p>
</div>
<aside class="tsd-sources">
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L87"
>cg-select.ts:87</a
>
</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
<a id="selector" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<code class="tsd-tag ts-flagOptional">Optional</code> <span>selector</span
><a href="#selector" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<div class="tsd-signature">
selector<span class="tsd-signature-symbol">?:</span>
<span class="tsd-signature-type">string</span>
</div>
<div class="tsd-comment tsd-typography">
<p>
Unique selector - *mandatory parameter (indicator) that is set when creating a
select.
</p>
</div>
<aside class="tsd-sources">
<p>
Implementation of
<a href="../interfaces/interfaces_cg_select_interface.ICgSelect.html">ICgSelect</a
>.<a href="../interfaces/interfaces_cg_select_interface.ICgSelect.html#selector"
>selector</a
>
</p>
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L36"
>cg-select.ts:36</a
>
</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
<a id="styles" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<code class="tsd-tag ts-flagOptional">Optional</code> <span>styles</span
><a href="#styles" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<div class="tsd-signature">
styles<span class="tsd-signature-symbol">?:</span>
<a
href="../interfaces/interfaces_cg_select_interface.IStyle.html"
class="tsd-signature-type"
data-tsd-kind="Interface"
>IStyle</a
>
</div>
<div class="tsd-comment tsd-typography">
<p>
An optional parameter that is responsible for customizing the select elements,
objects with CSS properties for customizable elements are passed to it.
</p>
</div>
<aside class="tsd-sources">
<p>
Implementation of
<a href="../interfaces/interfaces_cg_select_interface.ICgSelect.html">ICgSelect</a
>.<a href="../interfaces/interfaces_cg_select_interface.ICgSelect.html#styles"
>styles</a
>
</p>
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L47"
>cg-select.ts:47</a
>
</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
<a id="theme" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<code class="tsd-tag ts-flagOptional">Optional</code> <span>theme</span
><a href="#theme" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<div class="tsd-signature">
theme<span class="tsd-signature-symbol">?:</span>
<span class="tsd-signature-type">string</span>
</div>
<div class="tsd-comment tsd-typography">
<p>
An optional parameter responsible for switching between different themes, the
classic theme is set by default.
</p>
</div>
<aside class="tsd-sources">
<p>
Implementation of
<a href="../interfaces/interfaces_cg_select_interface.ICgSelect.html">ICgSelect</a
>.<a href="../interfaces/interfaces_cg_select_interface.ICgSelect.html#theme"
>theme</a
>
</p>
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L40"
>cg-select.ts:40</a
>
</li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
<a id="url" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<code class="tsd-tag ts-flagOptional">Optional</code> <span>url</span
><a href="#url" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<div class="tsd-signature">
url<span class="tsd-signature-symbol">?:</span>
<span class="tsd-signature-type">string</span>
</div>
<div class="tsd-comment tsd-typography">
<p>
Required parameter (if no other way to get data (items) is specified), data that
comes from the backend in the format { id: &quot;&quot;, title: &quot;&quot;, value:
&quot;&quot;}.
</p>
</div>
<aside class="tsd-sources">
<p>
Implementation of
<a href="../interfaces/interfaces_cg_select_interface.ICgSelect.html">ICgSelect</a
>.<a href="../interfaces/interfaces_cg_select_interface.ICgSelect.html#url">url</a>
</p>
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L49"
>cg-select.ts:49</a
>
</li>
</ul>
</aside>
</section>
</section>
<section class="tsd-panel-group tsd-member-group">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class">
<a id="indexesOf" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<span>indexes<wbr />Of</span
><a href="#indexesOf" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
<li class="tsd-signature" id="indexesOf.indexesOf-1">
<span class="tsd-signature-symbol">get</span> indexesOf<span
class="tsd-signature-symbol"
>(</span
><span class="tsd-signature-symbol">)</span
><span class="tsd-signature-symbol">: </span
><span class="tsd-signature-type">number</span
><span class="tsd-signature-symbol"> | </span
><span class="tsd-signature-type">number</span
><span class="tsd-signature-symbol">[]</span>
</li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography">
<h3>Returns</h3>
<p>Returns the indices of the selected element(s) as an array / empty array.</p>
<h3>Description</h3>
<p>A getter that returns the indexes of the selected element(s) of the select.</p>
</div>
<h4 class="tsd-returns-title">
Returns <span class="tsd-signature-type">number</span
><span class="tsd-signature-symbol"> | </span
><span class="tsd-signature-type">number</span
><span class="tsd-signature-symbol">[]</span>
</h4>
<aside class="tsd-sources">
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L152"
>cg-select.ts:152</a
>
</li>
</ul>
</aside>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class">
<a id="value" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<span>value</span
><a href="#value" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
<li class="tsd-signature" id="value.value-1">
<span class="tsd-signature-symbol">get</span> value<span
class="tsd-signature-symbol"
>(</span
><span class="tsd-signature-symbol">)</span
><span class="tsd-signature-symbol">: </span
><span class="tsd-signature-type">string</span
><span class="tsd-signature-symbol"> | </span
><span class="tsd-signature-type">string</span
><span class="tsd-signature-symbol">[]</span>
</li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography">
<h3>Returns</h3>
<p>Returns the selected element(s) as an array / element / null.</p>
<h3>Description</h3>
<p>Getter returning the selected element(s) of the select.</p>
</div>
<h4 class="tsd-returns-title">
Returns <span class="tsd-signature-type">string</span
><span class="tsd-signature-symbol"> | </span
><span class="tsd-signature-type">string</span
><span class="tsd-signature-symbol">[]</span>
</h4>
<aside class="tsd-sources">
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L144"
>cg-select.ts:144</a
>
</li>
</ul>
</aside>
</li>
</ul>
</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">
<a id="addItem" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<span>add<wbr />Item</span
><a href="#addItem" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-anchor-link" id="addItem.addItem-1">
add<wbr />Item<span class="tsd-signature-symbol">(</span>item<span
class="tsd-signature-symbol"
>: </span
><span class="tsd-signature-type">string</span
><span class="tsd-signature-symbol"> | </span
><span class="tsd-signature-type">number</span
><span class="tsd-signature-symbol"> | </span
><a
href="../interfaces/interfaces_items_interface.IItems.html"
class="tsd-signature-type"
data-tsd-kind="Interface"
>IItems</a
><span class="tsd-signature-symbol">)</span
><span class="tsd-signature-symbol">: </span
><span class="tsd-signature-type">undefined</span
><span class="tsd-signature-symbol"> | </span
><span class="tsd-signature-type">false</span
><a href="#addItem.addItem-1" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography">
<h3>Description</h3>
<p>
adds the given element to the end of the list and redraws the list. Cannot be
used when passing elements with categories.
</p>
<h3>Method</h3>
<p>addItem</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>
item: <span class="tsd-signature-type">string</span
><span class="tsd-signature-symbol"> | </span
><span class="tsd-signature-type">number</span
><span class="tsd-signature-symbol"> | </span
><a
href="../interfaces/interfaces_items_interface.IItems.html"
class="tsd-signature-type"
data-tsd-kind="Interface"
>IItems</a
>
</h5>
<div class="tsd-comment tsd-typography"><p>added element.</p></div>
</li>
</ul>
</div>
<h4 class="tsd-returns-title">
Returns <span class="tsd-signature-type">undefined</span
><span class="tsd-signature-symbol"> | </span
><span class="tsd-signature-type">false</span>
</h4>
<aside class="tsd-sources">
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L855"
>cg-select.ts:855</a
>
</li>
</ul>
</aside>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a id="addLanguage" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<span>add<wbr />Language</span
><a href="#addLanguage" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-anchor-link" id="addLanguage.addLanguage-1">
add<wbr />Language<span class="tsd-signature-symbol">(</span>language<span
class="tsd-signature-symbol"
>: </span
><a
href="../interfaces/interfaces_language_interface.ILanguage.html"
class="tsd-signature-type"
data-tsd-kind="Interface"
>ILanguage</a
><span class="tsd-signature-symbol">)</span
><span class="tsd-signature-symbol">: </span
><span class="tsd-signature-type">void</span
><a href="#addLanguage.addLanguage-1" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography">
<h3>Description</h3>
<p>
a method that allows you to change the placeholder in the search and the text
that is displayed if there is no result.
</p>
<h3>Method</h3>
<p>addLanguage</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>
language:
<a
href="../interfaces/interfaces_language_interface.ILanguage.html"
class="tsd-signature-type"
data-tsd-kind="Interface"
>ILanguage</a
>
</h5>
<div class="tsd-comment tsd-typography">
<p>
the object in which the fields for connecting the language are located has
two mandatory fields placeholder, textInListSearch, selectPlaceholder.
</p>
</div>
</li>
</ul>
</div>
<h4 class="tsd-returns-title">
Returns <span class="tsd-signature-type">void</span>
</h4>
<aside class="tsd-sources">
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L787"
>cg-select.ts:787</a
>
</li>
</ul>
</aside>
</li>
</ul>
</section>
<section
class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"
>
<a id="addOptionsBehaviour" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<code class="tsd-tag ts-flagPrivate">Private</code>
<span>add<wbr />Options<wbr />Behaviour</span
><a href="#addOptionsBehaviour" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
<li
class="tsd-signature tsd-anchor-link"
id="addOptionsBehaviour.addOptionsBehaviour-1"
>
add<wbr />Options<wbr />Behaviour<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
><a
href="#addOptionsBehaviour.addOptionsBehaviour-1"
aria-label="Permalink"
class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</li>
<li class="tsd-description">
<code class="tsd-tag ts-flagPrivate">Private</code>
<div class="tsd-comment tsd-typography">
<h3>Description</h3>
<p>A method that implements the selection of elements in different modes.</p>
<h3>Method</h3>
<p>addOptionsBehaviour</p>
</div>
<h4 class="tsd-returns-title">
Returns <span class="tsd-signature-type">void</span>
</h4>
<aside class="tsd-sources">
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L536"
>cg-select.ts:536</a
>
</li>
</ul>
</aside>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a id="buttonControl" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<span>button<wbr />Control</span
><a href="#buttonControl" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-anchor-link" id="buttonControl.buttonControl-1">
button<wbr />Control<span class="tsd-signature-symbol">(</span>button<span
class="tsd-signature-symbol"
>: </span
><span class="tsd-signature-type">Element</span>, method<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
><span class="tsd-signature-type">void</span
><a
href="#buttonControl.buttonControl-1"
aria-label="Permalink"
class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography">
<h3>Description</h3>
<p>A method that allows you to open / close the select using buttons.</p>
<h3>Method</h3>
<p>buttonControl</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>button: <span class="tsd-signature-type">Element</span></h5>
<div class="tsd-comment tsd-typography"><p>HTML button.</p></div>
</li>
<li>
<h5>method: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography"><p>open/close method.</p></div>
</li>
</ul>
</div>
<h4 class="tsd-returns-title">
Returns <span class="tsd-signature-type">void</span>
</h4>
<aside class="tsd-sources">
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L813"
>cg-select.ts:813</a
>
</li>
</ul>
</aside>
</li>
</ul>
</section>
<section
class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"
>
<a id="close" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<code class="tsd-tag ts-flagPrivate">Private</code> <span>close</span
><a href="#close" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
<li class="tsd-signature tsd-anchor-link" id="close.close-1">
close<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
><a href="#close.close-1" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</li>
<li class="tsd-description">
<code class="tsd-tag ts-flagPrivate">Private</code>
<div class="tsd-comment tsd-typography">
<h3>Description</h3>
<p>Closes the list.</p>
<h3>Method</h3>
<p>close</p>
</div>
<h4 class="tsd-returns-title">
Returns <span class="tsd-signature-type">void</span>
</h4>
<aside class="tsd-sources">
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L506"
>cg-select.ts:506</a
>
</li>
</ul>
</aside>
</li>
</ul>
</section>
<section
class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"
>
<a id="closeSelectClick" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<code class="tsd-tag ts-flagPrivate">Private</code>
<span>close<wbr />Select<wbr />Click</span
><a href="#closeSelectClick" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
<li class="tsd-signature tsd-anchor-link" id="closeSelectClick.closeSelectClick-1">
close<wbr />Select<wbr />Click<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
><a
href="#closeSelectClick.closeSelectClick-1"
aria-label="Permalink"
class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</li>
<li class="tsd-description">
<code class="tsd-tag ts-flagPrivate">Private</code>
<div class="tsd-comment tsd-typography">
<h3>Description</h3>
<p>Closes the list on click outside of an element.</p>
<h3>Method</h3>
<p>closeSelectClick</p>
</div>
<h4 class="tsd-returns-title">
Returns <span class="tsd-signature-type">void</span>
</h4>
<aside class="tsd-sources">
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L516"
>cg-select.ts:516</a
>
</li>
</ul>
</aside>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a id="deleteItem" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<span>delete<wbr />Item</span
><a href="#deleteItem" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-anchor-link" id="deleteItem.deleteItem-1">
delete<wbr />Item<span class="tsd-signature-symbol">(</span>index<span
class="tsd-signature-symbol"
>: </span
><span class="tsd-signature-type">number</span
><span class="tsd-signature-symbol">)</span
><span class="tsd-signature-symbol">: </span
><span class="tsd-signature-type">void</span
><a href="#deleteItem.deleteItem-1" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography">
<h3>Description</h3>
<p>
removes the element by index from the list and redraws it. Cannot be used when
passing elements with categories.
</p>
<h3>Method</h3>
<p>deleteItem</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>index: <span class="tsd-signature-type">number</span></h5>
<div class="tsd-comment tsd-typography">
<p>the index of the element to be removed.</p>
</div>
</li>
</ul>
</div>
<h4 class="tsd-returns-title">
Returns <span class="tsd-signature-type">void</span>
</h4>
<aside class="tsd-sources">
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L876"
>cg-select.ts:876</a
>
</li>
</ul>
</aside>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a id="deleteItemAll" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<span>delete<wbr />Item<wbr />All</span
><a href="#deleteItemAll" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-anchor-link" id="deleteItemAll.deleteItemAll-1">
delete<wbr />Item<wbr />All<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
><a
href="#deleteItemAll.deleteItemAll-1"
aria-label="Permalink"
class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography">
<h3>Description</h3>
<p>removes all elements from the list and redraws it.</p>
<h3>Method</h3>
<p>deleteItemAll</p>
</div>
<h4 class="tsd-returns-title">
Returns <span class="tsd-signature-type">void</span>
</h4>
<aside class="tsd-sources">
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L892"
>cg-select.ts:892</a
>
</li>
</ul>
</aside>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a id="disabled" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<span>disabled</span
><a href="#disabled" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-anchor-link" id="disabled.disabled-1">
disabled<span class="tsd-signature-symbol">(</span>value<span
class="tsd-signature-symbol"
>: </span
><span class="tsd-signature-type">boolean</span
><span class="tsd-signature-symbol">)</span
><span class="tsd-signature-symbol">: </span
><span class="tsd-signature-type">void</span
><a href="#disabled.disabled-1" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography">
<h3>Description</h3>
<p>A method that allows you to toggle the state of the disabled select.</p>
<h3>Method</h3>
<p>disabled</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>value: <span class="tsd-signature-type">boolean</span></h5>
<div class="tsd-comment tsd-typography">
<p>Passed parameter to add the disabled attribute.</p>
</div>
</li>
</ul>
</div>
<h4 class="tsd-returns-title">
Returns <span class="tsd-signature-type">void</span>
</h4>
<aside class="tsd-sources">
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L835"
>cg-select.ts:835</a
>
</li>
</ul>
</aside>
</li>
</ul>
</section>
<section
class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"
>
<a id="displayMode" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<code class="tsd-tag ts-flagPrivate">Private</code> <span>display<wbr />Mode</span
><a href="#displayMode" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
<li class="tsd-signature tsd-anchor-link" id="displayMode.displayMode-1">
display<wbr />Mode<span class="tsd-signature-symbol">(</span>listDisplayMode<span
class="tsd-signature-symbol"
>: </span
><span class="tsd-signature-type">boolean</span
><span class="tsd-signature-symbol">)</span
><span class="tsd-signature-symbol">: </span
><span class="tsd-signature-type">void</span
><a href="#displayMode.displayMode-1" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</li>
<li class="tsd-description">
<code class="tsd-tag ts-flagPrivate">Private</code>
<div class="tsd-comment tsd-typography">
<h3>Description</h3>
<p>Changes the display of a sheet with a selection as a modal window.</p>
<h3>Method</h3>
<p>displayMode</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>listDisplayMode: <span class="tsd-signature-type">boolean</span></h5>
<div class="tsd-comment tsd-typography">
<p>
parameter responsible for displaying the selection in the form of a modal
window.
</p>
</div>
</li>
</ul>
</div>
<h4 class="tsd-returns-title">
Returns <span class="tsd-signature-type">void</span>
</h4>
<aside class="tsd-sources">
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L748"
>cg-select.ts:748</a
>
</li>
</ul>
</aside>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a id="getElement" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<span>get<wbr />Element</span
><a href="#getElement" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-anchor-link" id="getElement.getElement-1">
get<wbr />Element<span class="tsd-signature-symbol">(</span>numberItem<span
class="tsd-signature-symbol"
>: </span
><span class="tsd-signature-type">number</span
><span class="tsd-signature-symbol">)</span
><span class="tsd-signature-symbol">: </span
><span class="tsd-signature-type">any</span
><a href="#getElement.getElement-1" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography">
<h3>Returns</h3>
<p>returns a reference to the selected HTML element.</p>
<h3>Method</h3>
<p>getElement</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>numberItem: <span class="tsd-signature-type">number</span></h5>
<div class="tsd-comment tsd-typography"><p>returned element number.</p></div>
</li>
</ul>
</div>
<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/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L774"
>cg-select.ts:774</a
>
</li>
</ul>
</aside>
</li>
</ul>
</section>
<section
class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"
>
<a id="init" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<code class="tsd-tag ts-flagPrivate">Private</code> <span>init</span
><a href="#init" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
<li class="tsd-signature tsd-anchor-link" id="init.init-1">
init<span class="tsd-signature-symbol">(</span>setting<span
class="tsd-signature-symbol"
>: </span
><a
href="../interfaces/interfaces_cg_select_interface.ICgSelect.html"
class="tsd-signature-type"
data-tsd-kind="Interface"
>ICgSelect</a
><span class="tsd-signature-symbol">)</span
><span class="tsd-signature-symbol">: </span
><span class="tsd-signature-type">void</span
><a href="#init.init-1" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</li>
<li class="tsd-description">
<code class="tsd-tag ts-flagPrivate">Private</code>
<div class="tsd-comment tsd-typography">
<p>Private method for initializing an instance of the ICgSelect class.</p>
<h3>Method</h3>
<p>init</p>
<h3>Member</h3>
<h3>Description</h3>
<p>
Private method. General initialization of the select. Obtaining tinctures and
converting select elements.
</p>
<h3>Example</h3>
<pre><code class="language-ts"><span class="hl-1">{</span><br/><span class="hl-1"> </span><span class="hl-9">selector</span><span class="hl-1">: </span><span class="hl-2">&#39;.cg-dropdown_one&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-9">placeholder</span><span class="hl-1">: </span><span class="hl-2">&#39;Choose a car&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-9">items</span><span class="hl-1">: [</span><br/><span class="hl-1"> </span><span class="hl-2">&#39;BMW&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">id:</span><span class="hl-1"> </span><span class="hl-2">&#39;213sade&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-0">title:</span><span class="hl-1"> </span><span class="hl-2">&#39;Opel&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-0">value:</span><span class="hl-1"> </span><span class="hl-8">1</span><span class="hl-1">,</span><br/><span class="hl-1"> },</span><br/><span class="hl-1"> </span><span class="hl-2">&#39;Mersedes&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-2">&#39;MAN&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-2">&#39;max&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> ],</span><br/><span class="hl-1"> </span><span class="hl-9">multiselect</span><span class="hl-1">: </span><span class="hl-5">true</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-9">multiselectTag</span><span class="hl-1">: </span><span class="hl-5">true</span><span class="hl-1">,</span><br/><span class="hl-1"> }</span>
</code></pre>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>
setting:
<a
href="../interfaces/interfaces_cg_select_interface.ICgSelect.html"
class="tsd-signature-type"
data-tsd-kind="Interface"
>ICgSelect</a
>
</h5>
<div class="tsd-comment tsd-typography"><p>passed select settings.</p></div>
</li>
</ul>
</div>
<h4 class="tsd-returns-title">
Returns <span class="tsd-signature-type">void</span>
</h4>
<aside class="tsd-sources">
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L182"
>cg-select.ts:182</a
>
</li>
</ul>
</aside>
</li>
</ul>
</section>
<section
class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"
>
<a id="initEvent" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<code class="tsd-tag ts-flagPrivate">Private</code> <span>init<wbr />Event</span
><a href="#initEvent" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
<li class="tsd-signature tsd-anchor-link" id="initEvent.initEvent-1">
init<wbr />Event<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
><a href="#initEvent.initEvent-1" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</li>
<li class="tsd-description">
<code class="tsd-tag ts-flagPrivate">Private</code>
<div class="tsd-comment tsd-typography">
<h3>Description</h3>
<p>Opens and closes the list by the passed event.</p>
<h3>Method</h3>
<p>initEvent</p>
</div>
<h4 class="tsd-returns-title">
Returns <span class="tsd-signature-type">void</span>
</h4>
<aside class="tsd-sources">
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L468"
>cg-select.ts:468</a
>
</li>
</ul>
</aside>
</li>
</ul>
</section>
<section
class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"
>
<a id="initSelected" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<code class="tsd-tag ts-flagPrivate">Private</code> <span>init<wbr />Selected</span
><a href="#initSelected" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
<li class="tsd-signature tsd-anchor-link" id="initSelected.initSelected-1">
init<wbr />Selected<span class="tsd-signature-symbol">(</span>select<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
><span class="tsd-signature-type">void</span
><a
href="#initSelected.initSelected-1"
aria-label="Permalink"
class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</li>
<li class="tsd-description">
<code class="tsd-tag ts-flagPrivate">Private</code>
<div class="tsd-comment tsd-typography">
<h3>Method</h3>
<p>initSelected</p>
<h3>Description</h3>
<p>Renders and styles the select.</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>
<code class="tsd-tag ts-flagOptional">Optional</code> select:
<span class="tsd-signature-type">string</span>
</h5>
<div class="tsd-comment tsd-typography">
<p>optional element. Used in the selectedIndex method.</p>
</div>
</li>
</ul>
</div>
<h4 class="tsd-returns-title">
Returns <span class="tsd-signature-type">void</span>
</h4>
<aside class="tsd-sources">
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L441"
>cg-select.ts:441</a
>
</li>
</ul>
</aside>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a id="on" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<span>on</span
><a href="#on" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-anchor-link" id="on.on-1">
on<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol"
>: </span
><span class="tsd-signature-type">string</span>, callback<span
class="tsd-signature-symbol"
>: </span
><span class="tsd-signature-symbol">(</span
><span class="tsd-signature-symbol">(</span>state<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">any</span
><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
><a href="#on.on-1" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography">
<h3>Description</h3>
<p>Method for tracking the actions of the select, you can pass a callback</p>
<h3>Method</h3>
<p>on</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>state: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography"><p>select state.</p></div>
</li>
<li>
<h5>
callback: <span class="tsd-signature-symbol">(</span
><span class="tsd-signature-symbol">(</span>state<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">any</span
><span class="tsd-signature-symbol">)</span>
</h5>
<ul class="tsd-parameters">
<li class="tsd-parameter-signature">
<ul class="tsd-signatures tsd-kind-type-literal">
<li class="tsd-signature">
<span class="tsd-signature-symbol">(</span>state<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">any</span>
</li>
<li class="tsd-description">
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>state: <span class="tsd-signature-type">any</span></h5>
</li>
</ul>
</div>
<h4 class="tsd-returns-title">
Returns <span class="tsd-signature-type">any</span>
</h4>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<h4 class="tsd-returns-title">
Returns <span class="tsd-signature-type">void</span>
</h4>
<aside class="tsd-sources">
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L924"
>cg-select.ts:924</a
>
</li>
</ul>
</aside>
</li>
</ul>
</section>
<section
class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"
>
<a id="open" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<code class="tsd-tag ts-flagPrivate">Private</code> <span>open</span
><a href="#open" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
<li class="tsd-signature tsd-anchor-link" id="open.open-1">
open<span class="tsd-signature-symbol">(</span>oneClick<span
class="tsd-signature-symbol"
>?: </span
><span class="tsd-signature-type">boolean</span
><span class="tsd-signature-symbol">)</span
><span class="tsd-signature-symbol">: </span
><span class="tsd-signature-type">void</span
><a href="#open.open-1" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</li>
<li class="tsd-description">
<code class="tsd-tag ts-flagPrivate">Private</code>
<div class="tsd-comment tsd-typography">
<h3>Description</h3>
<p>Opens a list to select an element.</p>
<h3>Method</h3>
<p>open</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>
<code class="tsd-tag ts-flagOptional">Optional</code> oneClick:
<span class="tsd-signature-type">boolean</span>
</h5>
<div class="tsd-comment tsd-typography">
<p>optional parameter passed from the buttonControl function.</p>
</div>
</li>
</ul>
</div>
<h4 class="tsd-returns-title">
Returns <span class="tsd-signature-type">void</span>
</h4>
<aside class="tsd-sources">
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L491"
>cg-select.ts:491</a
>
</li>
</ul>
</aside>
</li>
</ul>
</section>
<section
class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"
>
<a id="render" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<code class="tsd-tag ts-flagPrivate">Private</code> <span>render</span
><a href="#render" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
<li class="tsd-signature tsd-anchor-link" id="render.render-1">
render<span class="tsd-signature-symbol">(</span>select<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
><span class="tsd-signature-type">void</span
><a href="#render.render-1" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</li>
<li class="tsd-description">
<code class="tsd-tag ts-flagPrivate">Private</code>
<div class="tsd-comment tsd-typography">
<h3>Method</h3>
<p>render</p>
<h3>Description</h3>
<p>Render elements in select.</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>
<code class="tsd-tag ts-flagOptional">Optional</code> select:
<span class="tsd-signature-type">string</span>
</h5>
<div class="tsd-comment tsd-typography">
<p>optional element. Passed to the initSelected.</p>
</div>
</li>
</ul>
</div>
<h4 class="tsd-returns-title">
Returns <span class="tsd-signature-type">void</span>
</h4>
<aside class="tsd-sources">
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L271"
>cg-select.ts:271</a
>
</li>
</ul>
</aside>
</li>
</ul>
</section>
<section
class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"
>
<a id="renderUrl" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<code class="tsd-tag ts-flagPrivate">Private</code> <span>render<wbr />Url</span
><a href="#renderUrl" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
<li class="tsd-signature tsd-anchor-link" id="renderUrl.renderUrl-1">
render<wbr />Url<span class="tsd-signature-symbol">(</span
><span class="tsd-signature-symbol">)</span
><span class="tsd-signature-symbol">: </span
><span class="tsd-signature-type">Promise</span
><span class="tsd-signature-symbol">&lt;</span
><span class="tsd-signature-type">void</span
><span class="tsd-signature-symbol">&gt;</span
><a href="#renderUrl.renderUrl-1" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</li>
<li class="tsd-description">
<code class="tsd-tag ts-flagPrivate">Private</code>
<div class="tsd-comment tsd-typography">
<h3>Method</h3>
<p>renderUrl</p>
<h3>Description</h3>
<p>Rendering elements in the select passed from the URL and setting them up.</p>
</div>
<h4 class="tsd-returns-title">
Returns <span class="tsd-signature-type">Promise</span
><span class="tsd-signature-symbol">&lt;</span
><span class="tsd-signature-type">void</span
><span class="tsd-signature-symbol">&gt;</span>
</h4>
<aside class="tsd-sources">
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L379"
>cg-select.ts:379</a
>
</li>
</ul>
</aside>
</li>
</ul>
</section>
<section
class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"
>
<a id="searchModeSelect" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<code class="tsd-tag ts-flagPrivate">Private</code>
<span>search<wbr />Mode<wbr />Select</span
><a href="#searchModeSelect" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
<li class="tsd-signature tsd-anchor-link" id="searchModeSelect.searchModeSelect-1">
search<wbr />Mode<wbr />Select<span class="tsd-signature-symbol">(</span>random<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
><span class="tsd-signature-type">void</span
><a
href="#searchModeSelect.searchModeSelect-1"
aria-label="Permalink"
class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</li>
<li class="tsd-description">
<code class="tsd-tag ts-flagPrivate">Private</code>
<div class="tsd-comment tsd-typography">
<h3>Description</h3>
<p>The method that implements the search for elements in the select.</p>
<h3>Method</h3>
<p>searchMode</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>random: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>unique value for input element.</p>
</div>
</li>
</ul>
</div>
<h4 class="tsd-returns-title">
Returns <span class="tsd-signature-type">void</span>
</h4>
<aside class="tsd-sources">
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L693"
>cg-select.ts:693</a
>
</li>
</ul>
</aside>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a id="selectIndex" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<span>select<wbr />Index</span
><a href="#selectIndex" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-anchor-link" id="selectIndex.selectIndex-1">
select<wbr />Index<span class="tsd-signature-symbol">(</span>index<span
class="tsd-signature-symbol"
>: </span
><span class="tsd-signature-type">number</span
><span class="tsd-signature-symbol">)</span
><span class="tsd-signature-symbol">: </span
><span class="tsd-signature-type">void</span
><a href="#selectIndex.selectIndex-1" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography">
<h3>Description</h3>
<p>selects the element that will be initially rendered in the select.</p>
<h3>Method</h3>
<p>selectIndex</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>index: <span class="tsd-signature-type">number</span></h5>
<div class="tsd-comment tsd-typography">
<p>the index of the selected element.</p>
</div>
</li>
</ul>
</div>
<h4 class="tsd-returns-title">
Returns <span class="tsd-signature-type">void</span>
</h4>
<aside class="tsd-sources">
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L902"
>cg-select.ts:902</a
>
</li>
</ul>
</aside>
</li>
</ul>
</section>
<section
class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"
>
<a id="selectMode" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link">
<code class="tsd-tag ts-flagPrivate">Private</code> <span>select<wbr />Mode</span
><a href="#selectMode" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
<li class="tsd-signature tsd-anchor-link" id="selectMode.selectMode-1">
select<wbr />Mode<span class="tsd-signature-symbol">(</span>nativeSelectMode<span
class="tsd-signature-symbol"
>: </span
><span class="tsd-signature-type">boolean</span
><span class="tsd-signature-symbol">)</span
><span class="tsd-signature-symbol">: </span
><span class="tsd-signature-type">void</span
><a href="#selectMode.selectMode-1" aria-label="Permalink" class="tsd-anchor-icon"
><svg
class="icon icon-tabler icon-tabler-link"
viewBox="0 0 24 24"
stroke-width="2"
stroke="currentColor"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<use href="#icon-anchor-a"></use>
<use href="#icon-anchor-b"></use>
<use href="#icon-anchor-c"></use></svg
></a>
</li>
<li class="tsd-description">
<code class="tsd-tag ts-flagPrivate">Private</code>
<div class="tsd-comment tsd-typography">
<h3>Description</h3>
<p>Changes the display of the select on mobile devices.</p>
<h3>Method</h3>
<p>selectMode</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>nativeSelectMode: <span class="tsd-signature-type">boolean</span></h5>
<div class="tsd-comment tsd-typography">
<p>parameter responsible for adding native select.</p>
</div>
</li>
</ul>
</div>
<h4 class="tsd-returns-title">
Returns <span class="tsd-signature-type">void</span>
</h4>
<aside class="tsd-sources">
<ul>
<li>
Defined in
<a href="https://github.com/apuc/cg-select/blob/31b10e2/src/cg-select.ts#L664"
>cg-select.ts:664</a
>
</li>
</ul>
</aside>
</li>
</ul>
</section>
</section>
</div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion">
<summary class="tsd-accordion-summary">
<h3>
<svg width="20" height="20" viewBox="0 0 24 24" fill="none">
<path
d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z"
fill="var(--color-text)"
></path>
</svg>
Settings
</h3>
</summary>
<div class="tsd-accordion-details">
<div class="tsd-filter-visibility">
<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
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>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>
<div class="tsd-theme-toggle">
<h4 class="uppercase">Theme</h4>
<select id="theme">
<option value="os">OS</option>
<option value="light">Light</option>
<option value="dark">Dark</option>
</select>
</div>
</div>
</details>
</div>
<nav class="tsd-navigation primary">
<details class="tsd-index-accordion" open>
<summary class="tsd-accordion-summary">
<h3>
<svg width="20" height="20" viewBox="0 0 24 24" fill="none">
<path
d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z"
fill="var(--color-text)"
></path>
</svg>
Modules
</h3>
</summary>
<div class="tsd-accordion-details">
<ul>
<li class="current">
<a href="../modules.html">cg-<wbr />select</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>
<li class="tsd-kind-module">
<a href="../modules/components_create_element_create_element.html"
>components/create-<wbr />element/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
>
</li>
<li class="tsd-kind-module">
<a href="../modules/components_theme_theme.html">components/theme/theme</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>
</li>
</ul>
</li>
</ul>
</div>
</details>
</nav>
<nav class="tsd-navigation secondary menu-sticky">
<ul>
<li class="current tsd-kind-class tsd-parent-kind-module">
<a href="cg_select.CGSelect.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<rect
fill="var(--color-icon-background)"
stroke="var(--color-ts-class)"
stroke-width="1.5"
x="1"
y="1"
width="22"
height="22"
rx="6"
id="icon-128-path"
></rect>
<path
d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z"
fill="var(--color-text)"
id="icon-128-text"
></path></svg
><span>CGSelect</span></a
>
<ul>
<li class="tsd-kind-constructor tsd-parent-kind-class">
<a href="cg_select.CGSelect.html#constructor" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-512-path"></use>
<use href="#icon-512-text"></use></svg
>constructor</a
>
</li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private">
<a href="cg_select.CGSelect.html#btnCntr" class="tsd-index-link"
><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
>btn<wbr />Cntr?</a
>
</li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private">
<a href="cg_select.CGSelect.html#caret" class="tsd-index-link"
><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
>
</li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private">
<a href="cg_select.CGSelect.html#category" class="tsd-index-link"
><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
>category?</a
>
</li>
<li class="tsd-kind-property tsd-parent-kind-class">
<a href="cg_select.CGSelect.html#closeOnSelect" class="tsd-index-link"
><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
>close<wbr />On<wbr />Select?</a
>
</li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private">
<a href="cg_select.CGSelect.html#element" class="tsd-index-link"
><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
>element</a
>
</li>
<li class="tsd-kind-property tsd-parent-kind-class">
<a href="cg_select.CGSelect.html#event" class="tsd-index-link"
><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
>event?</a
>
</li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private">
<a href="cg_select.CGSelect.html#indexes" class="tsd-index-link"
><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
>indexes</a
>
</li>
<li class="tsd-kind-property tsd-parent-kind-class">
<a href="cg_select.CGSelect.html#items" class="tsd-index-link"
><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
>items?</a
>
</li>
<li class="tsd-kind-property tsd-parent-kind-class">
<a href="cg_select.CGSelect.html#lable" class="tsd-index-link"
><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
>lable?</a
>
</li>
<li class="tsd-kind-property tsd-parent-kind-class">
<a href="cg_select.CGSelect.html#language" class="tsd-index-link"
><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
>language?</a
>
</li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private">
<a href="cg_select.CGSelect.html#list" class="tsd-index-link"
><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
>list</a
>
</li>
<li class="tsd-kind-property tsd-parent-kind-class">
<a href="cg_select.CGSelect.html#listDisplayMode" class="tsd-index-link"
><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
>list<wbr />Display<wbr />Mode?</a
>
</li>
<li class="tsd-kind-property tsd-parent-kind-class">
<a href="cg_select.CGSelect.html#multiselect" class="tsd-index-link"
><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
>multiselect?</a
>
</li>
<li class="tsd-kind-property tsd-parent-kind-class">
<a href="cg_select.CGSelect.html#multiselectTag" class="tsd-index-link"
><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
>multiselect<wbr />Tag?</a
>
</li>
<li class="tsd-kind-property tsd-parent-kind-class">
<a href="cg_select.CGSelect.html#nativeSelectMode" class="tsd-index-link"
><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
>native<wbr />Select<wbr />Mode?</a
>
</li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private">
<a href="cg_select.CGSelect.html#options" class="tsd-index-link"
><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
>options</a
>
</li>
<li class="tsd-kind-property tsd-parent-kind-class">
<a href="cg_select.CGSelect.html#placeholder" class="tsd-index-link"
><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
>placeholder?</a
>
</li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private">
<a href="cg_select.CGSelect.html#randomId" class="tsd-index-link"
><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
>random<wbr />Id</a
>
</li>
<li class="tsd-kind-property tsd-parent-kind-class">
<a href="cg_select.CGSelect.html#searchMode" class="tsd-index-link"
><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
>search<wbr />Mode?</a
>
</li>
<li class="tsd-kind-property tsd-parent-kind-class">
<a href="cg_select.CGSelect.html#selected" class="tsd-index-link"
><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
>selected?</a
>
</li>
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private">
<a href="cg_select.CGSelect.html#selectedItems" class="tsd-index-link"
><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
>selected<wbr />Items</a
>
</li>
<li class="tsd-kind-property tsd-parent-kind-class">
<a href="cg_select.CGSelect.html#selector" class="tsd-index-link"
><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
>selector?</a
>
</li>
<li class="tsd-kind-property tsd-parent-kind-class">
<a href="cg_select.CGSelect.html#styles" class="tsd-index-link"
><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
>styles?</a
>
</li>
<li class="tsd-kind-property tsd-parent-kind-class">
<a href="cg_select.CGSelect.html#theme" class="tsd-index-link"
><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
>theme?</a
>
</li>
<li class="tsd-kind-property tsd-parent-kind-class">
<a href="cg_select.CGSelect.html#url" class="tsd-index-link"
><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
>url?</a
>
</li>
<li class="tsd-kind-accessor tsd-parent-kind-class">
<a href="cg_select.CGSelect.html#indexesOf" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-262144-path"></use>
<use href="#icon-262144-text"></use></svg
>indexes<wbr />Of</a
>
</li>
<li class="tsd-kind-accessor tsd-parent-kind-class">
<a href="cg_select.CGSelect.html#value" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-262144-path"></use>
<use href="#icon-262144-text"></use></svg
>value</a
>
</li>
<li class="tsd-kind-method tsd-parent-kind-class">
<a href="cg_select.CGSelect.html#addItem" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-2048-path"></use>
<use href="#icon-2048-text"></use></svg
>add<wbr />Item</a
>
</li>
<li class="tsd-kind-method tsd-parent-kind-class">
<a href="cg_select.CGSelect.html#addLanguage" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-2048-path"></use>
<use href="#icon-2048-text"></use></svg
>add<wbr />Language</a
>
</li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private">
<a href="cg_select.CGSelect.html#addOptionsBehaviour" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-2048-path"></use>
<use href="#icon-2048-text"></use></svg
>add<wbr />Options<wbr />Behaviour</a
>
</li>
<li class="tsd-kind-method tsd-parent-kind-class">
<a href="cg_select.CGSelect.html#buttonControl" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-2048-path"></use>
<use href="#icon-2048-text"></use></svg
>button<wbr />Control</a
>
</li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private">
<a href="cg_select.CGSelect.html#close" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-2048-path"></use>
<use href="#icon-2048-text"></use></svg
>close</a
>
</li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private">
<a href="cg_select.CGSelect.html#closeSelectClick" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-2048-path"></use>
<use href="#icon-2048-text"></use></svg
>close<wbr />Select<wbr />Click</a
>
</li>
<li class="tsd-kind-method tsd-parent-kind-class">
<a href="cg_select.CGSelect.html#deleteItem" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-2048-path"></use>
<use href="#icon-2048-text"></use></svg
>delete<wbr />Item</a
>
</li>
<li class="tsd-kind-method tsd-parent-kind-class">
<a href="cg_select.CGSelect.html#deleteItemAll" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-2048-path"></use>
<use href="#icon-2048-text"></use></svg
>delete<wbr />Item<wbr />All</a
>
</li>
<li class="tsd-kind-method tsd-parent-kind-class">
<a href="cg_select.CGSelect.html#disabled" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-2048-path"></use>
<use href="#icon-2048-text"></use></svg
>disabled</a
>
</li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private">
<a href="cg_select.CGSelect.html#displayMode" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-2048-path"></use>
<use href="#icon-2048-text"></use></svg
>display<wbr />Mode</a
>
</li>
<li class="tsd-kind-method tsd-parent-kind-class">
<a href="cg_select.CGSelect.html#getElement" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-2048-path"></use>
<use href="#icon-2048-text"></use></svg
>get<wbr />Element</a
>
</li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private">
<a href="cg_select.CGSelect.html#init" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-2048-path"></use>
<use href="#icon-2048-text"></use></svg
>init</a
>
</li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private">
<a href="cg_select.CGSelect.html#initEvent" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-2048-path"></use>
<use href="#icon-2048-text"></use></svg
>init<wbr />Event</a
>
</li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private">
<a href="cg_select.CGSelect.html#initSelected" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-2048-path"></use>
<use href="#icon-2048-text"></use></svg
>init<wbr />Selected</a
>
</li>
<li class="tsd-kind-method tsd-parent-kind-class">
<a href="cg_select.CGSelect.html#on" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-2048-path"></use>
<use href="#icon-2048-text"></use></svg
>on</a
>
</li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private">
<a href="cg_select.CGSelect.html#open" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-2048-path"></use>
<use href="#icon-2048-text"></use></svg
>open</a
>
</li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private">
<a href="cg_select.CGSelect.html#render" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-2048-path"></use>
<use href="#icon-2048-text"></use></svg
>render</a
>
</li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private">
<a href="cg_select.CGSelect.html#renderUrl" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-2048-path"></use>
<use href="#icon-2048-text"></use></svg
>render<wbr />Url</a
>
</li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private">
<a href="cg_select.CGSelect.html#searchModeSelect" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-2048-path"></use>
<use href="#icon-2048-text"></use></svg
>search<wbr />Mode<wbr />Select</a
>
</li>
<li class="tsd-kind-method tsd-parent-kind-class">
<a href="cg_select.CGSelect.html#selectIndex" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-2048-path"></use>
<use href="#icon-2048-text"></use></svg
>select<wbr />Index</a
>
</li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private">
<a href="cg_select.CGSelect.html#selectMode" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-2048-path"></use>
<use href="#icon-2048-text"></use></svg
>select<wbr />Mode</a
>
</li>
</ul>
</li>
</ul>
</nav>
</div>
</div>
<div class="container tsd-generator">
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
</div>
<div class="overlay"></div>
<script src="../assets/main.js"></script>
</body>
</html>