Options
All
  • Public
  • Public/Protected
  • All
Menu

Contains information about the publication content targeted by an EngineEvent.

Hierarchy

Index

Properties

Readonly contentLocation

contentLocation: IContentLocation

A ContentLocation that points to the publication content related with the event.

Readonly frameworkComponent

Describes the framework component that was the target of the event.

Readonly mediaType

mediaType: string

Describes the media type of the document related with the event, and thereby what data types to expect in nodeData

This can be for example:

  • MediaType.APPLICATION_SMIL ("application/smil+xml") if node is a par node within a SMIL document.
  • MediaType.APPLICATION_XHTML ("application/xhtml+xml") if node is a XHTML node.
  • MediaType.APPLICATION_SVG ("image/svg") if node is a SVG node.

Some events will not generate any nodeData. In those cases, mediaType will be the empty string ''

Readonly nodeData

A JSON compatible data structure representing the underlying node that was the target of the event, like for example a HTML node in a HTML content-document.

Generated using TypeDoc