Home Reference Source
public class | source

Parse5EventAdaptor

Extends:

node:events~EventEmitter → Parse5EventAdaptor

Implements:

  • EventAdaptor

EventAdaptor for Parse5 SAX parser.

The following events are piped through the stream as tokens

Tokens extend the base types as defined in the parse5-sax-parser module. For example, a StartTagToken will extend the StartTag type.

See the Parse5 documentation for more details.

See:

Constructor Summary

Public Constructor
public

constructor(delegate: EventEmitter)

Public Constructors

public constructor(delegate: EventEmitter) source

Params:

NameTypeAttributeDescription
delegate EventEmitter