Variable Parser

Parser: {
    create(parent, doc, args, fn): Widget<HTMLElement> | Widget<HTMLElement>[];
    createAt(nodeId, opts, args, fn): undefined | Widget<HTMLElement> | Widget<HTMLElement>[];
} = ...

Type declaration

  • create:function
    • Parse the iZUML into widgets

      Parameters

      • parent: undefined | Widget<HTMLElement>

        the root component

      • doc: string | Document

        the content text of the domElement

      • args: undefined | Record<string, unknown>

        a map of arguments

      • fn: CallableFunction

        the function to register for execution later

      Returns Widget<HTMLElement> | Widget<HTMLElement>[]

  • createAt:function
    • Parse the iZUML into widgets

      Parameters

      • nodeId: string

        the id of the root component

      • opts: Record<string, unknown>

        a map of options

      • args: undefined | Record<string, unknown>

        a map of arguments

      • fn: CallableFunction

        the function to register for execution later

      Returns undefined | Widget<HTMLElement> | Widget<HTMLElement>[]