Type Alias XMLPostInitHook

XMLPostInitHook: ((parser: BaseXMLUIParser, context: XMLUIParserContext, instantiationContext: Record<string, unknown>, instance: Widget) => void)

A function that is called after a widget instance is created. Can be used to modify a part of a widget that is only available after the widget is created, such as adding event listeners to a widget.