preact
This commit is contained in:
parent
6acf267d48
commit
b7614eb3f8
4794 changed files with 1280808 additions and 1546 deletions
24
frontend/node_modules/node-html-parser/dist/nodes/node.d.ts
generated
vendored
Normal file
24
frontend/node_modules/node-html-parser/dist/nodes/node.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
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 rawTagName: string;
|
||||
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);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue