chore: Refactor __Query class to improve element manipulation methods
This commit is contained in:
parent
e0dd59c180
commit
bd6999745d
2 changed files with 61 additions and 61 deletions
120
data/bindata.go
120
data/bindata.go
File diff suppressed because one or more lines are too long
|
|
@ -150,7 +150,7 @@ class __Query {
|
||||||
if (v === "") return;
|
if (v === "") return;
|
||||||
this.element?.classList.toggle(v);
|
this.element?.classList.toggle(v);
|
||||||
});
|
});
|
||||||
return;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
removeClass(className) {
|
removeClass(className) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue