Add behavior list component

This commit is contained in:
2022-03-27 21:35:28 +08:00
parent a36a10dade
commit 4a52fc723e
2 changed files with 16 additions and 1 deletions
+9
View File
@@ -43,6 +43,7 @@ class Popup<P extends IAnyObject = IAnyObject> {
public isResizeMouseDown: boolean = false;
public isResizeOverFlowX: boolean = false;
public isResizeOverFlowY: boolean = false;
public isInit = false;
/**
* 是否关闭
@@ -129,6 +130,14 @@ class PopupController extends Emitter<IPopupControllerEvent> {
*/
public popups: Popup[] = [];
/**
* 指定弹窗
*/
public topping(popup: Popup) {
popup.index = Infinity;
this.sortPopup();
}
/**
* 排序并重置序号
*/