Added img

This commit is contained in:
MaxOvs19
2023-02-23 19:02:55 +03:00
parent 4ceedfc9b5
commit fdaf698e51
46 changed files with 19336 additions and 33 deletions

View File

@ -0,0 +1,357 @@
<!DOCTYPE html>
<html class="default" lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="IE=edge" />
<title>checkItemStruct | 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">All modules</a></li>
<li><a href="../modules/Utils.html">Utils</a></li>
<li><a href="Utils.checkItemStruct.html">checkItemStruct</a></li>
</ul>
<h1>Function checkItemStruct</h1>
</div>
<section class="tsd-panel">
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
<li class="tsd-signature tsd-anchor-link" id="checkItemStruct">
check<wbr />Item<wbr />Struct<span class="tsd-signature-symbol">(</span>item<span
class="tsd-signature-symbol"
>: </span
><span class="tsd-signature-type">object</span
><span class="tsd-signature-symbol">)</span
><span class="tsd-signature-symbol">: </span
><span class="tsd-signature-type">boolean</span
><a href="#checkItemStruct" 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>
</li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography">
<p>Checking if item contains the specified properties.</p>
<h3>Returns</h3>
<p>returns true/false if item contains the specified properties.</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">object</span></h5>
<div class="tsd-comment tsd-typography">
<p>element to be checked against a certain structure.</p>
</div>
</li>
</ul>
</div>
<h4 class="tsd-returns-title">
Returns <span class="tsd-signature-type">boolean</span>
</h4>
<aside class="tsd-sources">
<ul>
<li>
Defined in
<a
href="https://github.com/apuc/cg-select/blob/31b10e2/src/components/utils/utils.ts#L60"
>components/utils/utils.ts:60</a
>
</li>
</ul>
</aside>
</li>
</ul>
</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-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>
</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">All modules</a>
<ul>
<li class="tsd-kind-module">
<a href="../modules/cg_select.html">Cg-<wbr />select</a>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_cg_select_interface.html"
>Cg-<wbr />select.interface</a
>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_items_interface.html">Items.interface</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="selected tsd-kind-module">
<a href="../modules/Utils.html">Utils</a>
</li>
<li class="tsd-kind-module">
<a href="../modules/components_utils_urils_interface.html">Utils.interface</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module">
<a href="../modules/components_create_element_create_element.html"
>Create-<wbr />element</a
>
</li>
<li class="tsd-kind-module">
<a href="../modules/components_create_element_create_element_interface.html"
>Create-<wbr />element.interface</a
>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module">
<a href="../modules/components_theme_theme.html">Theme</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module">
<a href="../modules/language_language.html">language</a>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_language_interface.html">Language.interface</a>
</li>
</ul>
</li>
</ul>
</div>
</details>
</nav>
<nav class="tsd-navigation secondary menu-sticky">
<ul>
<li class="current tsd-kind-function tsd-parent-kind-module">
<a href="Utils.checkItemStruct.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-function)"
stroke-width="1.5"
x="1"
y="1"
width="22"
height="22"
rx="6"
id="icon-64-path"
></rect>
<path
d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z"
fill="var(--color-text)"
id="icon-64-text"
></path></svg
>check<wbr />Item<wbr />Struct</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.clearSelect.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>clear<wbr />Select</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.createSelected.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>create<wbr />Selected</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.customStyles.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>custom<wbr />Styles</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.customStylesFormat.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>custom<wbr />Styles<wbr />Format</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.getFormatItem.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>get<wbr />Format<wbr />Item</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.getSelectText.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>get<wbr />Select<wbr />Text</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.nativeOptionMultiple.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>native<wbr />Option<wbr />Multiple</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.nativeOptionOrdinary.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>native<wbr />Option<wbr />Ordinary</a
>
</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>

View File

@ -0,0 +1,382 @@
<!DOCTYPE html>
<html class="default" lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="IE=edge" />
<title>clearSelect | 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">All modules</a></li>
<li><a href="../modules/Utils.html">Utils</a></li>
<li><a href="Utils.clearSelect.html">clearSelect</a></li>
</ul>
<h1>Function clearSelect</h1>
</div>
<section class="tsd-panel">
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
<li class="tsd-signature tsd-anchor-link" id="clearSelect">
clear<wbr />Select<span class="tsd-signature-symbol">(</span>select<span
class="tsd-signature-symbol"
>: </span
><span class="tsd-signature-type">HTMLElement</span>, element<span
class="tsd-signature-symbol"
>: </span
><span class="tsd-signature-type">Element</span>, dataSelectText<span
class="tsd-signature-symbol"
>: </span
><a
href="../interfaces/components_utils_urils_interface.ISelectedItems.html"
class="tsd-signature-type"
data-tsd-kind="Interface"
>ISelectedItems</a
><span class="tsd-signature-symbol">)</span
><span class="tsd-signature-symbol">: </span
><span class="tsd-signature-type">void</span
><a href="#clearSelect" 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>
</li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography">
<p>Creating a clear select button, with a single selection.</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>select: <span class="tsd-signature-type">HTMLElement</span></h5>
<div class="tsd-comment tsd-typography">
<p>place in the select that will be reassigned to &#39;&#39;.</p>
</div>
</li>
<li>
<h5>element: <span class="tsd-signature-type">Element</span></h5>
<div class="tsd-comment tsd-typography"><p>class instance CgSelect.</p></div>
</li>
<li>
<h5>
dataSelectText:
<a
href="../interfaces/components_utils_urils_interface.ISelectedItems.html"
class="tsd-signature-type"
data-tsd-kind="Interface"
>ISelectedItems</a
>
</h5>
<div class="tsd-comment tsd-typography">
<p>the text that is rendered in the 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/components/utils/utils.ts#L106"
>components/utils/utils.ts:106</a
>
</li>
</ul>
</aside>
</li>
</ul>
</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-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>
</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">All modules</a>
<ul>
<li class="tsd-kind-module">
<a href="../modules/cg_select.html">Cg-<wbr />select</a>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_cg_select_interface.html"
>Cg-<wbr />select.interface</a
>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_items_interface.html">Items.interface</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="selected tsd-kind-module">
<a href="../modules/Utils.html">Utils</a>
</li>
<li class="tsd-kind-module">
<a href="../modules/components_utils_urils_interface.html">Utils.interface</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module">
<a href="../modules/components_create_element_create_element.html"
>Create-<wbr />element</a
>
</li>
<li class="tsd-kind-module">
<a href="../modules/components_create_element_create_element_interface.html"
>Create-<wbr />element.interface</a
>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module">
<a href="../modules/components_theme_theme.html">Theme</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module">
<a href="../modules/language_language.html">language</a>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_language_interface.html">Language.interface</a>
</li>
</ul>
</li>
</ul>
</div>
</details>
</nav>
<nav class="tsd-navigation secondary menu-sticky">
<ul>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.checkItemStruct.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-function)"
stroke-width="1.5"
x="1"
y="1"
width="22"
height="22"
rx="6"
id="icon-64-path"
></rect>
<path
d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z"
fill="var(--color-text)"
id="icon-64-text"
></path></svg
>check<wbr />Item<wbr />Struct</a
>
</li>
<li class="current tsd-kind-function tsd-parent-kind-module">
<a href="Utils.clearSelect.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>clear<wbr />Select</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.createSelected.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>create<wbr />Selected</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.customStyles.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>custom<wbr />Styles</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.customStylesFormat.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>custom<wbr />Styles<wbr />Format</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.getFormatItem.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>get<wbr />Format<wbr />Item</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.getSelectText.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>get<wbr />Select<wbr />Text</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.nativeOptionMultiple.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>native<wbr />Option<wbr />Multiple</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.nativeOptionOrdinary.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>native<wbr />Option<wbr />Ordinary</a
>
</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>

