Versions in this module Expand all Collapse all v0 v0.1.0 May 22, 2024 Changes in this version + func CreateAttribute[T any](name string) func(value ...T) Node + func CreateElement(name string) func(nodes ...Node) Node + func CreateShared(name string) func(nodes ...Node) Node + func GetAttribute[T any](n Node, name string) T + func Minify(html string) string + func Render(nodes ...Node) string + func Write(w io.Writer, nodes ...Node) error + type Clsx map[string]bool + func (c Clsx) Merge(items ...Clsx) Clsx + func (c Clsx) Node() Node + func (c Clsx) String() string + type Node interface + Node func() Node + func A(nodes ...Node) Node + func Abbr(nodes ...Node) Node + func Accept(values ...string) Node + func AcceptCharset(values ...string) Node + func AccessKey(values ...string) Node + func Accumulate(values ...string) Node + func Action(values ...string) Node + func Additive(values ...string) Node + func Address(nodes ...Node) Node + func AlignmentBaseline(values ...string) Node + func Allow(values ...string) Node + func Alt(values ...string) Node + func Amplitude(values ...string) Node + func Animate(nodes ...Node) Node + func AnimateAnimateTransform(nodes ...Node) Node + func AnimateMotion(nodes ...Node) Node + func Append(n Node, nodes ...Node) Node + func Area(nodes ...Node) Node + func Article(nodes ...Node) Node + func Aside(nodes ...Node) Node + func Async() Node + func Attribute() Node + func AttributeName(values ...string) Node + func Audio(nodes ...Node) Node + func AutoCapitalize(values ...bool) Node + func AutoComplete(values ...bool) Node + func AutoFocus(values ...bool) Node + func AutoPlay(values ...bool) Node + func Azimuth(values ...string) Node + func B(nodes ...Node) Node + func Background(values ...string) Node + func Base(nodes ...Node) Node + func BaseFrequency(values ...string) Node + func BaselineShift(values ...string) Node + func Bdi(nodes ...Node) Node + func Bdo(nodes ...Node) Node + func Begin(values ...string) Node + func BgColor(values ...string) Node + func Bias(values ...string) Node + func Blockquote(nodes ...Node) Node + func Body(nodes ...Node) Node + func Border(values ...string) Node + func Br() Node + func Buffered(values ...bool) Node + func Button(nodes ...Node) Node + func By(values ...string) Node + func CalcMode(values ...string) Node + func Canvas(nodes ...Node) Node + func Caption(nodes ...Node) Node + func Capture(values ...string) Node + func CharSet(values ...string) Node + func Checked(values ...bool) Node + func Circle(nodes ...Node) Node + func Cite(nodes ...Node) Node + func Class(values ...string) Node + func ClipPath(nodes ...Node) Node + func ClipPathUnits(values ...string) Node + func ClipRule(values ...string) Node + func Code(nodes ...Node) Node + func ColGroup(nodes ...Node) Node + func ColSpan(values ...int) Node + func Color(values ...string) Node + func ColorInterpolation(values ...string) Node + func ColorInterpolationFilters(values ...string) Node + func Cols(values ...int) Node + func Content(values ...string) Node + func ContentEditable(values ...bool) Node + func Controls(values ...bool) Node + func Coords(values ...string) Node + func CrossOrigin(values ...string) Node + func Csp(values ...string) Node + func Cursor(values ...string) Node + func CustomData(name string, values ...any) Node + func Cx(values ...string) Node + func Cy(values ...string) Node + func D(values ...string) Node + func Data(nodes ...Node) Node + func Datalist(nodes ...Node) Node + func DateTime(values ...string) Node + func Dd(nodes ...Node) Node + func Decoding(values ...string) Node + func Default(values ...bool) Node + func Defer() Node + func Defs(nodes ...Node) Node + func Del(nodes ...Node) Node + func Desc(nodes ...Node) Node + func Details(nodes ...Node) Node + func Dfn(nodes ...Node) Node + func Dialog(nodes ...Node) Node + func DiffuseConstant(values ...string) Node + func Dir(values ...string) Node + func DirName(values ...string) Node + func Direction(values ...string) Node + func Disabled(values ...bool) Node + func Display(values ...string) Node + func Div(nodes ...Node) Node + func Divisor(values ...string) Node + func Dl(nodes ...Node) Node + func Doctype() Node + func DominantBaseline(values ...string) Node + func Download(values ...bool) Node + func Draggable(values ...bool) Node + func Dt(nodes ...Node) Node + func Dur(values ...string) Node + func Dx(values ...string) Node + func Dy(values ...string) Node + func EdgeMode(values ...string) Node + func Element() Node + func Elevation(values ...string) Node + func Ellipse(nodes ...Node) Node + func Em(nodes ...Node) Node + func Embed(nodes ...Node) Node + func EncType(values ...string) Node + func End(values ...string) Node + func EnterKeyHint(values ...string) Node + func Exponent(values ...string) Node + func FeBlend(nodes ...Node) Node + func FeColorMatrix(nodes ...Node) Node + func FeComponentTransfer(nodes ...Node) Node + func FeComposite(nodes ...Node) Node + func FeConvolveMatrix(nodes ...Node) Node + func FeDiffuseLightning(nodes ...Node) Node + func FeDisplacementMap(nodes ...Node) Node + func FeDistantLight(nodes ...Node) Node + func FeDropShadow(nodes ...Node) Node + func FeFlood(nodes ...Node) Node + func FeFuncA(nodes ...Node) Node + func FeFuncB(nodes ...Node) Node + func FeFuncG(nodes ...Node) Node + func FeFuncR(nodes ...Node) Node + func FeGaussianBlur(nodes ...Node) Node + func FeImage(nodes ...Node) Node + func FeMerge(nodes ...Node) Node + func FeMergeNode(nodes ...Node) Node + func FeMorphology(nodes ...Node) Node + func FeOffset(nodes ...Node) Node + func FePointLight(nodes ...Node) Node + func FeSpecularLighting(nodes ...Node) Node + func FeSpotlight(nodes ...Node) Node + func FeTile(nodes ...Node) Node + func FeTurbulence(nodes ...Node) Node + func Fieldset(nodes ...Node) Node + func FigCaption(nodes ...Node) Node + func Figure(nodes ...Node) Node + func Fill(values ...string) Node + func FillOpacity(values ...string) Node + func FillRule(values ...string) Node + func Filter(nodes ...Node) Node + func FilterUnits(values ...string) Node + func FloodColor(values ...string) Node + func FloodOpacity(values ...string) Node + func FontFamily(values ...string) Node + func FontSize(values ...string) Node + func FontSizeAdjust(values ...string) Node + func FontStretch(values ...string) Node + func FontStyle(values ...string) Node + func FontVariant(values ...string) Node + func FontWeight(values ...string) Node + func Footer(nodes ...Node) Node + func For(values ...string) Node + func ForeignObject(nodes ...Node) Node + func Form(nodes ...Node) Node + func FormAction(values ...string) Node + func FormEncType(values ...string) Node + func FormMethod(values ...string) Node + func FormNoValidate(values ...string) Node + func FormTarget(values ...string) Node + func Fr(values ...string) Node + func Fragment(nodes ...Node) Node + func From(values ...string) Node + func Fx(values ...string) Node + func Fy(values ...string) Node + func G(nodes ...Node) Node + func GradientTransform(values ...string) Node + func GradientUnits(values ...string) Node + func H1(nodes ...Node) Node + func H2(nodes ...Node) Node + func H3(nodes ...Node) Node + func H4(nodes ...Node) Node + func H5(nodes ...Node) Node + func H6(nodes ...Node) Node + func Head(nodes ...Node) Node + func Header(nodes ...Node) Node + func Headers(values ...string) Node + func Height[T constraints.Ordered](values ...T) Node + func Hgroup(nodes ...Node) Node + func Hidden(values ...bool) Node + func High[T constraints.Ordered](values ...T) Node + func Hr() Node + func Href(values ...string) Node + func HrefLang(values ...string) Node + func Html(nodes ...Node) Node + func HttpEquiv(values ...string) Node + func I(nodes ...Node) Node + func Id(values ...string) Node + func If(condition bool, nodes ...Node) Node + func Iframe(nodes ...Node) Node + func Image(nodes ...Node) Node + func ImageRendering(values ...string) Node + func Img(nodes ...Node) Node + func In(values ...string) Node + func In2(values ...string) Node + func Input(nodes ...Node) Node + func InputMode(values ...bool) Node + func Ins(nodes ...Node) Node + func Integrity(values ...string) Node + func Intercept(values ...string) Node + func IsMap(values ...bool) Node + func ItemId(values ...string) Node + func ItemProp(values ...string) Node + func ItemRef(values ...string) Node + func ItemScope(values ...string) Node + func ItemType(values ...string) Node + func K1(values ...string) Node + func K2(values ...string) Node + func K3(values ...string) Node + func K4(values ...string) Node + func Kbd(nodes ...Node) Node + func KernelMatrix(values ...string) Node + func KeyPoints(values ...string) Node + func KeySplines(values ...string) Node + func KeyTimes(values ...string) Node + func Kind(values ...string) Node + func Label(nodes ...Node) Node + func Lang(values ...string) Node + func Legend(nodes ...Node) Node + func LengthAdjust(values ...string) Node + func LetterSpacing(values ...string) Node + func Li(nodes ...Node) Node + func LightingColor(values ...string) Node + func LimitingConeAngle(values ...string) Node + func Line(nodes ...Node) Node + func LinearGradient(nodes ...Node) Node + func Link(nodes ...Node) Node + func List(values ...string) Node + func Loading(values ...bool) Node + func Loop(values ...bool) Node + func Low[T constraints.Ordered](values ...T) Node + func Main(nodes ...Node) Node + func Map(nodes ...Node) Node + func MapRange[K comparable, V any](m map[K]V, fn func(key K, value V) Node) Node + func Mark(nodes ...Node) Node + func Marker(nodes ...Node) Node + func MarkerEnd(values ...string) Node + func MarkerHeight(values ...string) Node + func MarkerMid(values ...string) Node + func MarkerStart(values ...string) Node + func MarkerUnits(values ...string) Node + func MarkerWidth(values ...string) Node + func Mask(nodes ...Node) Node + func MaskContentUnits(values ...string) Node + func MaskUnits(values ...string) Node + func Math(nodes ...Node) Node + func MaxLength[T constraints.Ordered](values ...T) Node + func Max[T constraints.Ordered](values ...T) Node + func Media(values ...string) Node + func Menu(nodes ...Node) Node + func Meta(nodes ...Node) Node + func Metadata(nodes ...Node) Node + func Meter(nodes ...Node) Node + func Method(values ...string) Node + func MinLength[T constraints.Ordered](values ...T) Node + func Min[T constraints.Ordered](values ...T) Node + func Mode(values ...string) Node + func Mpath(nodes ...Node) Node + func Multiple(values ...bool) Node + func Muted(values ...bool) Node + func Name(values ...string) Node + func Nav(nodes ...Node) Node + func NoScript(nodes ...Node) Node + func NoValidate(values ...bool) Node + func Nonce(values ...string) Node + func NumOctaves(values ...string) Node + func Object(nodes ...Node) Node + func Ol(nodes ...Node) Node + func Opacity(values ...string) Node + func Open(values ...bool) Node + func Operator(values ...string) Node + func Optgroup(nodes ...Node) Node + func Optimum[T constraints.Ordered](values ...T) Node + func Option(nodes ...Node) Node + func Order(values ...string) Node + func Orient(values ...string) Node + func Origin(values ...string) Node + func Output(nodes ...Node) Node + func Overflow(values ...string) Node + func OverlinePosition(values ...string) Node + func OverlineThickness(values ...string) Node + func P(nodes ...Node) Node + func PaintOrder(values ...string) Node + func Param(nodes ...Node) Node + func Path(nodes ...Node) Node + func PathLength(values ...string) Node + func Pattern(nodes ...Node) Node + func PatternContentUnits(values ...string) Node + func PatternTransform(values ...string) Node + func PatternUnits(values ...string) Node + func Picture(nodes ...Node) Node + func Ping(values ...string) Node + func Placeholder(values ...string) Node + func PlaysInline(values ...bool) Node + func PointerEvents(values ...string) Node + func Points(values ...string) Node + func PointsAtX(values ...string) Node + func PointsAtY(values ...string) Node + func PointsAtZ(values ...string) Node + func Polygon(nodes ...Node) Node + func Polyline(nodes ...Node) Node + func Portal(nodes ...Node) Node + func Poster(values ...string) Node + func Pre(nodes ...Node) Node + func Preload(values ...bool) Node + func PreserveAlpha(values ...string) Node + func PreserveAspectRatio(values ...string) Node + func PrimitiveUnits(values ...string) Node + func Progress(nodes ...Node) Node + func Q(nodes ...Node) Node + func R(values ...string) Node + func RadialGradient(nodes ...Node) Node + func Radius(values ...string) Node + func Range[T any](s []T, fn func(item T, index int) Node) Node + func Raw(html string) Node + func Readonly(values ...bool) Node + func Rect(nodes ...Node) Node + func RefX(values ...string) Node + func RefY(values ...string) Node + func ReferrerPolicy(values ...string) Node + func Rel(values ...string) Node + func RepeatCount(values ...string) Node + func RepeatDur(values ...string) Node + func Required(values ...bool) Node + func Restart(values ...string) Node + func Result(values ...string) Node + func Reversed(values ...bool) Node + func Role(values ...string) Node + func Rotate(values ...string) Node + func RowSpan(values ...int) Node + func Rows(values ...int) Node + func Rp(nodes ...Node) Node + func Rt(nodes ...Node) Node + func Ruby(nodes ...Node) Node + func Rx(values ...float64) Node + func Ry(values ...float64) Node + func S(nodes ...Node) Node + func Samp(nodes ...Node) Node + func Sandbox(values ...string) Node + func Scale(values ...string) Node + func Scope(values ...string) Node + func Script(nodes ...Node) Node + func Search(nodes ...Node) Node + func Section(nodes ...Node) Node + func Seed(values ...string) Node + func Select(nodes ...Node) Node + func Selected(values ...bool) Node + func Set(nodes ...Node) Node + func Shape(values ...string) Node + func ShapeRendering(values ...string) Node + func Size[T constraints.Ordered](values ...T) Node + func Sizes(values ...string) Node + func Slot(nodes ...Node) Node + func Small(nodes ...Node) Node + func Source(nodes ...Node) Node + func Spacing(values ...string) Node + func Span(nodes ...Node) Node + func SpecularConstant(values ...string) Node + func SpecularExponent(values ...string) Node + func SpellCheck(values ...bool) Node + func SpreadMethod(values ...string) Node + func Src(values ...string) Node + func SrcDoc(values ...string) Node + func SrcLang(values ...string) Node + func SrcSet(values ...string) Node + func Start(values ...int) Node + func StartOffset(values ...string) Node + func StdDeviation(values ...string) Node + func Step(values ...int) Node + func StitchTiles(values ...string) Node + func Stop(nodes ...Node) Node + func StopColor(values ...string) Node + func StopOpacity(values ...string) Node + func StrikethroughPosition(values ...string) Node + func StrikethroughThickness(values ...string) Node + func Stroke(values ...string) Node + func StrokeDasharray(values ...string) Node + func StrokeDashoffset(values ...string) Node + func StrokeLinecap(values ...string) Node + func StrokeLinejoin(values ...string) Node + func StrokeMiterlimit(values ...string) Node + func StrokeOpacity(values ...string) Node + func StrokeWidth(values ...string) Node + func Strong(nodes ...Node) Node + func Style(nodes ...Node) Node + func Sub(nodes ...Node) Node + func Summary(nodes ...Node) Node + func Sup(nodes ...Node) Node + func SurfaceScale(values ...string) Node + func Svg(nodes ...Node) Node + func Switch(nodes ...Node) Node + func Symbol(nodes ...Node) Node + func SystemLanguage(values ...string) Node + func TabIndex(values ...int) Node + func Table(nodes ...Node) Node + func TableValues(values ...string) Node + func Target(values ...string) Node + func TargetX(values ...string) Node + func TargetY(values ...string) Node + func Tbody(nodes ...Node) Node + func Td(nodes ...Node) Node + func Template(nodes ...Node) Node + func TextAnchor(values ...string) Node + func TextDecoration(values ...string) Node + func TextLength(values ...string) Node + func TextPath(nodes ...Node) Node + func TextRendering(values ...string) Node + func Text[T any](value T) Node + func Textarea(nodes ...Node) Node + func Tfoot(nodes ...Node) Node + func Th(nodes ...Node) Node + func Thead(nodes ...Node) Node + func Time(nodes ...Node) Node + func Title(nodes ...Node) Node + func To(values ...string) Node + func Tr(nodes ...Node) Node + func Transform(values ...string) Node + func TransformOrigin(values ...string) Node + func Translate(values ...string) Node + func Tspan(nodes ...Node) Node + func Type(values ...string) Node + func U(nodes ...Node) Node + func Ul(nodes ...Node) Node + func UnderlinePosition(values ...string) Node + func UnderlineThickness(values ...string) Node + func UnicodeBidi(values ...string) Node + func Use(nodes ...Node) Node + func UseMap(values ...string) Node + func Value(values ...any) Node + func Values(values ...string) Node + func Var(nodes ...Node) Node + func VectorEffect(values ...string) Node + func Version(values ...string) Node + func Video(nodes ...Node) Node + func View(nodes ...Node) Node + func ViewBox(values ...string) Node + func Visibility(values ...string) Node + func Wbr() Node + func Width[T constraints.Ordered](values ...T) Node + func WordSpacing(values ...string) Node + func Wrap(values ...string) Node + func WritingMode(values ...string) Node + func X(values ...string) Node + func X1(values ...string) Node + func X2(values ...string) Node + func XChannelSelector(values ...string) Node + func Xmlns(values ...string) Node + func Y(values ...string) Node + func Y1(values ...string) Node + func Y2(values ...string) Node + func YChannelSelector(values ...string) Node + func Z(values ...string) Node