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