View File

@ -0,0 +1,388 @@
<!DOCTYPE html>
<html class="default" lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="IE=edge" />
<title>createSelected | 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">All modules</a></li>
<li><a href="../modules/Utils.html">Utils</a></li>
<li><a href="Utils.createSelected.html">createSelected</a></li>
</ul>
<h1>Function createSelected</h1>
</div>
<section class="tsd-panel">
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
<li class="tsd-signature tsd-anchor-link" id="createSelected">
create<wbr />Selected<span class="tsd-signature-symbol">(</span>element<span
class="tsd-signature-symbol"
>: </span
><span class="tsd-signature-type">Element</span>, content<span
class="tsd-signature-symbol"
>?: </span
><span class="tsd-signature-type">string</span>, 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
><span class="tsd-signature-symbol">)</span
><span class="tsd-signature-symbol">: </span
><span class="tsd-signature-type">void</span
><a href="#createSelected" 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>
</li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Creating an Item Selector Button.</p></div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>element: <span class="tsd-signature-type">Element</span></h5>
<div class="tsd-comment tsd-typography">
<p>instantiated class CgSelect.</p>
</div>
</li>
<li>
<h5>
<code class="tsd-tag ts-flagOptional">Optional</code> content:
<span class="tsd-signature-type">string</span>
</h5>
<div class="tsd-comment tsd-typography">
<p>placeholer passed from select settings.</p>
</div>
</li>
<li>
<h5>
<code class="tsd-tag ts-flagOptional">Optional</code> styles:
<a
href="../interfaces/interfaces_cg_select_interface.IStyle.html"
class="tsd-signature-type"
data-tsd-kind="Interface"
>IStyle</a
>
</h5>
<div class="tsd-comment tsd-typography">
<p>
optional parameter. The object in which the settings for customizing parts
of the select are located.
</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/components/utils/utils.ts#L74"
>components/utils/utils.ts:74</a
>
</li>
</ul>
</aside>
</li>
</ul>
</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-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>
</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">All modules</a>
<ul>
<li class="tsd-kind-module">
<a href="../modules/cg_select.html">Cg-<wbr />select</a>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_cg_select_interface.html"
>Cg-<wbr />select.interface</a
>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_items_interface.html">Items.interface</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="selected tsd-kind-module">
<a href="../modules/Utils.html">Utils</a>
</li>
<li class="tsd-kind-module">
<a href="../modules/components_utils_urils_interface.html">Utils.interface</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module">
<a href="../modules/components_create_element_create_element.html"
>Create-<wbr />element</a
>
</li>
<li class="tsd-kind-module">
<a href="../modules/components_create_element_create_element_interface.html"
>Create-<wbr />element.interface</a
>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module">
<a href="../modules/components_theme_theme.html">Theme</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module">
<a href="../modules/language_language.html">language</a>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_language_interface.html">Language.interface</a>
</li>
</ul>
</li>
</ul>
</div>
</details>
</nav>
<nav class="tsd-navigation secondary menu-sticky">
<ul>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.checkItemStruct.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-function)"
stroke-width="1.5"
x="1"
y="1"
width="22"
height="22"
rx="6"
id="icon-64-path"
></rect>
<path
d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z"
fill="var(--color-text)"
id="icon-64-text"
></path></svg
>check<wbr />Item<wbr />Struct</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.clearSelect.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>clear<wbr />Select</a
>
</li>
<li class="current tsd-kind-function tsd-parent-kind-module">
<a href="Utils.createSelected.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>create<wbr />Selected</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.customStyles.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>custom<wbr />Styles</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.customStylesFormat.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>custom<wbr />Styles<wbr />Format</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.getFormatItem.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>get<wbr />Format<wbr />Item</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.getSelectText.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>get<wbr />Select<wbr />Text</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.nativeOptionMultiple.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>native<wbr />Option<wbr />Multiple</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.nativeOptionOrdinary.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>native<wbr />Option<wbr />Ordinary</a
>
</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>

View File

