Fixing layout in exemple page

This commit is contained in:
MaxOvs
2022-12-19 21:15:47 +03:00
parent c1366ef5eb
commit 4561d50fa0
3 changed files with 50 additions and 4 deletions

View File

@ -33,6 +33,36 @@
</div>
<input type="submit" value="Отправить!" class="example-select_submit" />
<code>
<pre>
const dropdown = new DropDown({
selector: '.cg-dropdown_one',
placeholder: 'Выберите авто',
lable: 'EXAMPLE',
items: [
'BMW',
{
id: '213sade',
title: 'Opel',
value: 1,
},
'Mersedes',
'MAN',
'Ferari',
],
styles: {
head: {
width: '830px',
},
list: {
width: '824px',
},
},
});
</pre>
</code>
</form>
</div>