Resource/WangEditor/menus/menu-constructors/Panel.d.ts
(完整代码) 894B/**
* @description panel class
* @author wangfupeng
*/
import { DomElement } from '../../utils/dom-core';
import PanelMenu from './PanelMenu';
export declare type TabEventConf = {
selector: string;
type: string;
fn: Function;
bindEnter?: Boolean;
};
export declare type PanelTabConf = {
title: string;
tpl: string;
events: TabEventConf[];
};
export declare type PanelConf = {
width: number | 0;
height: number | 0;
tabs: PanelTabConf[];
};
declare class Panel {
static createdMenus: Set<PanelMenu>;
private menu;
private conf;
$container: DomElement;
constructor(menu: PanelMenu, conf: PanelConf);
/**
* 创建并展示 panel
*/
create(): void;
/**
* 移除 penal
*/
remove(): void;
/**
* 隐藏当前所有的 panel
*/
static hideCurAllPanels(): void;
}
export default Panel;
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
