Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
libxmljs
SaxPushParser
Class SaxPushParser
Index
Methods
addListener
emit
listeners
on
once
push
removeAllListener
removeListener
setMaxListeners
Methods
public
addListener
(
event
:
string
, listener
:
Function
)
:
any
Parameters
event:
string
listener:
Function
Returns
any
public
emit
(
event
:
string
, arg1
?:
any
, arg2
?:
any
)
Parameters
event:
string
arg1?:
any
optional
arg2?:
any
optional
public
listeners
(
event
:
string
)
:
Array<{ Function: any; }>
Parameters
event:
string
Returns
Array<{ Function: any; }>
public
on
(
event
:
string
, listener
:
Function
)
:
any
Parameters
event:
string
listener:
Function
Returns
any
public
once
(
event
:
string
, listener
:
Function
)
Parameters
event:
string
listener:
Function
public
push
(
source
:
string
)
:
boolean
Parameters
source:
string
Returns
boolean
public
removeAllListener
(
event
:
string
)
Parameters
event:
string
public
removeListener
(
event
:
string
, listener
:
Function
)
Parameters
event:
string
listener:
Function
public
setMaxListeners
(
n
:
number
)
Parameters
n:
number
Globals
libxmljs
Attribute
Element
HTMLDocument
Namespace
SaxParser
SaxPushParser
addListener
emit
listeners
on
once
push
removeAllListener
removeListener
setMaxListeners
XMLDocument
parseHtmlString
parseXmlString