@ -0,0 +1,375 @@
<!DOCTYPE html>
<html class="default" lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="IE=edge" />
<title>customStyles | 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">All modules</a></li>
<li><a href="../modules/Utils.html">Utils</a></li>
<li><a href="Utils.customStyles.html">customStyles</a></li>
</ul>
<h1>Function customStyles</h1>
</div>
<section class="tsd-panel">
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
<li class="tsd-signature tsd-anchor-link" id="customStyles">
custom<wbr />Styles<span class="tsd-signature-symbol">(</span>element<span
class="tsd-signature-symbol"
>: </span
><span class="tsd-signature-type">Element</span>, 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
><span class="tsd-signature-symbol">)</span
><span class="tsd-signature-symbol">: </span
><span class="tsd-signature-type">void</span
><a href="#customStyles" 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>
</li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography">
<p>Finding and styling elements derived from the styles instance CgSelect</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>element: <span class="tsd-signature-type">Element</span></h5>
<div class="tsd-comment tsd-typography">
<p>instantiated class CgSelect.</p>
</div>
</li>
<li>
<h5>
styles:
<a
href="../interfaces/interfaces_cg_select_interface.IStyle.html"
class="tsd-signature-type"
data-tsd-kind="Interface"
>IStyle</a
>
</h5>
<div class="tsd-comment tsd-typography">
<p>object in which there are settings for customizing parts of the 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/components/utils/utils.ts#L217"
>components/utils/utils.ts:217</a
>
</li>
</ul>
</aside>
</li>
</ul>
</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-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>
</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">All modules</a>
<ul>
<li class="tsd-kind-module">
<a href="../modules/cg_select.html">Cg-<wbr />select</a>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_cg_select_interface.html"
>Cg-<wbr />select.interface</a
>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_items_interface.html">Items.interface</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="selected tsd-kind-module">
<a href="../modules/Utils.html">Utils</a>
</li>
<li class="tsd-kind-module">
<a href="../modules/components_utils_urils_interface.html">Utils.interface</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module">
<a href="../modules/components_create_element_create_element.html"
>Create-<wbr />element</a
>
</li>
<li class="tsd-kind-module">
<a href="../modules/components_create_element_create_element_interface.html"
>Create-<wbr />element.interface</a
>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module">
<a href="../modules/components_theme_theme.html">Theme</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module">
<a href="../modules/language_language.html">language</a>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_language_interface.html">Language.interface</a>
</li>
</ul>
</li>
</ul>
</div>
</details>
</nav>
<nav class="tsd-navigation secondary menu-sticky">
<ul>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.checkItemStruct.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-function)"
stroke-width="1.5"
x="1"
y="1"
width="22"
height="22"
rx="6"
id="icon-64-path"
></rect>
<path
d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z"
fill="var(--color-text)"
id="icon-64-text"
></path></svg
>check<wbr />Item<wbr />Struct</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.clearSelect.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>clear<wbr />Select</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.createSelected.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>create<wbr />Selected</a
>
</li>
<li class="current tsd-kind-function tsd-parent-kind-module">
<a href="Utils.customStyles.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>custom<wbr />Styles</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.customStylesFormat.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>custom<wbr />Styles<wbr />Format</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.getFormatItem.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>get<wbr />Format<wbr />Item</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.getSelectText.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>get<wbr />Select<wbr />Text</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.nativeOptionMultiple.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>native<wbr />Option<wbr />Multiple</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.nativeOptionOrdinary.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>native<wbr />Option<wbr />Ordinary</a
>
</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>

View File

@ -0,0 +1,364 @@
<!DOCTYPE html>
<html class="default" lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="IE=edge" />
<title>customStylesFormat | 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">All mobiles</a></li>
<li><a href="../modules/Utils.html">Utils</a></li>
<li><a href="Utils.customStylesFormat.html">customStylesFormat</a></li>
</ul>
<h1>Function customStylesFormat</h1>
</div>
<section class="tsd-panel">
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
<li class="tsd-signature tsd-anchor-link" id="customStylesFormat">
custom<wbr />Styles<wbr />Format<span class="tsd-signature-symbol">(</span
>elemOption<span class="tsd-signature-symbol">: </span
><span class="tsd-signature-type">object</span>, selector<span
class="tsd-signature-symbol"
>: </span
><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span
><span class="tsd-signature-symbol">: </span
><span class="tsd-signature-type">void</span
><a href="#customStylesFormat" 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>
</li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography">
<p>Generic Method for Styling a Select.</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>elemOption: <span class="tsd-signature-type">object</span></h5>
<div class="tsd-comment tsd-typography">
<p>
an object obtained from the styles object from which we get the styles
key-value.
</p>
</div>
</li>
<li>
<h5>selector: <span class="tsd-signature-type">any</span></h5>
<div class="tsd-comment tsd-typography">
<p>HTMLElement subject to customization.</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/components/utils/utils.ts#L237"
>components/utils/utils.ts:237</a
>
</li>
</ul>
</aside>
</li>
</ul>
</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-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>
</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">All modules</a>
<ul>
<li class="tsd-kind-module">
<a href="../modules/cg_select.html">Cg-<wbr />select</a>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_cg_select_interface.html"
>Cg-<wbr />select.interface</a
>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_items_interface.html">Items.interface</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="selected tsd-kind-module">
<a href="../modules/Utils.html">Utils</a>
</li>
<li class="tsd-kind-module">
<a href="../modules/components_utils_urils_interface.html">Utils.interface</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module">
<a href="../modules/components_create_element_create_element.html"
>Create-<wbr />element</a
>
</li>
<li class="tsd-kind-module">
<a href="../modules/components_create_element_create_element_interface.html"
>Create-<wbr />element.interface</a
>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module">
<a href="../modules/components_theme_theme.html">Theme</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module">
<a href="../modules/language_language.html">language</a>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_language_interface.html">Language.interface</a>
</li>
</ul>
</li>
</ul>
</div>
</details>
</nav>
<nav class="tsd-navigation secondary menu-sticky">
<ul>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.checkItemStruct.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-function)"
stroke-width="1.5"
x="1"
y="1"
width="22"
height="22"
rx="6"
id="icon-64-path"
></rect>
<path
d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z"
fill="var(--color-text)"
id="icon-64-text"
></path></svg
>check<wbr />Item<wbr />Struct</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.clearSelect.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>clear<wbr />Select</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.createSelected.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>create<wbr />Selected</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.customStyles.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>custom<wbr />Styles</a
>
</li>
<li class="current tsd-kind-function tsd-parent-kind-module">
<a href="Utils.customStylesFormat.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>custom<wbr />Styles<wbr />Format</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.getFormatItem.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>get<wbr />Format<wbr />Item</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.getSelectText.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>get<wbr />Select<wbr />Text</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.nativeOptionMultiple.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>native<wbr />Option<wbr />Multiple</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.nativeOptionOrdinary.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>native<wbr />Option<wbr />Ordinary</a
>
</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>

View File

@ -0,0 +1,373 @@
<!DOCTYPE html>
<html class="default" lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="IE=edge" />
<title>getFormatItem | 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">All mobiles</a></li>
<li><a href="../modules/Utils.html">Utils</a></li>
<li><a href="Utils.getFormatItem.html">getFormatItem</a></li>
</ul>
<h1>Function getFormatItem</h1>
</div>
<section class="tsd-panel">
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
<li class="tsd-signature tsd-anchor-link" id="getFormatItem">
get<wbr />Format<wbr />Item<span class="tsd-signature-symbol">(</span>dataItem<span
class="tsd-signature-symbol"
>: </span
><span class="tsd-signature-type">any</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
><a
href="../interfaces/interfaces_items_interface.IItems.html"
class="tsd-signature-type"
data-tsd-kind="Interface"
>IItems</a
><a href="#getFormatItem" 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>
</li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography">
<p>Converting each item obtained from the Items field;</p>
<h3>Returns</h3>
<p>returns the formed object</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>dataItem: <span class="tsd-signature-type">any</span></h5>
<div class="tsd-comment tsd-typography">
<p>received element passed when creating the select.</p>
</div>
</li>
<li>
<h5>index: <span class="tsd-signature-type">number</span></h5>
<div class="tsd-comment tsd-typography"><p>index of this element.</p></div>
</li>
</ul>
</div>
<h4 class="tsd-returns-title">
Returns
<a
href="../interfaces/interfaces_items_interface.IItems.html"
class="tsd-signature-type"
data-tsd-kind="Interface"
>IItems</a
>
</h4>
<aside class="tsd-sources">
<ul>
<li>
Defined in
<a
href="https://github.com/apuc/cg-select/blob/31b10e2/src/components/utils/utils.ts#L15"
>components/utils/utils.ts:15</a
>
</li>
</ul>
</aside>
</li>
</ul>
</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-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>
</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">All modules</a>
<ul>
<li class="tsd-kind-module">
<a href="../modules/cg_select.html">Cg-<wbr />select</a>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_cg_select_interface.html"
>Cg-<wbr />select.interface</a
>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_items_interface.html">Items.interface</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="selected tsd-kind-module">
<a href="../modules/Utils.html">Utils</a>
</li>
<li class="tsd-kind-module">
<a href="../modules/components_utils_urils_interface.html">Utils.interface</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module">
<a href="../modules/components_create_element_create_element.html"
>Create-<wbr />element</a
>
</li>
<li class="tsd-kind-module">
<a href="../modules/components_create_element_create_element_interface.html"
>Create-<wbr />element.interface</a
>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module">
<a href="../modules/components_theme_theme.html">Theme</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module">
<a href="../modules/language_language.html">language</a>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_language_interface.html">Language.interface</a>
</li>
</ul>
</li>
</ul>
</div>
</details>
</nav>
<nav class="tsd-navigation secondary menu-sticky">
<ul>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.checkItemStruct.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-function)"
stroke-width="1.5"
x="1"
y="1"
width="22"
height="22"
rx="6"
id="icon-64-path"
></rect>
<path
d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z"
fill="var(--color-text)"
id="icon-64-text"
></path></svg
>check<wbr />Item<wbr />Struct</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.clearSelect.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>clear<wbr />Select</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.createSelected.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>create<wbr />Selected</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.customStyles.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>custom<wbr />Styles</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.customStylesFormat.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>custom<wbr />Styles<wbr />Format</a
>
</li>
<li class="current tsd-kind-function tsd-parent-kind-module">
<a href="Utils.getFormatItem.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>get<wbr />Format<wbr />Item</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.getSelectText.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>get<wbr />Select<wbr />Text</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.nativeOptionMultiple.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>native<wbr />Option<wbr />Multiple</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.nativeOptionOrdinary.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>native<wbr />Option<wbr />Ordinary</a
>
</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>

View File

@ -0,0 +1,387 @@
<!DOCTYPE html>
<html class="default" lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="IE=edge" />
<title>getSelectText | 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">All mobiles</a></li>
<li><a href="../modules/Utils.html">Utils</a></li>
<li><a href="Utils.getSelectText.html">getSelectText</a></li>
</ul>
<h1>Function getSelectText</h1>
</div>
<section class="tsd-panel">
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
<li class="tsd-signature tsd-anchor-link" id="getSelectText">
get<wbr />Select<wbr />Text<span class="tsd-signature-symbol">(</span>data<span
class="tsd-signature-symbol"
>: </span
><a
href="../interfaces/components_utils_urils_interface.ISelectedItems.html"
class="tsd-signature-type"
data-tsd-kind="Interface"
>ISelectedItems</a
>, select<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">HTMLElement</span
><span class="tsd-signature-symbol">)</span
><span class="tsd-signature-symbol">: </span
><span class="tsd-signature-type">HTMLElement</span
><a href="#getSelectText" 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>
</li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography">
<p>Insert initial select text (before selection)</p>
<h3>Returns</h3>
<p>returns the generated select element.</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>
data:
<a
href="../interfaces/components_utils_urils_interface.ISelectedItems.html"
class="tsd-signature-type"
data-tsd-kind="Interface"
>ISelectedItems</a
>
</h5>
<div class="tsd-comment tsd-typography">
<p>the object in which the title of the select is located.</p>
</div>
</li>
<li>
<h5>
select: <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">HTMLElement</span>
</h5>
<div class="tsd-comment tsd-typography">
<p>select element where title will be inserted.</p>
</div>
</li>
</ul>
</div>
<h4 class="tsd-returns-title">
Returns <span class="tsd-signature-type">HTMLElement</span>
</h4>
<aside class="tsd-sources">
<ul>
<li>
Defined in
<a
href="https://github.com/apuc/cg-select/blob/31b10e2/src/components/utils/utils.ts#L38"
>components/utils/utils.ts:38</a
>
</li>
</ul>
</aside>
</li>
</ul>
</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-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>
</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">All modules</a>
<ul>
<li class="tsd-kind-module">
<a href="../modules/cg_select.html">Cg-<wbr />select</a>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_cg_select_interface.html"
>Cg-<wbr />select.interface</a
>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_items_interface.html">Items.interface</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="selected tsd-kind-module">
<a href="../modules/Utils.html">Utils</a>
</li>
<li class="tsd-kind-module">
<a href="../modules/components_utils_urils_interface.html">Utils.interface</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module">
<a href="../modules/components_create_element_create_element.html"
>Create-<wbr />element</a
>
</li>
<li class="tsd-kind-module">
<a href="../modules/components_create_element_create_element_interface.html"
>Create-<wbr />element.interface</a
>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module">
<a href="../modules/components_theme_theme.html">Theme</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module">
<a href="../modules/language_language.html">language</a>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_language_interface.html">Language.interface</a>
</li>
</ul>
</li>
</ul>
</div>
</details>
</nav>
<nav class="tsd-navigation secondary menu-sticky">
<ul>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.checkItemStruct.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-function)"
stroke-width="1.5"
x="1"
y="1"
width="22"
height="22"
rx="6"
id="icon-64-path"
></rect>
<path
d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z"
fill="var(--color-text)"
id="icon-64-text"
></path></svg
>check<wbr />Item<wbr />Struct</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.clearSelect.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>clear<wbr />Select</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.createSelected.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>create<wbr />Selected</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.customStyles.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>custom<wbr />Styles</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.customStylesFormat.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>custom<wbr />Styles<wbr />Format</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.getFormatItem.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>get<wbr />Format<wbr />Item</a
>
</li>
<li class="current tsd-kind-function tsd-parent-kind-module">
<a href="Utils.getSelectText.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>get<wbr />Select<wbr />Text</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.nativeOptionMultiple.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>native<wbr />Option<wbr />Multiple</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.nativeOptionOrdinary.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>native<wbr />Option<wbr />Ordinary</a
>
</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>

