Search
Preparing search index...
The search index is not available
Typed - v3.4.4
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
dom
TreeWalkerImpl
Class TreeWalkerImpl
Hierarchy
NodeIteratorImpl
TreeWalkerImpl
Implements
NodeIterator
TreeWalker
Index
Constructors
constructor
Properties
filter
pointer
Before
Reference
Node
reference
Node
root
what
ToShow
Accessors
current
Node
Methods
detach
first
Child
last
Child
next
Node
next
Sibling
parent
Node
previous
Node
previous
Sibling
set
IfExists
Constructors
constructor
new
Tree
Walker
Impl
(
root
:
Node
, whatToShow
?:
NodeFilter
, filter
?:
INodeFilter
)
:
TreeWalkerImpl
Parameters
root:
Node
Default value
whatToShow:
NodeFilter
= NodeFilter.SHOW_ALL
Default value
filter:
INodeFilter
= new NodeFilterImplementation([whatToShow], true)
Returns
TreeWalkerImpl
Properties
Readonly
filter
filter
:
INodeFilter
pointer
Before
Reference
Node
pointer
Before
Reference
Node
:
boolean
= true
reference
Node
reference
Node
:
Node
= this.root
Readonly
root
root
:
Node
Readonly
what
ToShow
what
ToShow
:
NodeFilter
Accessors
current
Node
get
currentNode
(
)
:
Node
set
currentNode
(
node
:
Node
)
:
void
Returns
Node
Parameters
node:
Node
Returns
void
Methods
detach
detach
(
)
:
void
Returns
void
first
Child
first
Child
(
)
:
null
|
Node
Returns
null
|
Node
last
Child
last
Child
(
)
:
null
|
Node
Returns
null
|
Node
next
Node
next
Node
(
)
:
Node
|
null
Returns
Node
|
null
next
Sibling
next
Sibling
(
)
:
null
|
Node
Returns
null
|
Node
parent
Node
parent
Node
(
)
:
null
|
Node
Returns
null
|
Node
previous
Node
previous
Node
(
)
:
Node
|
null
Returns
Node
|
null
previous
Sibling
previous
Sibling
(
)
:
null
|
Node
Returns
null
|
Node
Private
set
IfExists
set
IfExists
(
node
:
Node
|
null
)
:
null
|
Node
Parameters
node:
Node
|
null
Returns
null
|
Node
Typed
Introduction
Community
Code of
Conduct
Globals
dom
dom
Node
Filter
Node
Filter
Implementation
Node
Iterator
Impl
Tree
Walker
Impl
constructor
filter
pointer
Before
Reference
Node
reference
Node
root
what
ToShow
current
Node
detach
first
Child
last
Child
next
Node
next
Sibling
parent
Node
previous
Node
previous
Sibling
set
IfExists
Dom
Env
Create
Server
Dom
Env
Options
INode
Filter
add
Event
Listener
check
Can
Use
Custom
Elements
check
Can
Use
Document
check
Can
Use
History
check
Can
Use
Local
Storage
check
Can
Use
Location
check
Can
Use
Match
Media
check
Can
Use
Navigator
check
Can
Use
Notification
check
Can
Use
Service
Worker
check
Can
Use
Session
Storage
check
Can
Use
Window
check
Can
Use
Xhr
create
Dom
Env
create
Match
Media
create
Server
Dom
Env
query
Selector
query
Selector
All
Generated using
TypeDoc