Element
Extends:
Static Member Summary
Static Public Members | ||
public static get |
|
|
public static get |
|
|
public static get |
|
Constructor Summary
Public Constructor | ||
public |
constructor(options: {}) |
Member Summary
Public Members | ||
public get |
|
|
public get |
[Node.info]: * |
|
public get |
|
|
public get |
attributes: * |
|
public get |
children: * |
|
public get |
classList: * |
|
public get |
className: * |
|
public set |
className: * |
|
public get |
tagName: * |
Method Summary
Public Methods | ||
public |
[Builder.build](options: *): string |
|
public |
|
|
public |
appendChild(elm: *) |
|
public |
getAttribute(name: *): * |
|
public |
getElementById(id: *): * |
|
public |
getElementsByClassName(className: *): * |
|
public |
getElementsByTagName(tagName: *): * |
|
public |
removeChild(elm: *): * |
|
public |
setAttribute(name: *, value: *): * |
Inherited Summary
From class Node | ||
public static get |
info: * |
|
public static get |
|
|
public static get |
tagInfo: * |
|
public get |
[info]: {} |
|
public get |
|
|
public get |
parentNode: * |
|
public get |
|
|
public get |
textContent: * |
|
public |
|
|
public |
[inspect.custom](depth: *, options: *): * |
|
public |
|
|
public |
appendChild(node: *) |
|
public |
cloneNode(): * |
|
public |
removeChild(node: *): * |
Static Public Members
public static get elementGetters: * source
public static get recursiveChildElements: * source
Public Constructors
public constructor(options: {}) source
Override:
Node#constructorParams:
Name | Type | Attribute | Description |
options | {} |
|
Public Members
public get [Builder.selfClosing]: * source
public get [Node.info]: * source
public get [Node.tagInfo]: * source
public get attributes: * source
public get children: * source
public get classList: * source
public get className: * source
public set className: * source
Public Methods
public [Builder.build](options: *): string source
Override:
Node#[Builder.build]Params:
Name | Type | Attribute | Description |
options | * |
public * [recursiveChildElements]() source
public appendChild(elm: *) source
Override:
Node#appendChildParams:
Name | Type | Attribute | Description |
elm | * |
public getElementsByClassName(className: *): * source
Params:
Name | Type | Attribute | Description |
className | * |
Return:
* |
public getElementsByTagName(tagName: *): * source
Params:
Name | Type | Attribute | Description |
tagName | * |
Return:
* |
public removeChild(elm: *): * source
Override:
Node#removeChildParams:
Name | Type | Attribute | Description |
elm | * |
Return:
* |
public setAttribute(name: *, value: *): * source
Params:
Name | Type | Attribute | Description |
name | * | ||
value | * |
Return:
* |