View File

@ -0,0 +1,381 @@
<!DOCTYPE html>
<html class="default" lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="IE=edge" />
<title>nativeOptionMultiple | 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">All mobiles</a></li>
<li><a href="../modules/Utils.html">Utils</a></li>
<li><a href="Utils.nativeOptionMultiple.html">nativeOptionMultiple</a></li>
</ul>
<h1>Function nativeOptionMultiple</h1>
</div>
<section class="tsd-panel">
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
<li class="tsd-signature tsd-anchor-link" id="nativeOptionMultiple">
native<wbr />Option<wbr />Multiple<span class="tsd-signature-symbol">(</span
>element<span class="tsd-signature-symbol">: </span
><span class="tsd-signature-type">undefined</span
><span class="tsd-signature-symbol"> | </span
><span class="tsd-signature-type">NodeListOf</span
><span class="tsd-signature-symbol">&lt;</span
><span class="tsd-signature-type">Element</span
><span class="tsd-signature-symbol">&gt;</span>, item<span
class="tsd-signature-symbol"
>: </span
><span class="tsd-signature-type">string</span>, condition<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="#nativeOptionMultiple" 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>
</li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography">
<p>The behavior of the native (Multiple) select when choosing in a custom one.</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>
element: <span class="tsd-signature-type">undefined</span
><span class="tsd-signature-symbol"> | </span
><span class="tsd-signature-type">NodeListOf</span
><span class="tsd-signature-symbol">&lt;</span
><span class="tsd-signature-type">Element</span
><span class="tsd-signature-symbol">&gt;</span>
</h5>
<div class="tsd-comment tsd-typography"><p>NodeList of native select.</p></div>
</li>
<li>
<h5>item: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>selected element in custom select.</p>
</div>
</li>
<li>
<h5>condition: <span class="tsd-signature-type">boolean</span></h5>
<div class="tsd-comment tsd-typography">
<p>a special flag that adds / removes attributes from the 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/components/utils/utils.ts#L192"
>components/utils/utils.ts:192</a
>
</li>
</ul>
</aside>
</li>
</ul>
</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-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>
</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">All modules</a>
<ul>
<li class="tsd-kind-module">
<a href="../modules/cg_select.html">Cg-<wbr />select</a>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_cg_select_interface.html"
>Cg-<wbr />select.interface</a
>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_items_interface.html">Items.interface</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="selected tsd-kind-module">
<a href="../modules/Utils.html">Utils</a>
</li>
<li class="tsd-kind-module">
<a href="../modules/components_utils_urils_interface.html">Utils.interface</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module">
<a href="../modules/components_create_element_create_element.html"
>Create-<wbr />element</a
>
</li>
<li class="tsd-kind-module">
<a href="../modules/components_create_element_create_element_interface.html"
>Create-<wbr />element.interface</a
>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module">
<a href="../modules/components_theme_theme.html">Theme</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module">
<a href="../modules/language_language.html">language</a>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_language_interface.html">Language.interface</a>
</li>
</ul>
</li>
</ul>
</div>
</details>
</nav>
<nav class="tsd-navigation secondary menu-sticky">
<ul>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.checkItemStruct.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-function)"
stroke-width="1.5"
x="1"
y="1"
width="22"
height="22"
rx="6"
id="icon-64-path"
></rect>
<path
d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z"
fill="var(--color-text)"
id="icon-64-text"
></path></svg
>check<wbr />Item<wbr />Struct</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.clearSelect.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>clear<wbr />Select</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.createSelected.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>create<wbr />Selected</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.customStyles.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>custom<wbr />Styles</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.customStylesFormat.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>custom<wbr />Styles<wbr />Format</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.getFormatItem.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>get<wbr />Format<wbr />Item</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.getSelectText.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>get<wbr />Select<wbr />Text</a
>
</li>
<li class="current tsd-kind-function tsd-parent-kind-module">
<a href="Utils.nativeOptionMultiple.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>native<wbr />Option<wbr />Multiple</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.nativeOptionOrdinary.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>native<wbr />Option<wbr />Ordinary</a
>
</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>

View File

