Preparing search index...
The search index is not available
@g20/mock
@g20/mock
MockElement
Class MockElement
Hierarchy (
view full
)
MockNode
MockElement
Index
Constructors
constructor
Properties
name
parent
style
Accessors
children
text
Content
Methods
append
Child
get
Attribute
get
Attribute
Names
remove
Attribute
set
Attribute
Constructors
constructor
new
Mock
Element
(
name
)
:
MockElement
Parameters
name
:
string
Returns
MockElement
Properties
Readonly
name
name
:
string
parent
parent
:
MockElement
= null
Readonly
style
style
:
Map
<
string
,
string
>
= ...
Accessors
children
get
children
(
)
:
MockNode
[]
Returns
MockNode
[]
text
Content
get
textContent
(
)
:
string
Returns
string
set
textContent
(
content
)
:
void
Parameters
content
:
string
Returns
void
Methods
append
Child
append
Child
(
child
)
:
void
Parameters
child
:
MockNode
Returns
void
get
Attribute
get
Attribute
(
name
)
:
string
Parameters
name
:
string
Returns
string
get
Attribute
Names
get
Attribute
Names
(
)
:
string
[]
Returns
string
[]
remove
Attribute
remove
Attribute
(
name
)
:
void
Parameters
name
:
string
Returns
void
set
Attribute
set
Attribute
(
name
,
value
)
:
void
Parameters
name
:
string
value
:
string
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
name
parent
style
Accessors
children
text
Content
Methods
append
Child
get
Attribute
get
Attribute
Names
remove
Attribute
set
Attribute
@g20/mock
Loading...