Add behavior list component
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
* 排序并重置序号
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user