Removing exsess variables
This commit is contained in:
parent
1e694f2594
commit
014e72b13f
@ -354,8 +354,6 @@ export class DropDown {
|
||||
}
|
||||
|
||||
if (event) {
|
||||
let list = this.#element.querySelectorAll('.list');
|
||||
|
||||
if (event === 'mouseenter') {
|
||||
this.#element.addEventListener(event, () => {
|
||||
this.#open();
|
||||
|
@ -49,12 +49,9 @@ const dropdown2 = new DropDown({
|
||||
value: 5,
|
||||
},
|
||||
],
|
||||
styles: {
|
||||
head: {
|
||||
background: 'red',
|
||||
},
|
||||
},
|
||||
|
||||
multiselect: true,
|
||||
event: 'mouseenter',
|
||||
// multiselectTag: true,
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user