Resource/WangEditor/menus/list/SelectionRangeElem.d.ts
(完整代码) 738Bdeclare type SelectionRangeType = HTMLElement | ChildNode[];
declare type SetSelectionRangeType = SelectionRangeType | DocumentFragment;
export declare type SelectionRangeElemType = SelectionRangeType | null;
/**
* @description 选区的 Element
* @author tonghan
*/
declare class SelectionRangeElem {
private _element;
constructor();
/**
* 设置 SelectionRangeElem 的值
* @param { SetSelectionRangeType } data
*/
set(data: SetSelectionRangeType): void;
/**
* 获取 SelectionRangeElem 的值
* @returns { SelectionRangeType } Elem
*/
get(): SelectionRangeElemType;
/**
* 清除 SelectionRangeElem 的值
*/
clear(): void;
}
export default SelectionRangeElem;
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
