formcycle 8.4.0 - JavaScript for forms
    Preparing search index...

    Type Alias NumberFormatInstanceReference

    NumberFormatInstanceReference:
        | string
        | { by: "id"; id: string }
        | Node
        | ArrayLike<Node>
        | Iterable<Node>

    Reference to an existing NumberFormat instance. This can be one of the following:

    • string: A CSS selector for a DOM element, see the case Node below.
    • {by: "id", id: "..."} - The ID of an existing NumberFormat instance.
    • Node: A DOM element referencing an NumberFormat element. Can be either any container element that contains an NumberFormat element; the NumberFormat element itself; or one of the elements in the subtree of the NumberFormat element.
    • array of Nodes: A array of DOM elements referencing an NumberFormat element, see the case Node above.
    • iterable of Nodes: A list of DOM elements referencing an NumberFormat element, see the case Node above.

    Note that a reference may resolve to more than one NumberFormat element. The behavior in this case depends on where the reference is used.