This commit is contained in:
Vanessa 2023-10-01 10:26:31 +08:00
parent 05cfcf7c2b
commit 64900706b2
13 changed files with 119 additions and 58 deletions

View file

@ -125,7 +125,7 @@ export class Menu {
this.element.lastElementChild.append(element);
}
public popup(options: { x: number, y: number, h?: number, w?: number }, isLeft = false) {
public popup(options: IPosition, isLeft = false) {
if (this.element.lastElementChild.innerHTML === "") {
return;
}