Finished working
This commit is contained in:
@ -4,6 +4,7 @@ import { newTheme } from './test';
|
||||
const dropdown = new CGSelect({
|
||||
selector: '.cg-dropdown_selector',
|
||||
placeholder: 'Выберите авто',
|
||||
label: 'HI',
|
||||
items: [
|
||||
'BMW',
|
||||
{
|
||||
@ -15,6 +16,7 @@ const dropdown = new CGSelect({
|
||||
'MAN',
|
||||
'Ferari',
|
||||
],
|
||||
searchMode: true,
|
||||
multiselect: true,
|
||||
multiselectTag: true,
|
||||
theme: newTheme,
|
||||
|
17
test/test.ts
17
test/test.ts
@ -8,5 +8,22 @@ export const newTheme: CustomThemeJson = {
|
||||
fontSize: '18px',
|
||||
background: '#ff000066',
|
||||
},
|
||||
lable: {
|
||||
color: 'black',
|
||||
fontSize: '26px',
|
||||
},
|
||||
list: {
|
||||
background: 'black',
|
||||
color: 'red',
|
||||
},
|
||||
placeholder: {
|
||||
color: 'green',
|
||||
},
|
||||
caret: {
|
||||
borderTop: '6px solid #607ab1',
|
||||
},
|
||||
search: {
|
||||
background: 'red',
|
||||
},
|
||||
},
|
||||
};
|
||||
|
Reference in New Issue
Block a user