turbodombuilder - v0.9.22
    Preparing search index...

    Function tu

    • Function

      tu

      Type Parameters

      • Tag extends
            | "symbol"
            | "animate"
            | "animateMotion"
            | "animateTransform"
            | "circle"
            | "clipPath"
            | "defs"
            | "desc"
            | "ellipse"
            | "feBlend"
            | "feColorMatrix"
            | "feComponentTransfer"
            | "feComposite"
            | "feConvolveMatrix"
            | "feDiffuseLighting"
            | "feDisplacementMap"
            | "feDistantLight"
            | "feDropShadow"
            | "feFlood"
            | "feFuncA"
            | "feFuncB"
            | "feFuncG"
            | "feFuncR"
            | "feGaussianBlur"
            | "feImage"
            | "feMerge"
            | "feMergeNode"
            | "feMorphology"
            | "feOffset"
            | "fePointLight"
            | "feSpecularLighting"
            | "feSpotLight"
            | "feTile"
            | "feTurbulence"
            | "filter"
            | "foreignObject"
            | "g"
            | "image"
            | "line"
            | "linearGradient"
            | "marker"
            | "mask"
            | "metadata"
            | "mpath"
            | "path"
            | "pattern"
            | "polygon"
            | "polyline"
            | "radialGradient"
            | "rect"
            | "set"
            | "stop"
            | "svg"
            | "switch"
            | "text"
            | "textPath"
            | "tspan"
            | "use"
            | "view"
            | (keyof HTMLElementTagNameMap)
            | (keyof MathMLElementTagNameMap)
            | (keyof TurboElementTagNameMap) = "div"

      Parameters

      • Optionaltag: Tag

        The HTML tag of the element to instantiate. If not defined, the tag will be set to "div".

      Returns Turbo<ValidElement<Tag>>

      • The instantiated, wrapped, and proxied element.

      All-in-one selector function that instantiates an element with the given tag and returns it wrapped in a proxied selector that augments it with useful functions for manipulating it. You can alternatively use turbo(), t(), or $() for the same behavior.

    • Function

      tu

      Type Parameters

      • Type extends object = Node

      Parameters

      • object: Type

        The object to wrap.

      Returns Turbo<Type>

      • The wrapped, proxied object.

      All-in-one selector function that wraps the given object in a proxied selector that augments it with useful functions for manipulating it. You can alternatively use turbo(), t(), or $() for the same behavior.

    • Function

      tu

      Parameters

      • tag: string

        The HTML tag of the element to instantiate. If not defined, the tag will be set to "div".

      Returns Turbo<Element>

      • The instantiated, wrapped, and proxied element.

      All-in-one selector function that instantiates an element with the given tag (if valid) and returns it wrapped in a proxied selector that augments it with useful functions for manipulating it. You can alternatively use turbo(), t(), or $() for the same behavior.