Function deserializeOptionsAttribute

  • Deserializes an attribute with an options prefix. The value will be added as a field in an options object, or completely replace the options object.

    Parameters

    • parser: BaseXMLUIParser

      The parser that is calling this deserializer

    • context: XMLUIParserContext

      The current parser context, shared with all other initializations

    • instantiationContext: Record<string, unknown>

      The current parser context, only available to this instantiation

    • attribute: Attr

      The attribute to deserialize - the attribute name decides the options object field, but _ replaces the options object

    Returns void