intro.js
    Preparing search index...

    Type Alias NamespaceFunction

    NamespaceFunction: (
        namespaceURI: string,
    ) => Readonly<Record<string, TagFunc<Element>>>

    Represents a function type for creating a namespace-specific collection of tag functions.

    Type declaration

      • (namespaceURI: string): Readonly<Record<string, TagFunc<Element>>>
      • Parameters

        • namespaceURI: string

          The URI of the namespace for which the tag functions are being created.

        Returns Readonly<Record<string, TagFunc<Element>>>

        • A readonly record of string keys to TagFunc functions, representing the collection of tag functions within the specified namespace.