feat: add vditor locally
This commit is contained in:
9
public/vditor/ts/util/hasClosest.d.ts
vendored
Normal file
9
public/vditor/ts/util/hasClosest.d.ts
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
export declare const hasTopClosestByClassName: (element: Node, className: string) => false | HTMLElement;
|
||||
export declare const hasTopClosestByAttribute: (element: Node, attr: string, value: string) => false | HTMLElement;
|
||||
export declare const hasTopClosestByTag: (element: Node, nodeName: string) => false | HTMLElement;
|
||||
export declare const getTopList: (element: Node) => false | HTMLElement;
|
||||
export declare const hasClosestByAttribute: (element: Node, attr: string, value: string) => false | HTMLElement;
|
||||
export declare const hasClosestBlock: (element: Node) => false | HTMLElement;
|
||||
export declare const hasClosestByMatchTag: (element: Node, nodeName: string) => false | HTMLElement;
|
||||
export declare const hasClosestByClassName: (element: Node, className: string) => false | HTMLElement;
|
||||
export declare const getLastNode: (node: Node) => Node;
|
||||
Reference in New Issue
Block a user