whits
    Preparing search index...

    Interface TagFactory<S, T>

    A factory function that creates a new instance of a tag.

    Type Parameters

    • Creates a new Tag instance with the given content.

      Parameters

      Returns FactoryOutput<S, T>

      A new Tag instance.

    • Creates a new Tag instance with the given attributes and content.

      Parameters

      • Optionalattributes: AttributesArg<T>

        The attributes of the tag.

      • Optionalcontent: ChildrenArg<T>

        The children or content of the tag.

      Returns FactoryOutput<S, T>

      A new Tag instance.