diff --git a/src/index.html b/src/index.html index dca770f..110e62f 100644 --- a/src/index.html +++ b/src/index.html @@ -26,9 +26,9 @@
+
+ const dropdown = new DropDown({
+ selector: '.cg-dropdown_checkboxDisable',
+ placeholder: 'Выберите авто',
+ lable: 'EXAMPLE',
+ span.code__string
+ items: [
+ 'BMW',
+ {
+ id: '213sade',
+ title: 'Opel',
+ value: 1,
+ },
+ 'Mersedes',
+ 'MAN',
+ 'Ferari',
+ ],
+ styles: {
+ head: {
+ width: '830px',
+ },
+ list: {
+ width: '824px',
+ },
+ placeholder: {
+ maxWidth: '500px ',
+ },
+ },
+ });
+
+