From 366b918ca7b70938906665e3bc68be9a7e10460a Mon Sep 17 00:00:00 2001 From: MaxOvs Date: Tue, 8 Nov 2022 16:57:35 +0300 Subject: [PATCH] Fixed/added description all documentation --- ...BB%D0%B0%D1%81%D1%81%D0%B0%20DropDown.html | 85 +++++- documentation/DropDown.html | 15 +- documentation/cg-dropdown.js.html | 218 +++++++++++--- documentation/create-element.js.html | 19 +- documentation/global.html | 127 ++++++-- documentation/index.html | 21 ++ documentation/module-Utils.html | 272 +++++++++++++++++- documentation/module-createElementChips.html | 28 +- documentation/styles/descriptionOptions.css | 3 + documentation/utils.js.html | 89 +++++- src/cg-dropdown.js | 5 +- 11 files changed, 803 insertions(+), 79 deletions(-) create mode 100644 documentation/styles/descriptionOptions.css diff --git a/documentation/%D0%9A%D0%BE%D0%BD%D1%81%D1%82%D1%80%D1%83%D0%BA%D1%82%D0%BE%D1%80%20%D0%BA%D0%BB%D0%B0%D1%81%D1%81%D0%B0%20DropDown.html b/documentation/%D0%9A%D0%BE%D0%BD%D1%81%D1%82%D1%80%D1%83%D0%BA%D1%82%D0%BE%D1%80%20%D0%BA%D0%BB%D0%B0%D1%81%D1%81%D0%B0%20DropDown.html index 3f3f9f3..4bf47c8 100644 --- a/documentation/%D0%9A%D0%BE%D0%BD%D1%81%D1%82%D1%80%D1%83%D0%BA%D1%82%D0%BE%D1%80%20%D0%BA%D0%BB%D0%B0%D1%81%D1%81%D0%B0%20DropDown.html +++ b/documentation/%D0%9A%D0%BE%D0%BD%D1%81%D1%82%D1%80%D1%83%D0%BA%D1%82%D0%BE%D1%80%20%D0%BA%D0%BB%D0%B0%D1%81%D1%81%D0%B0%20DropDown.html @@ -6,11 +6,13 @@ + + @@ -77,10 +79,14 @@
Example
options = {
- selector: 'Уникальный селектор',
+      selector: 'Уникальный селектор',
       selected: 'Выбранный элемент',
       placeholder: '...',
       items: [string|number|object],
+      darkTheme: true/false,
+      searchMode: true/false,
+      closeOnSelect:  true/false,
+      lenguage: 'ru/en',
       styles: {
         head: {
           background: '...',
@@ -89,6 +95,7 @@
         chips: {...},
         caret: {...},
         placeholder: {...},
+        lable: {..},
       },
       event: '...',
       url: 'http/...',
@@ -97,6 +104,79 @@
 }
+ +

Описание всех параметров селекта

+
+ +
@@ -121,6 +201,8 @@

Public methods