From a2b01ea1f503f72fcdb3dd7bed276db9332cee1b Mon Sep 17 00:00:00 2001 From: MaxOvs19 Date: Mon, 17 Apr 2023 17:05:39 +0300 Subject: [PATCH] Added cdn page --- index.html | 3 +- src/cdn/cdn.html | 67 ++++++++++++++++++++++++++++++++ src/cdn/cdn.js | 24 ++++++++++++ src/constructor/constructor.html | 5 ++- 4 files changed, 96 insertions(+), 3 deletions(-) create mode 100644 src/cdn/cdn.html create mode 100644 src/cdn/cdn.js diff --git a/index.html b/index.html index 11e8e14..bc356bf 100644 --- a/index.html +++ b/index.html @@ -27,9 +27,10 @@

v. 0.3.11

diff --git a/src/cdn/cdn.html b/src/cdn/cdn.html new file mode 100644 index 0000000..910bb79 --- /dev/null +++ b/src/cdn/cdn.html @@ -0,0 +1,67 @@ + + + + + + + + + + + + + Cg-Select + + + + +
+
+
+

CG-SELECT

+ +
+
+ +

v. 0.3.11

+
+
+ +
+
+

Select example using CDN

+ +

+ To use the select using sdn, you need to connect the file by + reference: +

+

+ https://cdn.itguild.info/items/cg-select/latest/main.js +

+ +
+ +
+
+
+ + + + diff --git a/src/cdn/cdn.js b/src/cdn/cdn.js new file mode 100644 index 0000000..25d798e --- /dev/null +++ b/src/cdn/cdn.js @@ -0,0 +1,24 @@ +const dropdown = new CGSelect({ + selector: ".cg-dropdown_cdn", + placeholder: "Choose a car", + label: "CDN EXAMPLE", + items: [ + "BMW", + { + id: "213sade", + title: "Opel", + value: 1, + }, + "Mersedes", + "MAN", + "Ferari", + ], + styles: { + head: { + width: "830px", + }, + list: { + width: "824px", + }, + }, +}); diff --git a/src/constructor/constructor.html b/src/constructor/constructor.html index 03a34e7..e6e6b7f 100644 --- a/src/constructor/constructor.html +++ b/src/constructor/constructor.html @@ -28,12 +28,13 @@
-

v. 0.3.0

+

v. 0.3.11