@ -0,0 +1,372 @@
<!DOCTYPE html>
<html class="default" lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="IE=edge" />
<title>nativeOptionOrdinary | 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">All mobiles</a></li>
<li><a href="../modules/Utils.html">Utils</a></li>
<li><a href="Utils.nativeOptionOrdinary.html">nativeOptionOrdinary</a></li>
</ul>
<h1>Function nativeOptionOrdinary</h1>
</div>
<section class="tsd-panel">
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
<li class="tsd-signature tsd-anchor-link" id="nativeOptionOrdinary">
native<wbr />Option<wbr />Ordinary<span class="tsd-signature-symbol">(</span
>element<span class="tsd-signature-symbol">: </span
><span class="tsd-signature-type">undefined</span
><span class="tsd-signature-symbol"> | </span
><span class="tsd-signature-type">NodeListOf</span
><span class="tsd-signature-symbol">&lt;</span
><span class="tsd-signature-type">Element</span
><span class="tsd-signature-symbol">&gt;</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-symbol">: </span
><span class="tsd-signature-type">void</span
><a href="#nativeOptionOrdinary" 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>
</li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography">
<p>Behavior of a native (single) select when choosing a custom one.</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>
element: <span class="tsd-signature-type">undefined</span
><span class="tsd-signature-symbol"> | </span
><span class="tsd-signature-type">NodeListOf</span
><span class="tsd-signature-symbol">&lt;</span
><span class="tsd-signature-type">Element</span
><span class="tsd-signature-symbol">&gt;</span>
</h5>
<div class="tsd-comment tsd-typography"><p>NodeList native select.</p></div>
</li>
<li>
<h5>item: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>selected element in custom 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/components/utils/utils.ts#L177"
>components/utils/utils.ts:177</a
>
</li>
</ul>
</aside>
</li>
</ul>
</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-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>
</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">All modules</a>
<ul>
<li class="tsd-kind-module">
<a href="../modules/cg_select.html">Cg-<wbr />select</a>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_cg_select_interface.html"
>Cg-<wbr />select.interface</a
>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_items_interface.html">Items.interface</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="selected tsd-kind-module">
<a href="../modules/Utils.html">Utils</a>
</li>
<li class="tsd-kind-module">
<a href="../modules/components_utils_urils_interface.html">Utils.interface</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module">
<a href="../modules/components_create_element_create_element.html"
>Create-<wbr />element</a
>
</li>
<li class="tsd-kind-module">
<a href="../modules/components_create_element_create_element_interface.html"
>Create-<wbr />element.interface</a
>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module">
<a href="../modules/components_theme_theme.html">Theme</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module">
<a href="../modules/language_language.html">language</a>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_language_interface.html">Language.interface</a>
</li>
</ul>
</li>
</ul>
</div>
</details>
</nav>
<nav class="tsd-navigation secondary menu-sticky">
<ul>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.checkItemStruct.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-function)"
stroke-width="1.5"
x="1"
y="1"
width="22"
height="22"
rx="6"
id="icon-64-path"
></rect>
<path
d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z"
fill="var(--color-text)"
id="icon-64-text"
></path></svg
>check<wbr />Item<wbr />Struct</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.clearSelect.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>clear<wbr />Select</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.createSelected.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>create<wbr />Selected</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.customStyles.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>custom<wbr />Styles</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.customStylesFormat.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>custom<wbr />Styles<wbr />Format</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.getFormatItem.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>get<wbr />Format<wbr />Item</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.getSelectText.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>get<wbr />Select<wbr />Text</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a href="Utils.nativeOptionMultiple.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>native<wbr />Option<wbr />Multiple</a
>
</li>
<li class="current tsd-kind-function tsd-parent-kind-module">
<a href="Utils.nativeOptionOrdinary.html" class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>native<wbr />Option<wbr />Ordinary</a
>
</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>

View File

