Function addEventListenersToWidget

  • Adds a list of event listeners to a widget instance. The event listeners will be retrieved from the instantiation context.

    Parameters

    • _parser: BaseXMLUIParser

      The parser that is calling this deserializer (unused)

    • _context: XMLUIParserContext

      The current parser context, shared with all other initializations (unused)

    • instantiationContext: Record<string, unknown>

      The current parser context, only available to this instantiation

    • instance: Widget

      The widget instance for which the event listeners will be added to

    Returns void