mirror of
https://github.com/clarencechaan/ufc-cal.git
synced 2026-10-19 08:38:30 -07:00
Add node_modules
This commit is contained in:
1 parent
1df571f777
commit
c01615d999
530 files changed
+38186
No files matched your search
+23
@@ -0,0 +1,23 @@
|
||||
import NodeType from './type';
|
||||
import HTMLElement from './html';
|
||||
/**
|
||||
* Node Class as base class for TextNode and HTMLElement.
|
||||
*/
|
||||
export default abstract class Node {
|
||||
parentNode: HTMLElement;
|
||||
abstract nodeType: NodeType;
|
||||
childNodes: Node[];
|
||||
range: readonly [number, number];
|
||||
abstract text: string;
|
||||
abstract rawText: string;
|
||||
abstract toString(): string;
|
||||
abstract clone(): Node;
|
||||
constructor(parentNode?: HTMLElement, range?: [number, number]);
|
||||
/**
|
||||
* Remove current node
|
||||
*/
|
||||
remove(): this;
|
||||
get innerText(): string;
|
||||
get textContent(): string;
|
||||
set textContent(val: string);
|
||||
}
|
||||
Reference in new issue
Block a user