@ -0,0 +1,366 @@
<!DOCTYPE html>
<html class="default" lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="IE=edge" />
<title>createBreadCrumb | 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">All modules</a></li>
<li>
<a href="../modules/components_create_element_create_element.html">Create-element</a>
</li>
<li>
<a href="components_create_element_create_element.createBreadCrumb.html"
>createBreadCrumb</a
>
</li>
</ul>
<h1>Function createBreadCrumb</h1>
</div>
<section class="tsd-panel">
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
<li class="tsd-signature tsd-anchor-link" id="createBreadCrumb">
create<wbr />Bread<wbr />Crumb<span class="tsd-signature-symbol">(</span>data<span
class="tsd-signature-symbol"
>: </span
><a
href="../interfaces/components_create_element_create_element_interface.ICreateBreadCrumb.html"
class="tsd-signature-type"
data-tsd-kind="Interface"
>ICreateBreadCrumb</a
>, title<span class="tsd-signature-symbol">: </span
><span class="tsd-signature-type">string</span>, index<span
class="tsd-signature-symbol"
>: </span
><span class="tsd-signature-type">number</span>, id<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">HTMLLIElement</span
><a href="#createBreadCrumb" 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>
</li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography">
<p>The method that creates and is responsible for the behavior of the chips.</p>
<h3>Returns</h3>
<p>returns the generated HTMLElement chips item.</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>
data:
<a
href="../interfaces/components_create_element_create_element_interface.ICreateBreadCrumb.html"
class="tsd-signature-type"
data-tsd-kind="Interface"
>ICreateBreadCrumb</a
>
</h5>
<div class="tsd-comment tsd-typography">
<p>an object that contains settings and select elements.</p>
</div>
</li>
<li>
<h5>title: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>the name of the selected element to draw chips.</p>
</div>
</li>
<li>
<h5>index: <span class="tsd-signature-type">number</span></h5>
<div class="tsd-comment tsd-typography">
<p>index of the selected item to draw chips.</p>
</div>
</li>
<li>
<h5>id: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>unique id of the selected element.</p>
</div>
</li>
</ul>
</div>
<h4 class="tsd-returns-title">
Returns <span class="tsd-signature-type">HTMLLIElement</span>
</h4>
<aside class="tsd-sources">
<ul>
<li>
Defined in
<a
href="https://github.com/apuc/cg-select/blob/31b10e2/src/components/create-element/create-element.ts#L35"
>components/create-element/create-element.ts:35</a
>
</li>
</ul>
</aside>
</li>
</ul>
</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-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>
</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">All modules</a>
<ul>
<li class="tsd-kind-module">
<a href="../modules/cg_select.html">Cg-<wbr />select</a>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_cg_select_interface.html"
>Cg-<wbr />select.interface</a
>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_items_interface.html">Items.interface</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module"><a href="../modules/Utils.html">Utils</a></li>
<li class="tsd-kind-module">
<a href="../modules/components_utils_urils_interface.html">Utils.interface</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="selected tsd-kind-module">
<a href="../modules/components_create_element_create_element.html"
>Create-<wbr />element</a
>
</li>
<li class="tsd-kind-module">
<a href="../modules/components_create_element_create_element_interface.html"
>Create-<wbr />element.interface</a
>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module">
<a href="../modules/components_theme_theme.html">Theme</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module">
<a href="../modules/language_language.html">language</a>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_language_interface.html">Language.interface</a>
</li>
</ul>
</li>
</ul>
</div>
</details>
</nav>
<nav class="tsd-navigation secondary menu-sticky">
<ul>
<li class="current tsd-kind-function tsd-parent-kind-module">
<a
href="components_create_element_create_element.createBreadCrumb.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-function)"
stroke-width="1.5"
x="1"
y="1"
width="22"
height="22"
rx="6"
id="icon-64-path"
></rect>
<path
d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z"
fill="var(--color-text)"
id="icon-64-text"
></path></svg
>create<wbr />Bread<wbr />Crumb</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a
href="components_create_element_create_element.createInputSearch.html"
class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>create<wbr />Input<wbr />Search</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a
href="components_create_element_create_element.createNativeSelect.html"
class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>create<wbr />Native<wbr />Select</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a
href="components_create_element_create_element.createNativeSelectOption.html"
class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>create<wbr />Native<wbr />Select<wbr />Option</a
>
</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>

View File

@ -0,0 +1,338 @@
<!DOCTYPE html>
<html class="default" lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="IE=edge" />
<title>createInputSearch | 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">All modules</a></li>
<li>
<a href="../modules/components_create_element_create_element.html">Create-element</a>
</li>
<li>
<a href="components_create_element_create_element.createInputSearch.html"
>createInputSearch</a
>
</li>
</ul>
<h1>Function createInputSearch</h1>
</div>
<section class="tsd-panel">
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
<li class="tsd-signature tsd-anchor-link" id="createInputSearch">
create<wbr />Input<wbr />Search<span class="tsd-signature-symbol">(</span>random<span
class="tsd-signature-symbol"
>: </span
><span class="tsd-signature-type">string</span>, lenguage<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">HTMLInputElement</span
><a href="#createInputSearch" 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>
</li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography">
<p>The method that creates a search for elements in the select.</p>
<h3>Returns</h3>
<p>Returns the rendered input element.</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>
<li>
<h5>lenguage: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>text in specific language passed from language.ts file</p>
</div>
</li>
</ul>
</div>
<h4 class="tsd-returns-title">
Returns <span class="tsd-signature-type">HTMLInputElement</span>
</h4>
<aside class="tsd-sources">
<ul>
<li>
Defined in
<a
href="https://github.com/apuc/cg-select/blob/31b10e2/src/components/create-element/create-element.ts#L106"
>components/create-element/create-element.ts:106</a
>
</li>
</ul>
</aside>
</li>
</ul>
</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-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>
</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">All modules</a>
<ul>
<li class="tsd-kind-module">
<a href="../modules/cg_select.html">Cg-<wbr />select</a>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_cg_select_interface.html"
>Cg-<wbr />select.interface</a
>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_items_interface.html">Items.interface</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module"><a href="../modules/Utils.html">Utils</a></li>
<li class="tsd-kind-module">
<a href="../modules/components_utils_urils_interface.html">Utils.interface</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="selected tsd-kind-module">
<a href="../modules/components_create_element_create_element.html"
>Create-<wbr />element</a
>
</li>
<li class="tsd-kind-module">
<a href="../modules/components_create_element_create_element_interface.html"
>Create-<wbr />element.interface</a
>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module">
<a href="../modules/components_theme_theme.html">Theme</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module">
<a href="../modules/language_language.html">language</a>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_language_interface.html">Language.interface</a>
</li>
</ul>
</li>
</ul>
</div>
</details>
</nav>
<nav class="tsd-navigation secondary menu-sticky">
<ul>
<li class="tsd-kind-function tsd-parent-kind-module">
<a
href="components_create_element_create_element.createBreadCrumb.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-function)"
stroke-width="1.5"
x="1"
y="1"
width="22"
height="22"
rx="6"
id="icon-64-path"
></rect>
<path
d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z"
fill="var(--color-text)"
id="icon-64-text"
></path></svg
>create<wbr />Bread<wbr />Crumb</a
>
</li>
<li class="current tsd-kind-function tsd-parent-kind-module">
<a
href="components_create_element_create_element.createInputSearch.html"
class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>create<wbr />Input<wbr />Search</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a
href="components_create_element_create_element.createNativeSelect.html"
class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>create<wbr />Native<wbr />Select</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a
href="components_create_element_create_element.createNativeSelectOption.html"
class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>create<wbr />Native<wbr />Select<wbr />Option</a
>
</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>

View File

@ -0,0 +1,315 @@
<!DOCTYPE html>
<html class="default" lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="IE=edge" />
<title>createNativeSelect | 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">All modules</a></li>
<li>
<a href="../modules/components_create_element_create_element.html">Create-element</a>
</li>
<li>
<a href="components_create_element_create_element.createNativeSelect.html"
>createNativeSelect</a
>
</li>
</ul>
<h1>Function createNativeSelect</h1>
</div>
<section class="tsd-panel">
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
<li class="tsd-signature tsd-anchor-link" id="createNativeSelect">
create<wbr />Native<wbr />Select<span class="tsd-signature-symbol">(</span
><span class="tsd-signature-symbol">)</span
><span class="tsd-signature-symbol">: </span
><span class="tsd-signature-type">HTMLSelectElement</span
><a href="#createNativeSelect" 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>
</li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography">
<p>The method that creates the native select.</p>
<h3>Returns</h3>
<p>Returns the created native select.</p>
</div>
<h4 class="tsd-returns-title">
Returns <span class="tsd-signature-type">HTMLSelectElement</span>
</h4>
<aside class="tsd-sources">
<ul>
<li>
Defined in
<a
href="https://github.com/apuc/cg-select/blob/31b10e2/src/components/create-element/create-element.ts#L8"
>components/create-element/create-element.ts:8</a
>
</li>
</ul>
</aside>
</li>
</ul>
</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-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>
</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">All modules</a>
<ul>
<li class="tsd-kind-module">
<a href="../modules/cg_select.html">Cg-<wbr />select</a>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_cg_select_interface.html"
>Cg-<wbr />select.interface</a
>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_items_interface.html">Items.interface</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module"><a href="../modules/Utils.html">Utils</a></li>
<li class="tsd-kind-module">
<a href="../modules/components_utils_urils_interface.html">Utils.interface</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="selected tsd-kind-module">
<a href="../modules/components_create_element_create_element.html"
>Create-<wbr />element</a
>
</li>
<li class="tsd-kind-module">
<a href="../modules/components_create_element_create_element_interface.html"
>Create-<wbr />element.interface</a
>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module">
<a href="../modules/components_theme_theme.html">Theme</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module">
<a href="../modules/language_language.html">language</a>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_language_interface.html">Language.interface</a>
</li>
</ul>
</li>
</ul>
</div>
</details>
</nav>
<nav class="tsd-navigation secondary menu-sticky">
<ul>
<li class="tsd-kind-function tsd-parent-kind-module">
<a
href="components_create_element_create_element.createBreadCrumb.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-function)"
stroke-width="1.5"
x="1"
y="1"
width="22"
height="22"
rx="6"
id="icon-64-path"
></rect>
<path
d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z"
fill="var(--color-text)"
id="icon-64-text"
></path></svg
>create<wbr />Bread<wbr />Crumb</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a
href="components_create_element_create_element.createInputSearch.html"
class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>create<wbr />Input<wbr />Search</a
>
</li>
<li class="current tsd-kind-function tsd-parent-kind-module">
<a
href="components_create_element_create_element.createNativeSelect.html"
class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>create<wbr />Native<wbr />Select</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a
href="components_create_element_create_element.createNativeSelectOption.html"
class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>create<wbr />Native<wbr />Select<wbr />Option</a
>
</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>

View File

@ -0,0 +1,316 @@
<!DOCTYPE html>
<html class="default" lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="IE=edge" />
<title>createNativeSelectOption | 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">All modules</a></li>
<li>
<a href="../modules/components_create_element_create_element.html">Create-element</a>
</li>
<li>
<a href="components_create_element_create_element.createNativeSelectOption.html"
>createNativeSelectOption</a
>
</li>
</ul>
<h1>Function createNativeSelectOption</h1>
</div>
<section class="tsd-panel">
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
<li class="tsd-signature tsd-anchor-link" id="createNativeSelectOption">
create<wbr />Native<wbr />Select<wbr />Option<span class="tsd-signature-symbol"
>(</span
><span class="tsd-signature-symbol">)</span
><span class="tsd-signature-symbol">: </span
><span class="tsd-signature-type">HTMLOptionElement</span
><a href="#createNativeSelectOption" 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>
</li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography">
<p>The method that creates Options for the native select.</p>
<h3>Returns</h3>
<p>Returns the generated Options of the native select.</p>
</div>
<h4 class="tsd-returns-title">
Returns <span class="tsd-signature-type">HTMLOptionElement</span>
</h4>
<aside class="tsd-sources">
<ul>
<li>
Defined in
<a
href="https://github.com/apuc/cg-select/blob/31b10e2/src/components/create-element/create-element.ts#L20"
>components/create-element/create-element.ts:20</a
>
</li>
</ul>
</aside>
</li>
</ul>
</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-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>
</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">All modules</a>
<ul>
<li class="tsd-kind-module">
<a href="../modules/cg_select.html">Cg-<wbr />select</a>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_cg_select_interface.html"
>Cg-<wbr />select.interface</a
>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_items_interface.html">Items.interface</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module"><a href="../modules/Utils.html">Utils</a></li>
<li class="tsd-kind-module">
<a href="../modules/components_utils_urils_interface.html">Utils.interface</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="selected tsd-kind-module">
<a href="../modules/components_create_element_create_element.html"
>Create-<wbr />element</a
>
</li>
<li class="tsd-kind-module">
<a href="../modules/components_create_element_create_element_interface.html"
>Create-<wbr />element.interface</a
>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module">
<a href="../modules/components_theme_theme.html">Theme</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module">
<a href="../modules/language_language.html">language</a>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_language_interface.html">Language.interface</a>
</li>
</ul>
</li>
</ul>
</div>
</details>
</nav>
<nav class="tsd-navigation secondary menu-sticky">
<ul>
<li class="tsd-kind-function tsd-parent-kind-module">
<a
href="components_create_element_create_element.createBreadCrumb.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-function)"
stroke-width="1.5"
x="1"
y="1"
width="22"
height="22"
rx="6"
id="icon-64-path"
></rect>
<path
d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z"
fill="var(--color-text)"
id="icon-64-text"
></path></svg
>create<wbr />Bread<wbr />Crumb</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a
href="components_create_element_create_element.createInputSearch.html"
class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>create<wbr />Input<wbr />Search</a
>
</li>
<li class="tsd-kind-function tsd-parent-kind-module">
<a
href="components_create_element_create_element.createNativeSelect.html"
class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>create<wbr />Native<wbr />Select</a
>
</li>
<li class="current tsd-kind-function tsd-parent-kind-module">
<a
href="components_create_element_create_element.createNativeSelectOption.html"
class="tsd-index-link"
><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24">
<use href="#icon-64-path"></use>
<use href="#icon-64-text"></use></svg
>create<wbr />Native<wbr />Select<wbr />Option</a
>
</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>

View File

@ -0,0 +1,288 @@
<!DOCTYPE html>
<html class="default" lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="IE=edge" />
<title>changeTheme | 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">All modules</a></li>
<li><a href="../modules/components_theme_theme.html">Theme</a></li>
<li><a href="components_theme_theme.changeTheme.html">changeTheme</a></li>
</ul>
<h1>Function changeTheme</h1>
</div>
<section class="tsd-panel">
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-module">
<li class="tsd-signature tsd-anchor-link" id="changeTheme">
change<wbr />Theme<span class="tsd-signature-symbol">(</span>element<span
class="tsd-signature-symbol"
>: </span
><span class="tsd-signature-type">Element</span>, theme<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="#changeTheme" 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>
</li>
<li class="tsd-description">
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameter-list">
<li>
<h5>element: <span class="tsd-signature-type">Element</span></h5>
</li>
<li>
<h5>theme: <span class="tsd-signature-type">string</span></h5>
</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/components/theme/theme.ts#L1"
>components/theme/theme.ts:1</a
>
</li>
</ul>
</aside>
</li>
</ul>
</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-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>
</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">All modules</a>
<ul>
<li class="tsd-kind-module">
<a href="../modules/cg_select.html">Cg-<wbr />select</a>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_cg_select_interface.html"
>Cg-<wbr />select.interface</a
>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_items_interface.html">Items.interface</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module"><a href="../modules/Utils.html">Utils</a></li>
<li class="tsd-kind-module">
<a href="../modules/components_utils_urils_interface.html">Utils.interface</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module">
<a href="../modules/components_create_element_create_element.html"
>Create-<wbr />element</a
>
</li>
<li class="tsd-kind-module">
<a href="../modules/components_create_element_create_element_interface.html"
>Create-<wbr />element.interface</a
>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="selected tsd-kind-module">
<a href="../modules/components_theme_theme.html">Theme</a>
</li>
<li style="border-bottom: 1px solid white; width: 80%; margin-left: 25px"></li>
<li class="tsd-kind-module">
<a href="../modules/language_language.html">language</a>
</li>
<li class="tsd-kind-module">
<a href="../modules/interfaces_language_interface.html">Language.interface</a>
</li>
</ul>
</li>
</ul>
</div>
</details>
</nav>
<nav class="tsd-navigation secondary menu-sticky">
<ul>
<li class="current tsd-kind-function tsd-parent-kind-module">
<a href="components_theme_theme.changeTheme.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-function)"
stroke-width="1.5"
x="1"
y="1"
width="22"
height="22"
rx="6"
id="icon-64-path"
></rect>
<path
d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z"
fill="var(--color-text)"
id="icon-64-text"
></path></svg
>change<wbr />Theme</a
>
</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>