html

package module
v0.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2025 License: MIT Imports: 4 Imported by: 8

README

Plain: Type-Safe HTML in Go

Why choose Plain? Because building HTML should be as reliable as the rest of your Go code—with compile-time safety, IDE autocomplete, and zero runtime surprises.

Why Plain?

The Problem with Current Solutions

Template engines fail at compile time: Most Go HTML solutions parse templates at runtime, turning typos and structure errors into production bugs instead of build failures.

Existing builders are verbose and fragile: Struct-based HTML builders require tedious field assignments and don't prevent invalid attribute combinations like <input href="/invalid">.

No real type safety: You can pass any attribute to any element, discovering mistakes only when testing in a browser.

The Plain Solution

Plain generates HTML using pure Go functions with compile-time validation. Each HTML element is a typed function that only accepts valid attributes and provides full IDE support.

// This compiles and works
input := Input(
    AType("email"),
    AName("email"),
    ARequired(),
    APlaceholder("Enter email"),
)

// This fails at compile time - Href not valid for Input
input := Input(AHref("/invalid"))  // ❌ Compile error

What is Plain?

Plain is a function-based HTML component library that generates HTML at compile time with zero runtime overhead.

  • Type-safe: Each element only accepts valid attributes
  • Compile-time validation: Catch HTML errors before deployment
  • Zero runtime cost: Pure string building with no reflection
  • Full IDE support: Autocomplete, go-to-definition, refactoring
  • Server-first: Build complete HTML pages, not client-side components
Core Philosophy
  1. HTML is data structures: Represent your UI as composable Go functions
  2. Fail fast: Invalid HTML should fail at compile time, not runtime
  3. Developer experience first: Autocomplete, type checking, and refactoring should just work
  4. Zero magic: Simple functions that build strings—nothing hidden

How to Use Plain

Installation
go get github.com/plainkit/html
Quick Start
package main

import (
    "fmt"
    . "github.com/plainkit/html"
)

func main() {
    page := Html(ALang("en"),
        Head(
            Title(T("My App")),
            Meta(ACharset("UTF-8")),
            Meta(AName("viewport"), AContent("width=device-width, initial-scale=1")),
        ),
        Body(
            Header(
                H1(T("Welcome to Plain"), AClass("title")),
                Nav(
                    A(AHref("/about"), T("About")),
                    A(AHref("/contact"), T("Contact")),
                ),
            ),
            Main(
                P(T("Build type-safe HTML with Go functions."), AClass("intro")),
                Button(
                    AType("button"),
                    T("Get Started"),
                    AClass("btn btn-primary"),
                ),
            ),
        ),
    )

    fmt.Println("<!DOCTYPE html>")
    fmt.Println(Render(page))
}
Building Forms

Forms are fully type-safe with element-specific attributes:

func LoginForm() Component {
    return Form(
        AAction("/auth/login"),
        AMethod("POST"),
        AClass("login-form"),

        Div(AClass("field"),
            Label(AFor("email"), T("Email Address")),
            Input(
                AType("email"),
                AName("email"),
                AId("email"),
                ARequired(),
                APlaceholder("you@example.com"),
            ),
        ),

        Div(AClass("field"),
            Label(AFor("password"), T("Password")),
            Input(
                AType("password"),
                AName("password"),
                AId("password"),
                ARequired(),
                AMinlength("8"),
            ),
        ),

        Button(
            AType("submit"),
            T("Sign In"),
            AClass("btn-primary"),
        ),
    )
}
HTTP Handlers

Plain components integrate seamlessly with Go's HTTP server:

func homeHandler(w http.ResponseWriter, r *http.Request) {
    page := Html(ALang("en"),
        Head(
            Title(T("Home")),
            Meta(ACharset("UTF-8")),
        ),
        Body(
            H1(T("Hello, World!")),
            P(T("Built with Plain")),
        ),
    )

    w.Header().Set("Content-Type", "text/html; charset=utf-8")
    fmt.Fprint(w, "<!DOCTYPE html>\n")
    fmt.Fprint(w, Render(page))
}

func main() {
    http.HandleFunc("/", homeHandler)
    http.ListenAndServe(":8080", nil)
}
Component Composition

Build reusable components by composing smaller ones:

func Card(title, content string, actions ...Component) Component {
    return Div(AClass("card"),
        Header(AClass("card-header"),
            H3(T(title), AClass("card-title")),
        ),
        Div(AClass("card-body"),
            P(T(content)),
        ),
        Footer(AClass("card-footer"),
            actions...,
        ),
    )
}

func Dashboard() Component {
    return Div(AClass("dashboard"),
        Card("Welcome", "Get started with Plain",
            Button(AType("button"), T("Learn More"), AClass("btn-outline")),
        ),
        Card("Stats", "View your analytics",
            A(AHref("/analytics"), T("View Details"), AClass("btn-primary")),
        ),
    )
}
Working with CSS and JavaScript

Embed styles and scripts directly in your components:

func StyledPage() Component {
    return Html(ALang("en"),
        Head(
            Title(T("Styled Page")),
            Style(T(`
                .hero {
                    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
                    color: white;
                    padding: 2rem;
                    text-align: center;
                }
                .btn {
                    padding: 0.5rem 1rem;
                    border: none;
                    border-radius: 4px;
                    background: #4f46e5;
                    color: white;
                    cursor: pointer;
                }
            `)),
        ),
        Body(
            Div(AClass("hero"),
                H1(T("Beautiful Styling")),
                Button(
                    AType("button"),
                    T("Click Me"),
                    AClass("btn"),
                    AOnclick("alert('Hello from Plain!')"),
                ),
            ),
            Script(T(`
                console.log('Plain page loaded');
            `)),
        ),
    )
}

Key Features

🔒 Type Safety

Each HTML element has its own argument interface that only accepts valid attributes:

// ✅ Valid - these attributes work with Input
Input(AType("text"), AName("username"), ARequired())

// ✅ Valid - these attributes work with A
A(AHref("/home"), ATarget("_blank"), T("Home"))

// ❌ Invalid - compile error, Href not valid for Input
Input(AHref("/invalid"))

// ❌ Invalid - compile error, Required not valid for A
A(ARequired(), T("Link"))
🎯 IDE Support
  • Autocomplete: Type Input( and see only valid options
  • Go to definition: Jump to element implementations
  • Type checking: Invalid combinations fail immediately
  • Refactoring: Rename functions across your entire codebase
🚀 Zero Runtime Overhead

HTML generation uses method dispatch resolved at compile time:

component := Div(AClass("test"), T("Hello"))
html := Render(component) // Pure string building, no reflection
🧪 Easy Testing

Components are just Go values—test them like any other Go code:

func TestUserCard(t *testing.T) {
    card := UserCard("John Doe", "john@example.com")
    html := Render(card)

    assert.Contains(t, html, "John Doe")
    assert.Contains(t, html, "john@example.com")
    assert.Contains(t, html, `class="user-card"`)
}
📦 Complete HTML5 Support

Plain provides functions for all standard HTML5 elements:

  • Document: Html, Head, Body, Title, Meta, Link
  • Sections: Header, Nav, Main, Section, Article, Aside, Footer
  • Text: H1-H6, P, Div, Span, Strong, Em, Code, Pre
  • Lists: Ul, Ol, Li, Dl, Dt, Dd
  • Forms: Form, Input, Textarea, Button, Select, Option, Label
  • Tables: Table, Thead, Tbody, Tr, Th, Td
  • Media: Img, Video, Audio, Canvas, Svg
  • And more: All HTML5 elements with their specific attributes
🎨 SVG Support

Full SVG support with type-safe attributes:

func Logo() Component {
    return Svg(
        Width("100"),
        Height("100"),
        ViewBox("0 0 100 100"),
        Circle(
            Cx("50"),
            Cy("50"),
            R("40"),
            Fill("#4f46e5"),
        ),
        Text(
            X("50"),
            Y("50"),
            TextAnchor("middle"),
            Fill("white"),
            T("LOGO"),
        ),
    )
}

Architecture & Implementation

Core Types
// Component - interface implemented by all HTML elements
type Component interface {
    render(*strings.Builder)
}

// Node - represents an HTML element
type Node struct {
    Tag   string
    Attrs attrWriter
    Kids  []Component
    Void  bool // for self-closing tags
}

// TextNode - represents escaped text content
type TextNode string
Global Attributes

Every HTML element can accept global attributes through the Global type:

anyElement := Div(
    AId("main-content"),
    AClass("container active"),
    AData("role", "main"),
    AAria("label", "Main content area"),
    AStyle("margin-top: 1rem"),
    AOnclick("handleClick()"),
    // ... element-specific attributes
)
File Organization

The codebase is organized for clarity and maintainability:

├── core_node.go         # Component interface, Node struct, Render()
├── core_global.go       # Global attributes (id, class, data-*, aria-*)
├── core_content.go      # Text() and Child() helpers
├── attrs.go             # All attribute option constructors
├── tag_div.go           # Div element and its specific attributes
├── tag_input.go         # Input element and its specific attributes
├── tag_form.go          # Form, Button, Select, etc.
├── tag_*.go             # One file per HTML element group
└── svg/                 # SVG elements in separate package
    ├── tag_circle.go
    ├── tag_rect.go
    └── ...

Migration & Integration

From Template Engines

Before (html/template):

tmpl := `<div class="{{.Class}}">{{.Content}}</div>`
t := template.Must(template.New("div").Parse(tmpl))
t.Execute(w, map[string]interface{}{
    "Class": "container",
    "Content": "Hello World",
})

After (Plain):

component := Div(AClass("container"), T("Hello World"))
fmt.Fprint(w, Render(component))
From Other HTML Builders

Before (gohtml or similar):

div := &gohtml.Div{
    Class: "container",
    Children: []gohtml.Element{
        &gohtml.Text{Content: "Hello World"},
    },
}

After (Plain):

div := Div(AClass("container"), T("Hello World"))

With Gin:

r.GET("/", func(c *gin.Context) {
    page := Html(ALang("en"),
        Body(H1(T("Hello Gin + Plain!"))),
    )
    c.Header("Content-Type", "text/html")
    c.String(200, "<!DOCTYPE html>"+Render(page))
})

With Echo:

e.GET("/", func(c echo.Context) error {
    page := Html(ALang("en"),
        Body(H1(T("Hello Echo + Plain!"))),
    )
    return c.HTML(200, "<!DOCTYPE html>"+Render(page))
})

With htmx:

func TodoList(todos []Todo) Component {
    return Div(
        AId("todo-list"),
        ACustom("hx-get", "/todos"),
        ACustom("hx-trigger", "load"),
        ACustom("hx-swap", "innerHTML"),
        // Render todos...
    )
}

Contributing

We welcome contributions! The codebase is designed to be approachable:

  1. Add new HTML elements: Follow the pattern in existing tag_*.go files
  2. Improve type safety: Add element-specific attributes and validation
  3. Enhance developer experience: Better error messages, documentation, examples
  4. Test thoroughly: Add tests for new elements and edge cases

Each element follows a consistent pattern:

  • *Attrs struct for element-specific attributes
  • *Arg interface for type constraints
  • Constructor function accepting variadic arguments
  • Apply methods connecting options to attributes

License

MIT License - see LICENSE file for details.


Ready to build type-safe HTML? go get github.com/plainkit/html and start building reliable web applications with the confidence of Go's type system.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Attr added in v0.13.0

func Attr(sb *strings.Builder, k, v string)

func BoolAttr added in v0.13.0

func BoolAttr(sb *strings.Builder, k string)

func Render

func Render(c Component) string

func WriteGlobal added in v0.13.0

func WriteGlobal(sb *strings.Builder, g *GlobalAttrs)

Generated WriteGlobal function based on gostar global attributes

Types

type AArg

type AArg interface {
	// contains filtered or unexported methods
}

type AAttrs

type AAttrs struct {
	Global         GlobalAttrs
	Download       string
	Href           string
	Hreflang       string
	Ping           string
	Referrerpolicy string
	Rel            string
	Target         string
	Type           string
}

func (*AAttrs) WriteAttrs added in v0.13.0

func (a *AAttrs) WriteAttrs(sb *strings.Builder)

type AbbrArg

type AbbrArg interface {
	// contains filtered or unexported methods
}

type AbbrAttrs

type AbbrAttrs struct {
	Global GlobalAttrs
}

func (*AbbrAttrs) WriteAttrs added in v0.14.0

func (a *AbbrAttrs) WriteAttrs(sb *strings.Builder)

type AbbrOpt added in v0.13.0

type AbbrOpt struct {
	// contains filtered or unexported fields
}

func AAbbr added in v0.13.0

func AAbbr(v string) AbbrOpt

type AccentHeightOpt added in v0.14.0

type AccentHeightOpt struct {
	// contains filtered or unexported fields
}

func AAccentHeight added in v0.14.0

func AAccentHeight(v string) AccentHeightOpt

type AcceptCharsetOpt

type AcceptCharsetOpt struct {
	// contains filtered or unexported fields
}

func AAcceptCharset added in v0.13.0

func AAcceptCharset(v string) AcceptCharsetOpt

type AcceptOpt

type AcceptOpt struct {
	// contains filtered or unexported fields
}

func AAccept added in v0.13.0

func AAccept(v string) AcceptOpt

type AccumulateOpt added in v0.13.0

type AccumulateOpt struct {
	// contains filtered or unexported fields
}

func AAccumulate added in v0.13.0

func AAccumulate(v string) AccumulateOpt

type ActionOpt

type ActionOpt struct {
	// contains filtered or unexported fields
}

func AAction added in v0.13.0

func AAction(v string) ActionOpt

type AdditiveOpt added in v0.13.0

type AdditiveOpt struct {
	// contains filtered or unexported fields
}

func AAdditive added in v0.13.0

func AAdditive(v string) AdditiveOpt

type AddressArg

type AddressArg interface {
	// contains filtered or unexported methods
}

type AddressAttrs

type AddressAttrs struct {
	Global GlobalAttrs
}

func (*AddressAttrs) WriteAttrs added in v0.14.0

func (a *AddressAttrs) WriteAttrs(sb *strings.Builder)

type AlignmentBaselineOpt added in v0.14.0

type AlignmentBaselineOpt struct {
	// contains filtered or unexported fields
}

func AAlignmentBaseline added in v0.14.0

func AAlignmentBaseline(v string) AlignmentBaselineOpt

type AllowOpt

type AllowOpt struct {
	// contains filtered or unexported fields
}

func AAllow added in v0.13.0

func AAllow(v string) AllowOpt

type AllowfullscreenOpt

type AllowfullscreenOpt struct{}

func AAllowfullscreen added in v0.13.0

func AAllowfullscreen() AllowfullscreenOpt

type AlphaOpt added in v0.13.0

type AlphaOpt struct{}

func AAlpha added in v0.13.0

func AAlpha() AlphaOpt

type AlphabeticOpt added in v0.14.0

type AlphabeticOpt struct {
	// contains filtered or unexported fields
}

func AAlphabetic added in v0.14.0

func AAlphabetic(v string) AlphabeticOpt

type AltOpt

type AltOpt struct {
	// contains filtered or unexported fields
}

func AAlt added in v0.13.0

func AAlt(v string) AltOpt

type AmplitudeOpt added in v0.13.0

type AmplitudeOpt struct {
	// contains filtered or unexported fields
}

func AAmplitude added in v0.13.0

func AAmplitude(v string) AmplitudeOpt

type ArabicFormOpt added in v0.14.0

type ArabicFormOpt struct {
	// contains filtered or unexported fields
}

func AArabicForm added in v0.14.0

func AArabicForm(v string) ArabicFormOpt

type AreaArg added in v0.13.0

type AreaArg interface {
	// contains filtered or unexported methods
}

type AreaAttrs added in v0.13.0

type AreaAttrs struct {
	Global         GlobalAttrs
	Alt            string
	Coords         string
	Download       string
	Href           string
	Ping           string
	Referrerpolicy string
	Rel            string
	Shape          string
	Target         string
}

func (*AreaAttrs) WriteAttrs added in v0.13.0

func (a *AreaAttrs) WriteAttrs(sb *strings.Builder)

type ArticleArg

type ArticleArg interface {
	// contains filtered or unexported methods
}

type ArticleAttrs

type ArticleAttrs struct {
	Global GlobalAttrs
}

func (*ArticleAttrs) WriteAttrs added in v0.14.0

func (a *ArticleAttrs) WriteAttrs(sb *strings.Builder)

type AsOpt added in v0.13.0

type AsOpt struct {
	// contains filtered or unexported fields
}

func AAs added in v0.13.0

func AAs(v string) AsOpt

type AscentOpt added in v0.14.0

type AscentOpt struct {
	// contains filtered or unexported fields
}

func AAscent added in v0.14.0

func AAscent(v string) AscentOpt

type AsideArg

type AsideArg interface {
	// contains filtered or unexported methods
}

type AsideAttrs

type AsideAttrs struct {
	Global GlobalAttrs
}

func (*AsideAttrs) WriteAttrs added in v0.14.0

func (a *AsideAttrs) WriteAttrs(sb *strings.Builder)

type Assets

type Assets struct {
	// contains filtered or unexported fields
}

Assets collects CSS and JS from components at compile-time

func NewAssets

func NewAssets() *Assets

NewAssets creates a new asset collector

func (*Assets) Collect

func (a *Assets) Collect(components ...Component)

Collect walks the component tree and gathers unique CSS/JS assets

func (*Assets) HasAssets

func (a *Assets) HasAssets() bool

HasAssets returns true if any CSS or JS was collected

func (*Assets) Reset

func (a *Assets) Reset()

Reset clears all collected assets

type AsyncOpt

type AsyncOpt struct{}

func AAsync added in v0.13.0

func AAsync() AsyncOpt

type AttrWriter added in v0.13.0

type AttrWriter interface {
	WriteAttrs(*strings.Builder)
}

type AttributeNameOpt added in v0.13.0

type AttributeNameOpt struct {
	// contains filtered or unexported fields
}

func AAttributeName added in v0.13.0

func AAttributeName(v string) AttributeNameOpt

type AttributeTypeOpt added in v0.13.0

type AttributeTypeOpt struct {
	// contains filtered or unexported fields
}

func AAttributeType added in v0.13.0

func AAttributeType(v string) AttributeTypeOpt

type AudioArg

type AudioArg interface {
	// contains filtered or unexported methods
}

type AudioAttrs

type AudioAttrs struct {
	Global      GlobalAttrs
	Autoplay    bool
	Controls    bool
	Crossorigin string
	Loop        bool
	Muted       bool
	Preload     string
	Src         string
}

func (*AudioAttrs) WriteAttrs added in v0.13.0

func (a *AudioAttrs) WriteAttrs(sb *strings.Builder)

type AutocompleteOpt

type AutocompleteOpt struct {
	// contains filtered or unexported fields
}

func AAutocomplete added in v0.13.0

func AAutocomplete(v string) AutocompleteOpt

type AutoplayOpt

type AutoplayOpt struct{}

func AAutoplay added in v0.13.0

func AAutoplay() AutoplayOpt

type AzimuthOpt added in v0.13.0

type AzimuthOpt struct {
	// contains filtered or unexported fields
}

func AAzimuth added in v0.13.0

func AAzimuth(v string) AzimuthOpt

type BArg

type BArg interface {
	// contains filtered or unexported methods
}

type BAttrs

type BAttrs struct {
	Global GlobalAttrs
}

func (*BAttrs) WriteAttrs added in v0.14.0

func (a *BAttrs) WriteAttrs(sb *strings.Builder)

type BandwidthOpt added in v0.14.0

type BandwidthOpt struct {
	// contains filtered or unexported fields
}

func ABandwidth added in v0.14.0

func ABandwidth(v string) BandwidthOpt

type BaseArg added in v0.13.0

type BaseArg interface {
	// contains filtered or unexported methods
}

type BaseAttrs added in v0.13.0

type BaseAttrs struct {
	Global GlobalAttrs
	Href   string
	Target string
}

func (*BaseAttrs) WriteAttrs added in v0.13.0

func (a *BaseAttrs) WriteAttrs(sb *strings.Builder)

type BaseFrequencyOpt added in v0.13.0

type BaseFrequencyOpt struct {
	// contains filtered or unexported fields
}

func ABaseFrequency added in v0.13.0

func ABaseFrequency(v string) BaseFrequencyOpt

type BaseProfileOpt

type BaseProfileOpt struct {
	// contains filtered or unexported fields
}

func ABaseProfile added in v0.14.0

func ABaseProfile(v string) BaseProfileOpt

type BaselineShiftOpt added in v0.14.0

type BaselineShiftOpt struct {
	// contains filtered or unexported fields
}

func ABaselineShift added in v0.14.0

func ABaselineShift(v string) BaselineShiftOpt

type BboxOpt added in v0.14.0

type BboxOpt struct {
	// contains filtered or unexported fields
}

func ABbox added in v0.14.0

func ABbox(v string) BboxOpt

type BdiArg added in v0.14.0

type BdiArg interface {
	// contains filtered or unexported methods
}

type BdiAttrs added in v0.14.0

type BdiAttrs struct {
	Global GlobalAttrs
}

func (*BdiAttrs) WriteAttrs added in v0.14.0

func (a *BdiAttrs) WriteAttrs(sb *strings.Builder)

type BdoArg added in v0.14.0

type BdoArg interface {
	// contains filtered or unexported methods
}

type BdoAttrs added in v0.14.0

type BdoAttrs struct {
	Global GlobalAttrs
}

func (*BdoAttrs) WriteAttrs added in v0.14.0

func (a *BdoAttrs) WriteAttrs(sb *strings.Builder)

type BeginOpt added in v0.13.0

type BeginOpt struct {
	// contains filtered or unexported fields
}

func ABegin added in v0.13.0

func ABegin(v string) BeginOpt

type BiasOpt added in v0.13.0

type BiasOpt struct {
	// contains filtered or unexported fields
}

func ABias added in v0.13.0

func ABias(v string) BiasOpt

type BlockingOpt added in v0.13.0

type BlockingOpt struct {
	// contains filtered or unexported fields
}

func ABlocking added in v0.13.0

func ABlocking(v string) BlockingOpt

type BlockquoteArg

type BlockquoteArg interface {
	// contains filtered or unexported methods
}

type BlockquoteAttrs

type BlockquoteAttrs struct {
	Global GlobalAttrs
	Cite   string
}

func (*BlockquoteAttrs) WriteAttrs added in v0.13.0

func (a *BlockquoteAttrs) WriteAttrs(sb *strings.Builder)

type BodyArg

type BodyArg interface {
	// contains filtered or unexported methods
}

type BodyAttrs

type BodyAttrs struct {
	Global GlobalAttrs
}

func (*BodyAttrs) WriteAttrs added in v0.13.0

func (a *BodyAttrs) WriteAttrs(sb *strings.Builder)

type BrArg

type BrArg interface {
	// contains filtered or unexported methods
}

type BrAttrs

type BrAttrs struct {
	Global GlobalAttrs
}

func (*BrAttrs) WriteAttrs added in v0.13.0

func (a *BrAttrs) WriteAttrs(sb *strings.Builder)

type ButtonArg

type ButtonArg interface {
	// contains filtered or unexported methods
}

type ButtonAttrs

type ButtonAttrs struct {
	Global              GlobalAttrs
	Command             string
	Commandfor          string
	Formaction          string
	Formenctype         string
	Formmethod          string
	Formnovalidate      bool
	Formtarget          string
	Popovertarget       string
	Popovertargetaction string
	Type                string
	Value               string
}

func (*ButtonAttrs) WriteAttrs added in v0.13.0

func (a *ButtonAttrs) WriteAttrs(sb *strings.Builder)

type ByOpt added in v0.13.0

type ByOpt struct {
	// contains filtered or unexported fields
}

func ABy added in v0.13.0

func ABy(v string) ByOpt

type CalcModeOpt added in v0.13.0

type CalcModeOpt struct {
	// contains filtered or unexported fields
}

func ACalcMode added in v0.13.0

func ACalcMode(v string) CalcModeOpt

type CanvasArg

type CanvasArg interface {
	// contains filtered or unexported methods
}

type CanvasAttrs

type CanvasAttrs struct {
	Global GlobalAttrs
	Height string
	Width  string
}

func (*CanvasAttrs) WriteAttrs added in v0.13.0

func (a *CanvasAttrs) WriteAttrs(sb *strings.Builder)

type CapHeightOpt added in v0.14.0

type CapHeightOpt struct {
	// contains filtered or unexported fields
}

func ACapHeight added in v0.14.0

func ACapHeight(v string) CapHeightOpt

type CaptionArg

type CaptionArg interface {
	// contains filtered or unexported methods
}

type CaptionAttrs

type CaptionAttrs struct {
	Global GlobalAttrs
}

func (*CaptionAttrs) WriteAttrs added in v0.13.0

func (a *CaptionAttrs) WriteAttrs(sb *strings.Builder)

type CharsetOpt

type CharsetOpt struct {
	// contains filtered or unexported fields
}

func ACharset added in v0.13.0

func ACharset(v string) CharsetOpt

type CheckedOpt

type CheckedOpt struct{}

func AChecked added in v0.13.0

func AChecked() CheckedOpt

type ChildOpt

type ChildOpt struct {
	// contains filtered or unexported fields
}

func C added in v0.13.0

func C(c Component) ChildOpt

func Child

func Child(c Component) ChildOpt

func F added in v0.13.0

func F(children ...Component) ChildOpt

F is an alias for Fragment to reduce verbosity

func Fragment added in v0.13.0

func Fragment(children ...Component) ChildOpt

Fragment creates a fragment containing the given components. Like React fragments, this renders the children directly without any wrapper element.

Example:

Fragment(
  Div(T("First child")),
  P(T("Second child")),
  Span(T("Third child")),
)

This renders as three sibling elements with no containing wrapper.

type CiteArg added in v0.14.0

type CiteArg interface {
	// contains filtered or unexported methods
}

type CiteAttrs added in v0.14.0

type CiteAttrs struct {
	Global GlobalAttrs
}

func (*CiteAttrs) WriteAttrs added in v0.14.0

func (a *CiteAttrs) WriteAttrs(sb *strings.Builder)

type CiteOpt

type CiteOpt struct {
	// contains filtered or unexported fields
}

func ACite added in v0.13.0

func ACite(v string) CiteOpt

type ClipOpt added in v0.14.0

type ClipOpt struct {
	// contains filtered or unexported fields
}

func AClip added in v0.14.0

func AClip(v string) ClipOpt

type ClipPathOpt added in v0.14.0

type ClipPathOpt struct {
	// contains filtered or unexported fields
}

func AClipPath added in v0.14.0

func AClipPath(v string) ClipPathOpt

type ClipPathUnitsOpt added in v0.13.0

type ClipPathUnitsOpt struct {
	// contains filtered or unexported fields
}

func AClipPathUnits added in v0.13.0

func AClipPathUnits(v string) ClipPathUnitsOpt

type ClipRuleOpt added in v0.14.0

type ClipRuleOpt struct {
	// contains filtered or unexported fields
}

func AClipRule added in v0.14.0

func AClipRule(v string) ClipRuleOpt

type ClosedbyOpt added in v0.13.0

type ClosedbyOpt struct {
	// contains filtered or unexported fields
}

func AClosedby added in v0.13.0

func AClosedby(v string) ClosedbyOpt

type CodeArg

type CodeArg interface {
	// contains filtered or unexported methods
}

type CodeAttrs

type CodeAttrs struct {
	Global GlobalAttrs
}

func (*CodeAttrs) WriteAttrs added in v0.14.0

func (a *CodeAttrs) WriteAttrs(sb *strings.Builder)

type ColArg

type ColArg interface {
	// contains filtered or unexported methods
}

type ColAttrs

type ColAttrs struct {
	Global GlobalAttrs
	Span   string
}

func (*ColAttrs) WriteAttrs added in v0.13.0

func (a *ColAttrs) WriteAttrs(sb *strings.Builder)

type ColgroupArg

type ColgroupArg interface {
	// contains filtered or unexported methods
}

type ColgroupAttrs

type ColgroupAttrs struct {
	Global GlobalAttrs
	Span   string
}

func (*ColgroupAttrs) WriteAttrs added in v0.13.0

func (a *ColgroupAttrs) WriteAttrs(sb *strings.Builder)

type ColorInterpolationFiltersOpt added in v0.14.0

type ColorInterpolationFiltersOpt struct {
	// contains filtered or unexported fields
}

func AColorInterpolationFilters added in v0.14.0

func AColorInterpolationFilters(v string) ColorInterpolationFiltersOpt

type ColorInterpolationOpt added in v0.14.0

type ColorInterpolationOpt struct {
	// contains filtered or unexported fields
}

func AColorInterpolation added in v0.14.0

func AColorInterpolation(v string) ColorInterpolationOpt

type ColorOpt added in v0.13.0

type ColorOpt struct {
	// contains filtered or unexported fields
}

func AColor added in v0.13.0

func AColor(v string) ColorOpt

type ColorProfileOpt added in v0.14.0

type ColorProfileOpt struct {
	// contains filtered or unexported fields
}

func AColorProfile added in v0.14.0

func AColorProfile(v string) ColorProfileOpt

type ColorRenderingOpt added in v0.14.0

type ColorRenderingOpt struct {
	// contains filtered or unexported fields
}

func AColorRendering added in v0.14.0

func AColorRendering(v string) ColorRenderingOpt

type ColorspaceOpt added in v0.13.0

type ColorspaceOpt struct {
	// contains filtered or unexported fields
}

func AColorspace added in v0.13.0

func AColorspace(v string) ColorspaceOpt

type ColsOpt

type ColsOpt struct {
	// contains filtered or unexported fields
}

func ACols added in v0.13.0

func ACols(v string) ColsOpt

type ColspanOpt

type ColspanOpt struct {
	// contains filtered or unexported fields
}

func AColspan added in v0.13.0

func AColspan(v string) ColspanOpt

type CommandOpt added in v0.13.0

type CommandOpt struct {
	// contains filtered or unexported fields
}

func ACommand added in v0.13.0

func ACommand(v string) CommandOpt

type CommandforOpt added in v0.13.0

type CommandforOpt struct {
	// contains filtered or unexported fields
}

func ACommandfor added in v0.13.0

func ACommandfor(v string) CommandforOpt

type Component

type Component interface {
	// contains filtered or unexported methods
}

func AssetHook

func AssetHook(name, css, js string) Component

AssetHook creates a component that carries CSS/JS for collection without rendering output. Name is used for de-duplication across the page.

type ContentOpt

type ContentOpt struct {
	// contains filtered or unexported fields
}

func AContent added in v0.13.0

func AContent(v string) ContentOpt

type ContentScriptTypeOpt

type ContentScriptTypeOpt struct {
	// contains filtered or unexported fields
}

func AContentScriptType added in v0.14.0

func AContentScriptType(v string) ContentScriptTypeOpt

type ContentStyleTypeOpt

type ContentStyleTypeOpt struct {
	// contains filtered or unexported fields
}

func AContentStyleType added in v0.14.0

func AContentStyleType(v string) ContentStyleTypeOpt

type ControlsOpt

type ControlsOpt struct{}

func AControls added in v0.13.0

func AControls() ControlsOpt

type CoordsOpt added in v0.13.0

type CoordsOpt struct {
	// contains filtered or unexported fields
}

func ACoords added in v0.13.0

func ACoords(v string) CoordsOpt

type CrossoriginOpt

type CrossoriginOpt struct {
	// contains filtered or unexported fields
}

func ACrossorigin added in v0.13.0

func ACrossorigin(v string) CrossoriginOpt

type CursorOpt added in v0.14.0

type CursorOpt struct {
	// contains filtered or unexported fields
}

func ACursor added in v0.14.0

func ACursor(v string) CursorOpt

type CxOpt

type CxOpt struct {
	// contains filtered or unexported fields
}

func ACx added in v0.13.0

func ACx(v string) CxOpt

type CyOpt

type CyOpt struct {
	// contains filtered or unexported fields
}

func ACy added in v0.13.0

func ACy(v string) CyOpt

type DOpt

type DOpt struct {
	// contains filtered or unexported fields
}
func AD(v string) DOpt

type DataArg added in v0.13.0

type DataArg interface {
	// contains filtered or unexported methods
}

type DataAttrs added in v0.13.0

type DataAttrs struct {
	Global GlobalAttrs
	Value  string
}

func (*DataAttrs) WriteAttrs added in v0.13.0

func (a *DataAttrs) WriteAttrs(sb *strings.Builder)

type DatalistArg

type DatalistArg interface {
	// contains filtered or unexported methods
}

type DatalistAttrs

type DatalistAttrs struct {
	Global GlobalAttrs
}

func (*DatalistAttrs) WriteAttrs added in v0.14.0

func (a *DatalistAttrs) WriteAttrs(sb *strings.Builder)

type DatetimeOpt

type DatetimeOpt struct {
	// contains filtered or unexported fields
}

func ADatetime added in v0.13.0

func ADatetime(v string) DatetimeOpt

type DdArg

type DdArg interface {
	// contains filtered or unexported methods
}

type DdAttrs

type DdAttrs struct {
	Global GlobalAttrs
}

func (*DdAttrs) WriteAttrs added in v0.14.0

func (a *DdAttrs) WriteAttrs(sb *strings.Builder)

type DecodingOpt

type DecodingOpt struct {
	// contains filtered or unexported fields
}

func ADecoding added in v0.13.0

func ADecoding(v string) DecodingOpt

type DefaultActionOpt added in v0.14.0

type DefaultActionOpt struct {
	// contains filtered or unexported fields
}

func ADefaultAction added in v0.14.0

func ADefaultAction(v string) DefaultActionOpt

type DefaultOpt

type DefaultOpt struct{}

func ADefault added in v0.13.0

func ADefault() DefaultOpt

type DeferOpt

type DeferOpt struct{}

func ADefer added in v0.13.0

func ADefer() DeferOpt

type DelArg

type DelArg interface {
	// contains filtered or unexported methods
}

type DelAttrs

type DelAttrs struct {
	Global   GlobalAttrs
	Cite     string
	Datetime string
}

func (*DelAttrs) WriteAttrs added in v0.13.0

func (a *DelAttrs) WriteAttrs(sb *strings.Builder)

type DescentOpt added in v0.14.0

type DescentOpt struct {
	// contains filtered or unexported fields
}

func ADescent added in v0.14.0

func ADescent(v string) DescentOpt

type DetailsArg

type DetailsArg interface {
	// contains filtered or unexported methods
}

type DetailsAttrs

type DetailsAttrs struct {
	Global GlobalAttrs
	Name   string
	Open   bool
}

func (*DetailsAttrs) WriteAttrs added in v0.13.0

func (a *DetailsAttrs) WriteAttrs(sb *strings.Builder)

type DfnArg

type DfnArg interface {
	// contains filtered or unexported methods
}

type DfnAttrs

type DfnAttrs struct {
	Global GlobalAttrs
}

func (*DfnAttrs) WriteAttrs added in v0.14.0

func (a *DfnAttrs) WriteAttrs(sb *strings.Builder)

type DialogArg

type DialogArg interface {
	// contains filtered or unexported methods
}

type DialogAttrs

type DialogAttrs struct {
	Global   GlobalAttrs
	Closedby string
	Open     bool
}

func (*DialogAttrs) WriteAttrs added in v0.13.0

func (a *DialogAttrs) WriteAttrs(sb *strings.Builder)

type DiffuseConstantOpt added in v0.13.0

type DiffuseConstantOpt struct {
	// contains filtered or unexported fields
}

func ADiffuseConstant added in v0.13.0

func ADiffuseConstant(v string) DiffuseConstantOpt

type DirectionOpt added in v0.14.0

type DirectionOpt struct {
	// contains filtered or unexported fields
}

func ADirection added in v0.14.0

func ADirection(v string) DirectionOpt

type DirnameOpt added in v0.13.0

type DirnameOpt struct {
	// contains filtered or unexported fields
}

func ADirname added in v0.13.0

func ADirname(v string) DirnameOpt

type DisabledOpt

type DisabledOpt struct{}

func ADisabled added in v0.13.0

func ADisabled() DisabledOpt

type DisplayOpt added in v0.14.0

type DisplayOpt struct {
	// contains filtered or unexported fields
}

func ADisplay added in v0.14.0

func ADisplay(v string) DisplayOpt

type DivArg

type DivArg interface {
	// contains filtered or unexported methods
}

type DivAttrs

type DivAttrs struct {
	Global GlobalAttrs
}

func (*DivAttrs) WriteAttrs added in v0.13.0

func (a *DivAttrs) WriteAttrs(sb *strings.Builder)

type DivisorOpt added in v0.13.0

type DivisorOpt struct {
	// contains filtered or unexported fields
}

func ADivisor added in v0.13.0

func ADivisor(v string) DivisorOpt

type DlArg

type DlArg interface {
	// contains filtered or unexported methods
}

type DlAttrs

type DlAttrs struct {
	Global GlobalAttrs
}

func (*DlAttrs) WriteAttrs added in v0.13.0

func (a *DlAttrs) WriteAttrs(sb *strings.Builder)

type DominantBaselineOpt

type DominantBaselineOpt struct {
	// contains filtered or unexported fields
}

func ADominantBaseline added in v0.14.0

func ADominantBaseline(v string) DominantBaselineOpt

type DownloadOpt added in v0.13.0

type DownloadOpt struct {
	// contains filtered or unexported fields
}

func ADownload added in v0.13.0

func ADownload(v string) DownloadOpt

type DtArg

type DtArg interface {
	// contains filtered or unexported methods
}

type DtAttrs

type DtAttrs struct {
	Global GlobalAttrs
}

func (*DtAttrs) WriteAttrs added in v0.14.0

func (a *DtAttrs) WriteAttrs(sb *strings.Builder)

type DurOpt added in v0.13.0

type DurOpt struct {
	// contains filtered or unexported fields
}

func ADur added in v0.13.0

func ADur(v string) DurOpt

type DxOpt

type DxOpt struct {
	// contains filtered or unexported fields
}

func ADx added in v0.13.0

func ADx(v string) DxOpt

type DyOpt

type DyOpt struct {
	// contains filtered or unexported fields
}

func ADy added in v0.13.0

func ADy(v string) DyOpt

type EdgeModeOpt added in v0.13.0

type EdgeModeOpt struct {
	// contains filtered or unexported fields
}

func AEdgeMode added in v0.13.0

func AEdgeMode(v string) EdgeModeOpt

type EditableOpt added in v0.14.0

type EditableOpt struct {
	// contains filtered or unexported fields
}

func AEditable added in v0.14.0

func AEditable(v string) EditableOpt

type ElevationOpt added in v0.13.0

type ElevationOpt struct {
	// contains filtered or unexported fields
}

func AElevation added in v0.13.0

func AElevation(v string) ElevationOpt

type EmArg

type EmArg interface {
	// contains filtered or unexported methods
}

type EmAttrs

type EmAttrs struct {
	Global GlobalAttrs
}

func (*EmAttrs) WriteAttrs added in v0.14.0

func (a *EmAttrs) WriteAttrs(sb *strings.Builder)

type EmbedArg added in v0.13.0

type EmbedArg interface {
	// contains filtered or unexported methods
}

type EmbedAttrs added in v0.13.0

type EmbedAttrs struct {
	Global GlobalAttrs
	Height string
	Src    string
	Type   string
	Width  string
}

func (*EmbedAttrs) WriteAttrs added in v0.13.0

func (a *EmbedAttrs) WriteAttrs(sb *strings.Builder)

type EnableBackgroundOpt added in v0.14.0

type EnableBackgroundOpt struct {
	// contains filtered or unexported fields
}

func AEnableBackground added in v0.14.0

func AEnableBackground(v string) EnableBackgroundOpt

type EnctypeOpt

type EnctypeOpt struct {
	// contains filtered or unexported fields
}

func AEnctype added in v0.13.0

func AEnctype(v string) EnctypeOpt

type EndOpt added in v0.13.0

type EndOpt struct {
	// contains filtered or unexported fields
}

func AEnd added in v0.13.0

func AEnd(v string) EndOpt

type EventOpt added in v0.14.0

type EventOpt struct {
	// contains filtered or unexported fields
}

func AEvent added in v0.14.0

func AEvent(v string) EventOpt

type ExponentOpt added in v0.13.0

type ExponentOpt struct {
	// contains filtered or unexported fields
}

func AExponent added in v0.13.0

func AExponent(v string) ExponentOpt

type ExternalResourcesRequiredOpt added in v0.13.0

type ExternalResourcesRequiredOpt struct {
	// contains filtered or unexported fields
}

func AExternalResourcesRequired added in v0.13.0

func AExternalResourcesRequired(v string) ExternalResourcesRequiredOpt

type FetchpriorityOpt added in v0.13.0

type FetchpriorityOpt struct {
	// contains filtered or unexported fields
}

func AFetchpriority added in v0.13.0

func AFetchpriority(v string) FetchpriorityOpt

type FieldsetArg

type FieldsetArg interface {
	// contains filtered or unexported methods
}

type FieldsetAttrs

type FieldsetAttrs struct {
	Global   GlobalAttrs
	Disabled bool
}

func (*FieldsetAttrs) WriteAttrs added in v0.13.0

func (a *FieldsetAttrs) WriteAttrs(sb *strings.Builder)

type FigcaptionArg

type FigcaptionArg interface {
	// contains filtered or unexported methods
}

type FigcaptionAttrs

type FigcaptionAttrs struct {
	Global GlobalAttrs
}

func (*FigcaptionAttrs) WriteAttrs added in v0.14.0

func (a *FigcaptionAttrs) WriteAttrs(sb *strings.Builder)

type FigureArg

type FigureArg interface {
	// contains filtered or unexported methods
}

type FigureAttrs

type FigureAttrs struct {
	Global GlobalAttrs
}

func (*FigureAttrs) WriteAttrs added in v0.14.0

func (a *FigureAttrs) WriteAttrs(sb *strings.Builder)

type FillOpacityOpt

type FillOpacityOpt struct {
	// contains filtered or unexported fields
}

func AFillOpacity added in v0.13.0

func AFillOpacity(v string) FillOpacityOpt

type FillOpt

type FillOpt struct {
	// contains filtered or unexported fields
}

func AFill added in v0.14.0

func AFill(v string) FillOpt

type FillRuleOpt

type FillRuleOpt struct {
	// contains filtered or unexported fields
}

func AFillRule added in v0.14.0

func AFillRule(v string) FillRuleOpt

type FilterOpt added in v0.14.0

type FilterOpt struct {
	// contains filtered or unexported fields
}

func AFilter added in v0.14.0

func AFilter(v string) FilterOpt

type FilterResOpt added in v0.14.0

type FilterResOpt struct {
	// contains filtered or unexported fields
}

func AFilterRes added in v0.14.0

func AFilterRes(v string) FilterResOpt

type FilterUnitsOpt added in v0.13.0

type FilterUnitsOpt struct {
	// contains filtered or unexported fields
}

func AFilterUnits added in v0.13.0

func AFilterUnits(v string) FilterUnitsOpt

type FloodColorOpt added in v0.13.0

type FloodColorOpt struct {
	// contains filtered or unexported fields
}

func AFloodColor added in v0.13.0

func AFloodColor(v string) FloodColorOpt

type FloodOpacityOpt added in v0.13.0

type FloodOpacityOpt struct {
	// contains filtered or unexported fields
}

func AFloodOpacity added in v0.13.0

func AFloodOpacity(v string) FloodOpacityOpt

type FocusHighlightOpt added in v0.14.0

type FocusHighlightOpt struct {
	// contains filtered or unexported fields
}

func AFocusHighlight added in v0.14.0

func AFocusHighlight(v string) FocusHighlightOpt

type FocusableOpt added in v0.14.0

type FocusableOpt struct {
	// contains filtered or unexported fields
}

func AFocusable added in v0.14.0

func AFocusable(v string) FocusableOpt

type FontFamilyOpt

type FontFamilyOpt struct {
	// contains filtered or unexported fields
}

func AFontFamily added in v0.14.0

func AFontFamily(v string) FontFamilyOpt

type FontSizeAdjustOpt added in v0.14.0

type FontSizeAdjustOpt struct {
	// contains filtered or unexported fields
}

func AFontSizeAdjust added in v0.14.0

func AFontSizeAdjust(v string) FontSizeAdjustOpt

type FontSizeOpt

type FontSizeOpt struct {
	// contains filtered or unexported fields
}

func AFontSize added in v0.14.0

func AFontSize(v string) FontSizeOpt

type FontStretchOpt added in v0.14.0

type FontStretchOpt struct {
	// contains filtered or unexported fields
}

func AFontStretch added in v0.14.0

func AFontStretch(v string) FontStretchOpt

type FontStyleOpt

type FontStyleOpt struct {
	// contains filtered or unexported fields
}

func AFontStyle added in v0.14.0

func AFontStyle(v string) FontStyleOpt

type FontVariantOpt added in v0.14.0

type FontVariantOpt struct {
	// contains filtered or unexported fields
}

func AFontVariant added in v0.14.0

func AFontVariant(v string) FontVariantOpt

type FontWeightOpt

type FontWeightOpt struct {
	// contains filtered or unexported fields
}

func AFontWeight added in v0.14.0

func AFontWeight(v string) FontWeightOpt

type FooterArg

type FooterArg interface {
	// contains filtered or unexported methods
}

type FooterAttrs

type FooterAttrs struct {
	Global GlobalAttrs
}

func (*FooterAttrs) WriteAttrs added in v0.14.0

func (a *FooterAttrs) WriteAttrs(sb *strings.Builder)

type ForOpt

type ForOpt struct {
	// contains filtered or unexported fields
}

func AFor added in v0.13.0

func AFor(v string) ForOpt

type FormArg

type FormArg interface {
	// contains filtered or unexported methods
}

type FormAttrs

type FormAttrs struct {
	Global        GlobalAttrs
	AcceptCharset string
	Action        string
	Autocomplete  string
	Enctype       string
	Method        string
	Name          string
	Novalidate    bool
	Target        string
}

func (*FormAttrs) WriteAttrs added in v0.13.0

func (a *FormAttrs) WriteAttrs(sb *strings.Builder)

type FormactionOpt

type FormactionOpt struct {
	// contains filtered or unexported fields
}

func AFormaction added in v0.13.0

func AFormaction(v string) FormactionOpt

type FormatOpt added in v0.14.0

type FormatOpt struct {
	// contains filtered or unexported fields
}

func AFormat added in v0.14.0

func AFormat(v string) FormatOpt

type FormenctypeOpt

type FormenctypeOpt struct {
	// contains filtered or unexported fields
}

func AFormenctype added in v0.13.0

func AFormenctype(v string) FormenctypeOpt

type FormmethodOpt

type FormmethodOpt struct {
	// contains filtered or unexported fields
}

func AFormmethod added in v0.13.0

func AFormmethod(v string) FormmethodOpt

type FormnovalidateOpt

type FormnovalidateOpt struct{}

func AFormnovalidate added in v0.13.0

func AFormnovalidate() FormnovalidateOpt

type FormtargetOpt

type FormtargetOpt struct {
	// contains filtered or unexported fields
}

func AFormtarget added in v0.13.0

func AFormtarget(v string) FormtargetOpt

type FrOpt added in v0.14.0

type FrOpt struct {
	// contains filtered or unexported fields
}

func AFr added in v0.14.0

func AFr(v string) FrOpt

type FragmentNode added in v0.13.0

type FragmentNode struct {
	// contains filtered or unexported fields
}

FragmentNode represents a collection of components that render without a wrapper element, similar to React's <> fragment syntax. It implements Component and can be used anywhere a single Component is expected, but renders as multiple sibling elements.

func (FragmentNode) Children added in v0.13.0

func (f FragmentNode) Children() []Component

Children exposes the fragment's children for traversals that need to walk the component tree (e.g., asset collection).

type FromOpt added in v0.13.0

type FromOpt struct {
	// contains filtered or unexported fields
}

func AFrom added in v0.13.0

func AFrom(v string) FromOpt

type FxOpt added in v0.13.0

type FxOpt struct {
	// contains filtered or unexported fields
}

func AFx added in v0.13.0

func AFx(v string) FxOpt

type FyOpt added in v0.13.0

type FyOpt struct {
	// contains filtered or unexported fields
}

func AFy added in v0.13.0

func AFy(v string) FyOpt

type G1Opt added in v0.14.0

type G1Opt struct {
	// contains filtered or unexported fields
}

func AG1 added in v0.14.0

func AG1(v string) G1Opt

type G2Opt added in v0.14.0

type G2Opt struct {
	// contains filtered or unexported fields
}

func AG2 added in v0.14.0

func AG2(v string) G2Opt

type Global

type Global struct {
	// contains filtered or unexported fields
}

Global option: one glue impl for all tags (methods are added in tag files)

func AAccesskey added in v0.13.0

func AAccesskey(v string) Global

func AAria added in v0.13.0

func AAria(k, v string) Global

func AAutocapitalize added in v0.13.0

func AAutocapitalize(v string) Global

func AAutocorrect added in v0.13.0

func AAutocorrect(v string) Global

func AAutofocus added in v0.13.0

func AAutofocus() Global

func AClass added in v0.13.0

func AClass(v string) Global

Global attribute constructors

func AContenteditable added in v0.13.0

func AContenteditable(v string) Global

func ACustom added in v0.13.0

func ACustom(k, v string) Global

func AData added in v0.13.0

func AData(k, v string) Global

Map-like convenience functions

func ADir added in v0.13.0

func ADir(v string) Global

func ADraggable added in v0.13.0

func ADraggable(b bool) Global

func AEnterkeyhint added in v0.13.0

func AEnterkeyhint(v string) Global

func AHidden added in v0.13.0

func AHidden(v string) Global

func AId added in v0.13.0

func AId(v string) Global

func AInert added in v0.13.0

func AInert() Global

func AInputmode added in v0.13.0

func AInputmode(v string) Global

func AIsAttr added in v0.13.0

func AIsAttr(v string) Global

func AItemid added in v0.13.0

func AItemid(v string) Global

func AItemprop added in v0.13.0

func AItemprop(v string) Global

func AItemref added in v0.13.0

func AItemref(v string) Global

func AItemscope added in v0.13.0

func AItemscope() Global

func AItemtype added in v0.13.0

func AItemtype(v string) Global

func ALang added in v0.13.0

func ALang(v string) Global

func ANonce added in v0.13.0

func ANonce(v string) Global

func AOn added in v0.13.0

func AOn(ev, handler string) Global

func APopover added in v0.13.0

func APopover(v string) Global

func ASlot added in v0.13.0

func ASlot(v string) Global

func ASpellcheck added in v0.13.0

func ASpellcheck(b bool) Global

func AStyle added in v0.13.0

func AStyle(style string) Global

func ATabindex added in v0.13.0

func ATabindex(i int) Global

func ATitle added in v0.13.0

func ATitle(v string) Global

func ATranslate added in v0.13.0

func ATranslate(b bool) Global

func AWritingsuggestions added in v0.13.0

func AWritingsuggestions(b bool) Global

func (Global) Do added in v0.13.0

func (g Global) Do(ga *GlobalAttrs)

Do applies the global attribute function to GlobalAttrs (public for SVG package integration)

type GlobalAttrs

type GlobalAttrs struct {
	// Generated from wooorm global attributes
	// Common core attributes
	Class           string
	Accesskey       string
	Autocapitalize  string
	Autocorrect     string
	Contenteditable string
	Dir             string
	Enterkeyhint    string
	Hidden          string
	Id              string
	Inputmode       string
	Is              string
	Itemid          string
	Itemprop        string
	Itemref         string
	Itemtype        string
	Lang            string
	Nonce           string
	Popover         string
	Slot            string
	Title           string

	// Style attribute as a single string
	Style string

	// Map attributes
	Aria   map[string]string // aria-*
	Data   map[string]string // data-*
	Events map[string]string // "onclick" -> "handler()"
	Custom map[string]string // custom attributes like hx-*, x-*, etc.

	// Pointers for tri-state values
	Tabindex           *int
	Draggable          *string
	Spellcheck         *string
	Translate          *string
	Writingsuggestions *string

	// Booleans
	Autofocus, Inert, Itemscope bool
}

type GlyphNameOpt added in v0.14.0

type GlyphNameOpt struct {
	// contains filtered or unexported fields
}

func AGlyphName added in v0.14.0

func AGlyphName(v string) GlyphNameOpt

type GlyphOrientationHorizontalOpt added in v0.14.0

type GlyphOrientationHorizontalOpt struct {
	// contains filtered or unexported fields
}

func AGlyphOrientationHorizontal added in v0.14.0

func AGlyphOrientationHorizontal(v string) GlyphOrientationHorizontalOpt

type GlyphOrientationVerticalOpt added in v0.14.0

type GlyphOrientationVerticalOpt struct {
	// contains filtered or unexported fields
}

func AGlyphOrientationVertical added in v0.14.0

func AGlyphOrientationVertical(v string) GlyphOrientationVerticalOpt

type GlyphRefOpt added in v0.14.0

type GlyphRefOpt struct {
	// contains filtered or unexported fields
}

func AGlyphRef added in v0.14.0

func AGlyphRef(v string) GlyphRefOpt

type GradientTransformOpt added in v0.13.0

type GradientTransformOpt struct {
	// contains filtered or unexported fields
}

func AGradientTransform added in v0.13.0

func AGradientTransform(v string) GradientTransformOpt

type GradientUnitsOpt added in v0.13.0

type GradientUnitsOpt struct {
	// contains filtered or unexported fields
}

func AGradientUnits added in v0.13.0

func AGradientUnits(v string) GradientUnitsOpt

type H1Arg

type H1Arg interface {
	// contains filtered or unexported methods
}

type H1Attrs

type H1Attrs struct {
	Global GlobalAttrs
}

func (*H1Attrs) WriteAttrs added in v0.13.0

func (a *H1Attrs) WriteAttrs(sb *strings.Builder)

type H2Arg

type H2Arg interface {
	// contains filtered or unexported methods
}

type H2Attrs

type H2Attrs struct {
	Global GlobalAttrs
}

func (*H2Attrs) WriteAttrs added in v0.13.0

func (a *H2Attrs) WriteAttrs(sb *strings.Builder)

type H3Arg

type H3Arg interface {
	// contains filtered or unexported methods
}

type H3Attrs

type H3Attrs struct {
	Global GlobalAttrs
}

func (*H3Attrs) WriteAttrs added in v0.13.0

func (a *H3Attrs) WriteAttrs(sb *strings.Builder)

type H4Arg

type H4Arg interface {
	// contains filtered or unexported methods
}

type H4Attrs

type H4Attrs struct {
	Global GlobalAttrs
}

func (*H4Attrs) WriteAttrs added in v0.13.0

func (a *H4Attrs) WriteAttrs(sb *strings.Builder)

type H5Arg

type H5Arg interface {
	// contains filtered or unexported methods
}

type H5Attrs

type H5Attrs struct {
	Global GlobalAttrs
}

func (*H5Attrs) WriteAttrs added in v0.13.0

func (a *H5Attrs) WriteAttrs(sb *strings.Builder)

type H6Arg

type H6Arg interface {
	// contains filtered or unexported methods
}

type H6Attrs

type H6Attrs struct {
	Global GlobalAttrs
}

func (*H6Attrs) WriteAttrs added in v0.13.0

func (a *H6Attrs) WriteAttrs(sb *strings.Builder)

type HandlerOpt added in v0.14.0

type HandlerOpt struct {
	// contains filtered or unexported fields
}

func AHandler added in v0.14.0

func AHandler(v string) HandlerOpt

type HangingOpt added in v0.14.0

type HangingOpt struct {
	// contains filtered or unexported fields
}

func AHanging added in v0.14.0

func AHanging(v string) HangingOpt

type HasCSS

type HasCSS interface {
	CSS() string
}

HasCSS interface for components that provide CSS

type HasJS

type HasJS interface {
	JS() string
}

HasJS interface for components that provide JavaScript

type HasName

type HasName interface {
	Name() string
}

HasName interface for components that provide explicit names for deduplication

type HeadArg

type HeadArg interface {
	// contains filtered or unexported methods
}

type HeadAttrs

type HeadAttrs struct {
	Global GlobalAttrs
}

func (*HeadAttrs) WriteAttrs added in v0.13.0

func (a *HeadAttrs) WriteAttrs(sb *strings.Builder)

type HeaderArg

type HeaderArg interface {
	// contains filtered or unexported methods
}

type HeaderAttrs

type HeaderAttrs struct {
	Global GlobalAttrs
}

func (*HeaderAttrs) WriteAttrs added in v0.14.0

func (a *HeaderAttrs) WriteAttrs(sb *strings.Builder)

type HeadersOpt

type HeadersOpt struct {
	// contains filtered or unexported fields
}

func AHeaders added in v0.13.0

func AHeaders(v string) HeadersOpt

type HeightOpt

type HeightOpt struct {
	// contains filtered or unexported fields
}

func AHeight added in v0.13.0

func AHeight(v string) HeightOpt

type HgroupArg added in v0.14.0

type HgroupArg interface {
	// contains filtered or unexported methods
}

type HgroupAttrs added in v0.14.0

type HgroupAttrs struct {
	Global GlobalAttrs
}

func (*HgroupAttrs) WriteAttrs added in v0.14.0

func (a *HgroupAttrs) WriteAttrs(sb *strings.Builder)

type HighOpt added in v0.13.0

type HighOpt struct {
	// contains filtered or unexported fields
}

func AHigh added in v0.13.0

func AHigh(v string) HighOpt

type HorizAdvXOpt added in v0.14.0

type HorizAdvXOpt struct {
	// contains filtered or unexported fields
}

func AHorizAdvX added in v0.14.0

func AHorizAdvX(v string) HorizAdvXOpt

type HorizOriginXOpt added in v0.14.0

type HorizOriginXOpt struct {
	// contains filtered or unexported fields
}

func AHorizOriginX added in v0.14.0

func AHorizOriginX(v string) HorizOriginXOpt

type HorizOriginYOpt added in v0.14.0

type HorizOriginYOpt struct {
	// contains filtered or unexported fields
}

func AHorizOriginY added in v0.14.0

func AHorizOriginY(v string) HorizOriginYOpt

type HrArg

type HrArg interface {
	// contains filtered or unexported methods
}

type HrAttrs

type HrAttrs struct {
	Global GlobalAttrs
}

func (*HrAttrs) WriteAttrs added in v0.13.0

func (a *HrAttrs) WriteAttrs(sb *strings.Builder)

type HrefOpt

type HrefOpt struct {
	// contains filtered or unexported fields
}

func AHref added in v0.13.0

func AHref(v string) HrefOpt

type HreflangOpt

type HreflangOpt struct {
	// contains filtered or unexported fields
}

func AHreflang added in v0.13.0

func AHreflang(v string) HreflangOpt

type HtmlArg

type HtmlArg interface {
	// contains filtered or unexported methods
}

type HtmlAttrs

type HtmlAttrs struct {
	Global GlobalAttrs
}

func (*HtmlAttrs) WriteAttrs added in v0.13.0

func (a *HtmlAttrs) WriteAttrs(sb *strings.Builder)

type HttpEquivOpt

type HttpEquivOpt struct {
	// contains filtered or unexported fields
}

func AHttpEquiv added in v0.13.0

func AHttpEquiv(v string) HttpEquivOpt

type IArg

type IArg interface {
	// contains filtered or unexported methods
}

type IAttrs

type IAttrs struct {
	Global GlobalAttrs
}

func (*IAttrs) WriteAttrs added in v0.14.0

func (a *IAttrs) WriteAttrs(sb *strings.Builder)

type IdeographicOpt added in v0.14.0

type IdeographicOpt struct {
	// contains filtered or unexported fields
}

func AIdeographic added in v0.14.0

func AIdeographic(v string) IdeographicOpt

type IframeArg

type IframeArg interface {
	// contains filtered or unexported methods
}

type IframeAttrs

type IframeAttrs struct {
	Global          GlobalAttrs
	Allow           string
	Allowfullscreen bool
	Height          string
	Loading         string
	Name            string
	Referrerpolicy  string
	Sandbox         string
	Src             string
	Srcdoc          string
	Width           string
}

func (*IframeAttrs) WriteAttrs added in v0.13.0

func (a *IframeAttrs) WriteAttrs(sb *strings.Builder)

type ImageRenderingOpt added in v0.14.0

type ImageRenderingOpt struct {
	// contains filtered or unexported fields
}

func AImageRendering added in v0.14.0

func AImageRendering(v string) ImageRenderingOpt

type ImagesizesOpt added in v0.13.0

type ImagesizesOpt struct {
	// contains filtered or unexported fields
}

func AImagesizes added in v0.13.0

func AImagesizes(v string) ImagesizesOpt

type ImagesrcsetOpt added in v0.13.0

type ImagesrcsetOpt struct {
	// contains filtered or unexported fields
}

func AImagesrcset added in v0.13.0

func AImagesrcset(v string) ImagesrcsetOpt

type ImgArg

type ImgArg interface {
	// contains filtered or unexported methods
}

type ImgAttrs

type ImgAttrs struct {
	Global         GlobalAttrs
	Alt            string
	Crossorigin    string
	Decoding       string
	Fetchpriority  string
	Height         string
	Ismap          bool
	Loading        string
	Referrerpolicy string
	Sizes          string
	Src            string
	Srcset         string
	Usemap         string
	Width          string
}

func (*ImgAttrs) WriteAttrs added in v0.13.0

func (a *ImgAttrs) WriteAttrs(sb *strings.Builder)

type In2Opt added in v0.13.0

type In2Opt struct {
	// contains filtered or unexported fields
}

func AIn2 added in v0.13.0

func AIn2(v string) In2Opt

type InOpt added in v0.13.0

type InOpt struct {
	// contains filtered or unexported fields
}

func AIn added in v0.13.0

func AIn(v string) InOpt

type InitialVisibilityOpt added in v0.14.0

type InitialVisibilityOpt struct {
	// contains filtered or unexported fields
}

func AInitialVisibility added in v0.14.0

func AInitialVisibility(v string) InitialVisibilityOpt

type InputArg

type InputArg interface {
	// contains filtered or unexported methods
}

type InputAttrs

type InputAttrs struct {
	Global              GlobalAttrs
	Accept              string
	Alpha               bool
	Alt                 string
	Autocomplete        string
	Checked             bool
	Colorspace          string
	Dirname             string
	Formaction          string
	Formenctype         string
	Formmethod          string
	Formnovalidate      bool
	Formtarget          string
	Height              string
	List                string
	Max                 string
	Maxlength           string
	Min                 string
	Minlength           string
	Multiple            bool
	Pattern             string
	Placeholder         string
	Popovertarget       string
	Popovertargetaction string
	Readonly            bool
	Required            bool
	Size                string
	Src                 string
	Step                string
	Type                string
	Value               string
	Width               string
}

func (*InputAttrs) WriteAttrs added in v0.13.0

func (a *InputAttrs) WriteAttrs(sb *strings.Builder)

type InsArg

type InsArg interface {
	// contains filtered or unexported methods
}

type InsAttrs

type InsAttrs struct {
	Global   GlobalAttrs
	Cite     string
	Datetime string
}

func (*InsAttrs) WriteAttrs added in v0.13.0

func (a *InsAttrs) WriteAttrs(sb *strings.Builder)

type IntegrityOpt added in v0.13.0

type IntegrityOpt struct {
	// contains filtered or unexported fields
}

func AIntegrity added in v0.13.0

func AIntegrity(v string) IntegrityOpt

type InterceptOpt added in v0.13.0

type InterceptOpt struct {
	// contains filtered or unexported fields
}

func AIntercept added in v0.13.0

func AIntercept(v string) InterceptOpt

type IsmapOpt added in v0.13.0

type IsmapOpt struct{}

func AIsmap added in v0.13.0

func AIsmap() IsmapOpt

type K1Opt added in v0.13.0

type K1Opt struct {
	// contains filtered or unexported fields
}

func AK1 added in v0.13.0

func AK1(v string) K1Opt

type K2Opt added in v0.13.0

type K2Opt struct {
	// contains filtered or unexported fields
}

func AK2 added in v0.13.0

func AK2(v string) K2Opt

type K3Opt added in v0.13.0

type K3Opt struct {
	// contains filtered or unexported fields
}

func AK3 added in v0.13.0

func AK3(v string) K3Opt

type K4Opt added in v0.13.0

type K4Opt struct {
	// contains filtered or unexported fields
}

func AK4 added in v0.13.0

func AK4(v string) K4Opt

type KOpt added in v0.14.0

type KOpt struct {
	// contains filtered or unexported fields
}

func AK added in v0.14.0

func AK(v string) KOpt

type KbdArg

type KbdArg interface {
	// contains filtered or unexported methods
}

type KbdAttrs

type KbdAttrs struct {
	Global GlobalAttrs
}

func (*KbdAttrs) WriteAttrs added in v0.14.0

func (a *KbdAttrs) WriteAttrs(sb *strings.Builder)

type KernelMatrixOpt added in v0.13.0

type KernelMatrixOpt struct {
	// contains filtered or unexported fields
}

func AKernelMatrix added in v0.13.0

func AKernelMatrix(v string) KernelMatrixOpt

type KernelUnitLengthOpt added in v0.13.0

type KernelUnitLengthOpt struct {
	// contains filtered or unexported fields
}

func AKernelUnitLength added in v0.13.0

func AKernelUnitLength(v string) KernelUnitLengthOpt

type KerningOpt added in v0.14.0

type KerningOpt struct {
	// contains filtered or unexported fields
}

func AKerning added in v0.14.0

func AKerning(v string) KerningOpt

type KeyPointsOpt added in v0.14.0

type KeyPointsOpt struct {
	// contains filtered or unexported fields
}

func AKeyPoints added in v0.14.0

func AKeyPoints(v string) KeyPointsOpt

type KeySplinesOpt added in v0.13.0

type KeySplinesOpt struct {
	// contains filtered or unexported fields
}

func AKeySplines added in v0.13.0

func AKeySplines(v string) KeySplinesOpt

type KeyTimesOpt added in v0.13.0

type KeyTimesOpt struct {
	// contains filtered or unexported fields
}

func AKeyTimes added in v0.13.0

func AKeyTimes(v string) KeyTimesOpt

type KindOpt

type KindOpt struct {
	// contains filtered or unexported fields
}

func AKind added in v0.13.0

func AKind(v string) KindOpt

type LabelArg

type LabelArg interface {
	// contains filtered or unexported methods
}

type LabelAttrs

type LabelAttrs struct {
	Global GlobalAttrs
	For    string
}

func (*LabelAttrs) WriteAttrs added in v0.13.0

func (a *LabelAttrs) WriteAttrs(sb *strings.Builder)

type LabelOpt

type LabelOpt struct {
	// contains filtered or unexported fields
}

func ALabel added in v0.13.0

func ALabel(v string) LabelOpt

type LegendArg

type LegendArg interface {
	// contains filtered or unexported methods
}

type LegendAttrs

type LegendAttrs struct {
	Global GlobalAttrs
}

func (*LegendAttrs) WriteAttrs added in v0.13.0

func (a *LegendAttrs) WriteAttrs(sb *strings.Builder)

type LengthAdjustOpt

type LengthAdjustOpt struct {
	// contains filtered or unexported fields
}

func ALengthAdjust added in v0.13.0

func ALengthAdjust(v string) LengthAdjustOpt

type LetterSpacingOpt added in v0.14.0

type LetterSpacingOpt struct {
	// contains filtered or unexported fields
}

func ALetterSpacing added in v0.14.0

func ALetterSpacing(v string) LetterSpacingOpt

type LiArg

type LiArg interface {
	// contains filtered or unexported methods
}

type LiAttrs

type LiAttrs struct {
	Global GlobalAttrs
	Value  string
}

func (*LiAttrs) WriteAttrs added in v0.13.0

func (a *LiAttrs) WriteAttrs(sb *strings.Builder)

type LightingColorOpt added in v0.14.0

type LightingColorOpt struct {
	// contains filtered or unexported fields
}

func ALightingColor added in v0.14.0

func ALightingColor(v string) LightingColorOpt

type LimitingConeAngleOpt added in v0.13.0

type LimitingConeAngleOpt struct {
	// contains filtered or unexported fields
}

func ALimitingConeAngle added in v0.13.0

func ALimitingConeAngle(v string) LimitingConeAngleOpt

type LinkArg

type LinkArg interface {
	// contains filtered or unexported methods
}

type LinkAttrs

type LinkAttrs struct {
	Global         GlobalAttrs
	As             string
	Blocking       string
	Color          string
	Crossorigin    string
	Disabled       bool
	Fetchpriority  string
	Href           string
	Hreflang       string
	Imagesizes     string
	Imagesrcset    string
	Integrity      string
	Media          string
	Referrerpolicy string
	Rel            string
	Sizes          string
	Type           string
}

func (*LinkAttrs) WriteAttrs added in v0.13.0

func (a *LinkAttrs) WriteAttrs(sb *strings.Builder)

type ListOpt

type ListOpt struct {
	// contains filtered or unexported fields
}

func AList added in v0.13.0

func AList(v string) ListOpt

type LoadingOpt

type LoadingOpt struct {
	// contains filtered or unexported fields
}

func ALoading added in v0.13.0

func ALoading(v string) LoadingOpt

type LocalOpt added in v0.14.0

type LocalOpt struct {
	// contains filtered or unexported fields
}

func ALocal added in v0.14.0

func ALocal(v string) LocalOpt

type LoopOpt

type LoopOpt struct{}

func ALoop added in v0.13.0

func ALoop() LoopOpt

type LowOpt added in v0.13.0

type LowOpt struct {
	// contains filtered or unexported fields
}

func ALow added in v0.13.0

func ALow(v string) LowOpt

type MainArg

type MainArg interface {
	// contains filtered or unexported methods
}

type MainAttrs

type MainAttrs struct {
	Global GlobalAttrs
}

func (*MainAttrs) WriteAttrs added in v0.14.0

func (a *MainAttrs) WriteAttrs(sb *strings.Builder)

type MapArg added in v0.13.0

type MapArg interface {
	// contains filtered or unexported methods
}

type MapAttrs added in v0.13.0

type MapAttrs struct {
	Global GlobalAttrs
	Name   string
}

func (*MapAttrs) WriteAttrs added in v0.13.0

func (a *MapAttrs) WriteAttrs(sb *strings.Builder)

type MarkArg

type MarkArg interface {
	// contains filtered or unexported methods
}

type MarkAttrs

type MarkAttrs struct {
	Global GlobalAttrs
}

func (*MarkAttrs) WriteAttrs added in v0.14.0

func (a *MarkAttrs) WriteAttrs(sb *strings.Builder)

type MarkerEndOpt added in v0.14.0

type MarkerEndOpt struct {
	// contains filtered or unexported fields
}

func AMarkerEnd added in v0.14.0

func AMarkerEnd(v string) MarkerEndOpt

type MarkerHeightOpt added in v0.13.0

type MarkerHeightOpt struct {
	// contains filtered or unexported fields
}

func AMarkerHeight added in v0.13.0

func AMarkerHeight(v string) MarkerHeightOpt

type MarkerMidOpt added in v0.14.0

type MarkerMidOpt struct {
	// contains filtered or unexported fields
}

func AMarkerMid added in v0.14.0

func AMarkerMid(v string) MarkerMidOpt

type MarkerStartOpt added in v0.14.0

type MarkerStartOpt struct {
	// contains filtered or unexported fields
}

func AMarkerStart added in v0.14.0

func AMarkerStart(v string) MarkerStartOpt

type MarkerUnitsOpt added in v0.13.0

type MarkerUnitsOpt struct {
	// contains filtered or unexported fields
}

func AMarkerUnits added in v0.13.0

func AMarkerUnits(v string) MarkerUnitsOpt

type MarkerWidthOpt added in v0.13.0

type MarkerWidthOpt struct {
	// contains filtered or unexported fields
}

func AMarkerWidth added in v0.13.0

func AMarkerWidth(v string) MarkerWidthOpt

type MaskContentUnitsOpt added in v0.13.0

type MaskContentUnitsOpt struct {
	// contains filtered or unexported fields
}

func AMaskContentUnits added in v0.13.0

func AMaskContentUnits(v string) MaskContentUnitsOpt

type MaskOpt added in v0.14.0

type MaskOpt struct {
	// contains filtered or unexported fields
}

func AMask added in v0.14.0

func AMask(v string) MaskOpt

type MaskUnitsOpt added in v0.13.0

type MaskUnitsOpt struct {
	// contains filtered or unexported fields
}

func AMaskUnits added in v0.13.0

func AMaskUnits(v string) MaskUnitsOpt

type MathArg added in v0.14.0

type MathArg interface {
	// contains filtered or unexported methods
}

type MathAttrs added in v0.14.0

type MathAttrs struct {
	Global GlobalAttrs
}

func (*MathAttrs) WriteAttrs added in v0.14.0

func (a *MathAttrs) WriteAttrs(sb *strings.Builder)

type MathematicalOpt added in v0.14.0

type MathematicalOpt struct {
	// contains filtered or unexported fields
}

func AMathematical added in v0.14.0

func AMathematical(v string) MathematicalOpt

type MaxOpt

type MaxOpt struct {
	// contains filtered or unexported fields
}

func AMax added in v0.13.0

func AMax(v string) MaxOpt

type MaxlengthOpt

type MaxlengthOpt struct {
	// contains filtered or unexported fields
}

func AMaxlength added in v0.13.0

func AMaxlength(v string) MaxlengthOpt

type MediaCharacterEncodingOpt added in v0.14.0

type MediaCharacterEncodingOpt struct {
	// contains filtered or unexported fields
}

func AMediaCharacterEncoding added in v0.14.0

func AMediaCharacterEncoding(v string) MediaCharacterEncodingOpt

type MediaContentEncodingsOpt added in v0.14.0

type MediaContentEncodingsOpt struct {
	// contains filtered or unexported fields
}

func AMediaContentEncodings added in v0.14.0

func AMediaContentEncodings(v string) MediaContentEncodingsOpt

type MediaOpt

type MediaOpt struct {
	// contains filtered or unexported fields
}

func AMedia added in v0.13.0

func AMedia(v string) MediaOpt

type MediaSizeOpt added in v0.14.0

type MediaSizeOpt struct {
	// contains filtered or unexported fields
}

func AMediaSize added in v0.14.0

func AMediaSize(v string) MediaSizeOpt

type MediaTimeOpt added in v0.14.0

type MediaTimeOpt struct {
	// contains filtered or unexported fields
}

func AMediaTime added in v0.14.0

func AMediaTime(v string) MediaTimeOpt
type MenuArg interface {
	// contains filtered or unexported methods
}
type MenuAttrs struct {
	Global GlobalAttrs
}
func (a *MenuAttrs) WriteAttrs(sb *strings.Builder)

type MetaArg

type MetaArg interface {
	// contains filtered or unexported methods
}

type MetaAttrs

type MetaAttrs struct {
	Global    GlobalAttrs
	Charset   string
	Content   string
	HttpEquiv string
	Media     string
	Name      string
}

func (*MetaAttrs) WriteAttrs added in v0.13.0

func (a *MetaAttrs) WriteAttrs(sb *strings.Builder)

type MeterArg added in v0.13.0

type MeterArg interface {
	// contains filtered or unexported methods
}

type MeterAttrs added in v0.13.0

type MeterAttrs struct {
	Global  GlobalAttrs
	High    string
	Low     string
	Max     string
	Min     string
	Optimum string
	Value   string
}

func (*MeterAttrs) WriteAttrs added in v0.13.0

func (a *MeterAttrs) WriteAttrs(sb *strings.Builder)

type MethodOpt

type MethodOpt struct {
	// contains filtered or unexported fields
}

func AMethod added in v0.13.0

func AMethod(v string) MethodOpt

type MinOpt

type MinOpt struct {
	// contains filtered or unexported fields
}

func AMin added in v0.13.0

func AMin(v string) MinOpt

type MinlengthOpt

type MinlengthOpt struct {
	// contains filtered or unexported fields
}

func AMinlength added in v0.13.0

func AMinlength(v string) MinlengthOpt

type ModeOpt added in v0.13.0

type ModeOpt struct {
	// contains filtered or unexported fields
}

func AMode added in v0.13.0

func AMode(v string) ModeOpt

type MultipleOpt

type MultipleOpt struct{}

func AMultiple added in v0.13.0

func AMultiple() MultipleOpt

type MutedOpt

type MutedOpt struct{}

func AMuted added in v0.13.0

func AMuted() MutedOpt

type NameOpt

type NameOpt struct {
	// contains filtered or unexported fields
}

func AName added in v0.13.0

func AName(v string) NameOpt
type NavArg interface {
	// contains filtered or unexported methods
}
type NavAttrs struct {
	Global GlobalAttrs
}
func (a *NavAttrs) WriteAttrs(sb *strings.Builder)
type NavDownLeftOpt struct {
	// contains filtered or unexported fields
}

func ANavDownLeft added in v0.14.0

func ANavDownLeft(v string) NavDownLeftOpt
type NavDownOpt struct {
	// contains filtered or unexported fields
}

func ANavDown added in v0.14.0

func ANavDown(v string) NavDownOpt
type NavDownRightOpt struct {
	// contains filtered or unexported fields
}

func ANavDownRight added in v0.14.0

func ANavDownRight(v string) NavDownRightOpt
type NavLeftOpt struct {
	// contains filtered or unexported fields
}

func ANavLeft added in v0.14.0

func ANavLeft(v string) NavLeftOpt
type NavNextOpt struct {
	// contains filtered or unexported fields
}

func ANavNext added in v0.14.0

func ANavNext(v string) NavNextOpt
type NavPrevOpt struct {
	// contains filtered or unexported fields
}

func ANavPrev added in v0.14.0

func ANavPrev(v string) NavPrevOpt
type NavRightOpt struct {
	// contains filtered or unexported fields
}

func ANavRight added in v0.14.0

func ANavRight(v string) NavRightOpt
type NavUpLeftOpt struct {
	// contains filtered or unexported fields
}

func ANavUpLeft added in v0.14.0

func ANavUpLeft(v string) NavUpLeftOpt
type NavUpOpt struct {
	// contains filtered or unexported fields
}

func ANavUp added in v0.14.0

func ANavUp(v string) NavUpOpt
type NavUpRightOpt struct {
	// contains filtered or unexported fields
}

func ANavUpRight added in v0.14.0

func ANavUpRight(v string) NavUpRightOpt

type Node

type Node struct {
	Tag       string
	Attrs     any         // must implement AttrWriter
	Kids      []Component // empty for void tags
	Void      bool
	AssetCSS  string // CSS to be collected by asset system
	AssetJS   string // JavaScript to be collected by asset system
	AssetName string // Name for asset deduplication
}

func A

func A(args ...AArg) Node

func Abbr

func Abbr(args ...AbbrArg) Node

func Address

func Address(args ...AddressArg) Node

func Area added in v0.13.0

func Area(args ...AreaArg) Node

func Article

func Article(args ...ArticleArg) Node

func Aside

func Aside(args ...AsideArg) Node

func Audio

func Audio(args ...AudioArg) Node

func B

func B(args ...BArg) Node

func Base added in v0.13.0

func Base(args ...BaseArg) Node

func Bdi added in v0.14.0

func Bdi(args ...BdiArg) Node

func Bdo added in v0.14.0

func Bdo(args ...BdoArg) Node

func Blockquote

func Blockquote(args ...BlockquoteArg) Node

func Body

func Body(args ...BodyArg) Node

func Br

func Br(args ...BrArg) Node

func Button

func Button(args ...ButtonArg) Node

func Canvas

func Canvas(args ...CanvasArg) Node

func Caption

func Caption(args ...CaptionArg) Node

func Cite

func Cite(args ...CiteArg) Node

func Code

func Code(args ...CodeArg) Node

func Col

func Col(args ...ColArg) Node

func Colgroup

func Colgroup(args ...ColgroupArg) Node

func Data

func Data(args ...DataArg) Node

func Datalist

func Datalist(args ...DatalistArg) Node

func Dd

func Dd(args ...DdArg) Node

func Del

func Del(args ...DelArg) Node

func Details

func Details(args ...DetailsArg) Node

func Dfn

func Dfn(args ...DfnArg) Node

func Dialog

func Dialog(args ...DialogArg) Node

func Div

func Div(args ...DivArg) Node

func Dl

func Dl(args ...DlArg) Node

func Dt

func Dt(args ...DtArg) Node

func Em

func Em(args ...EmArg) Node

func Embed added in v0.13.0

func Embed(args ...EmbedArg) Node

func Fieldset

func Fieldset(args ...FieldsetArg) Node

func Figcaption

func Figcaption(args ...FigcaptionArg) Node

func Figure

func Figure(args ...FigureArg) Node
func Footer(args ...FooterArg) Node

func Form

func Form(args ...FormArg) Node

func H1

func H1(args ...H1Arg) Node

func H2

func H2(args ...H2Arg) Node

func H3

func H3(args ...H3Arg) Node

func H4

func H4(args ...H4Arg) Node

func H5

func H5(args ...H5Arg) Node

func H6

func H6(args ...H6Arg) Node
func Head(args ...HeadArg) Node
func Header(args ...HeaderArg) Node

func Hgroup added in v0.14.0

func Hgroup(args ...HgroupArg) Node

func Hr

func Hr(args ...HrArg) Node

func Html

func Html(args ...HtmlArg) Node

func I

func I(args ...IArg) Node

func Iframe

func Iframe(args ...IframeArg) Node

func Img

func Img(args ...ImgArg) Node

func Input

func Input(args ...InputArg) Node

func Ins

func Ins(args ...InsArg) Node

func Kbd

func Kbd(args ...KbdArg) Node

func Label

func Label(args ...LabelArg) Node

func Legend

func Legend(args ...LegendArg) Node

func Li

func Li(args ...LiArg) Node
func Link(args ...LinkArg) Node

func Main

func Main(args ...MainArg) Node

func Map added in v0.13.0

func Map(args ...MapArg) Node

func Mark

func Mark(args ...MarkArg) Node

func Math added in v0.14.0

func Math(args ...MathArg) Node
func Menu(args ...MenuArg) Node

func Meta

func Meta(args ...MetaArg) Node

func Meter added in v0.13.0

func Meter(args ...MeterArg) Node
func Nav(args ...NavArg) Node

func Noscript added in v0.14.0

func Noscript(args ...NoscriptArg) Node

func Object added in v0.13.0

func Object(args ...ObjectArg) Node

func Ol

func Ol(args ...OlArg) Node

func Optgroup

func Optgroup(args ...OptgroupArg) Node

func Option

func Option(args ...OptionArg) Node

func Output added in v0.13.0

func Output(args ...OutputArg) Node

func P

func P(args ...PArg) Node

func Picture added in v0.14.0

func Picture(args ...PictureArg) Node

func Pre

func Pre(args ...PreArg) Node

func Progress added in v0.13.0

func Progress(args ...ProgressArg) Node

func Q

func Q(args ...QArg) Node

func Rp added in v0.14.0

func Rp(args ...RpArg) Node

func Rt added in v0.14.0

func Rt(args ...RtArg) Node

func Ruby added in v0.14.0

func Ruby(args ...RubyArg) Node

func S

func S(args ...SArg) Node

func Samp

func Samp(args ...SampArg) Node

func Script

func Script(args ...ScriptArg) Node
func Search(args ...SearchArg) Node

func Section

func Section(args ...SectionArg) Node

func Select

func Select(args ...SelectArg) Node

func Selectedcontent added in v0.14.0

func Selectedcontent(args ...SelectedcontentArg) Node

func Slot

func Slot(args ...SlotArg) Node

func Small

func Small(args ...SmallArg) Node

func Source

func Source(args ...SourceArg) Node

func Span

func Span(args ...SpanArg) Node

func Strong

func Strong(args ...StrongArg) Node

func Style

func Style(args ...StyleArg) Node

func Sub

func Sub(args ...SubArg) Node

func Summary

func Summary(args ...SummaryArg) Node

func Sup

func Sup(args ...SupArg) Node

func Svg

func Svg(args ...SvgArg) Node

Svg creates an SVG svg element

func SvgAltGlyph added in v0.14.0

func SvgAltGlyph(args ...SvgAltGlyphArg) Node

SvgAltGlyph creates an SVG altGlyph element

func SvgAltGlyphDef added in v0.14.0

func SvgAltGlyphDef(args ...SvgAltGlyphDefArg) Node

SvgAltGlyphDef creates an SVG altGlyphDef element

func SvgAltGlyphItem added in v0.14.0

func SvgAltGlyphItem(args ...SvgAltGlyphItemArg) Node

SvgAltGlyphItem creates an SVG altGlyphItem element

func SvgAnimate added in v0.13.0

func SvgAnimate(args ...SvgAnimateArg) Node

SvgAnimate creates an SVG animate element

func SvgAnimateColor added in v0.14.0

func SvgAnimateColor(args ...SvgAnimateColorArg) Node

SvgAnimateColor creates an SVG animateColor element

func SvgAnimateMotion added in v0.13.0

func SvgAnimateMotion(args ...SvgAnimateMotionArg) Node

SvgAnimateMotion creates an SVG animateMotion element

func SvgAnimateTransform added in v0.13.0

func SvgAnimateTransform(args ...SvgAnimateTransformArg) Node

SvgAnimateTransform creates an SVG animateTransform element

func SvgAnimation added in v0.14.0

func SvgAnimation(args ...SvgAnimationArg) Node

SvgAnimation creates an SVG animation element

func SvgCircle added in v0.13.0

func SvgCircle(args ...SvgCircleArg) Node

SvgCircle creates an SVG circle element

func SvgClipPath added in v0.13.0

func SvgClipPath(args ...SvgClipPathArg) Node

SvgClipPath creates an SVG clipPath element

func SvgColorProfile added in v0.14.0

func SvgColorProfile(args ...SvgColorProfileArg) Node

SvgColorProfile creates an SVG color-profile element

func SvgCursor added in v0.14.0

func SvgCursor(args ...SvgCursorArg) Node

SvgCursor creates an SVG cursor element

func SvgDefs added in v0.13.0

func SvgDefs(args ...SvgDefsArg) Node

SvgDefs creates an SVG defs element

func SvgDesc added in v0.13.0

func SvgDesc(args ...SvgDescArg) Node

SvgDesc creates an SVG desc element

func SvgDiscard added in v0.14.0

func SvgDiscard(args ...SvgDiscardArg) Node

SvgDiscard creates an SVG discard element

func SvgEllipse added in v0.13.0

func SvgEllipse(args ...SvgEllipseArg) Node

SvgEllipse creates an SVG ellipse element

func SvgFeBlend added in v0.13.0

func SvgFeBlend(args ...SvgFeBlendArg) Node

SvgFeBlend creates an SVG feBlend element

func SvgFeColorMatrix added in v0.13.0

func SvgFeColorMatrix(args ...SvgFeColorMatrixArg) Node

SvgFeColorMatrix creates an SVG feColorMatrix element

func SvgFeComponentTransfer added in v0.13.0

func SvgFeComponentTransfer(args ...SvgFeComponentTransferArg) Node

SvgFeComponentTransfer creates an SVG feComponentTransfer element

func SvgFeComposite added in v0.13.0

func SvgFeComposite(args ...SvgFeCompositeArg) Node

SvgFeComposite creates an SVG feComposite element

func SvgFeConvolveMatrix added in v0.13.0

func SvgFeConvolveMatrix(args ...SvgFeConvolveMatrixArg) Node

SvgFeConvolveMatrix creates an SVG feConvolveMatrix element

func SvgFeDiffuseLighting added in v0.13.0

func SvgFeDiffuseLighting(args ...SvgFeDiffuseLightingArg) Node

SvgFeDiffuseLighting creates an SVG feDiffuseLighting element

func SvgFeDisplacementMap added in v0.13.0

func SvgFeDisplacementMap(args ...SvgFeDisplacementMapArg) Node

SvgFeDisplacementMap creates an SVG feDisplacementMap element

func SvgFeDistantLight added in v0.13.0

func SvgFeDistantLight(args ...SvgFeDistantLightArg) Node

SvgFeDistantLight creates an SVG feDistantLight element

func SvgFeDropShadow added in v0.13.0

func SvgFeDropShadow(args ...SvgFeDropShadowArg) Node

SvgFeDropShadow creates an SVG feDropShadow element

func SvgFeFlood added in v0.13.0

func SvgFeFlood(args ...SvgFeFloodArg) Node

SvgFeFlood creates an SVG feFlood element

func SvgFeFuncA added in v0.13.0

func SvgFeFuncA(args ...SvgFeFuncAArg) Node

SvgFeFuncA creates an SVG feFuncA element

func SvgFeFuncB added in v0.13.0

func SvgFeFuncB(args ...SvgFeFuncBArg) Node

SvgFeFuncB creates an SVG feFuncB element

func SvgFeFuncG added in v0.13.0

func SvgFeFuncG(args ...SvgFeFuncGArg) Node

SvgFeFuncG creates an SVG feFuncG element

func SvgFeFuncR added in v0.13.0

func SvgFeFuncR(args ...SvgFeFuncRArg) Node

SvgFeFuncR creates an SVG feFuncR element

func SvgFeGaussianBlur added in v0.13.0

func SvgFeGaussianBlur(args ...SvgFeGaussianBlurArg) Node

SvgFeGaussianBlur creates an SVG feGaussianBlur element

func SvgFeImage added in v0.13.0

func SvgFeImage(args ...SvgFeImageArg) Node

SvgFeImage creates an SVG feImage element

func SvgFeMerge added in v0.13.0

func SvgFeMerge(args ...SvgFeMergeArg) Node

SvgFeMerge creates an SVG feMerge element

func SvgFeMergeNode added in v0.13.0

func SvgFeMergeNode(args ...SvgFeMergeNodeArg) Node

SvgFeMergeNode creates an SVG feMergeNode element

func SvgFeMorphology added in v0.13.0

func SvgFeMorphology(args ...SvgFeMorphologyArg) Node

SvgFeMorphology creates an SVG feMorphology element

func SvgFeOffset added in v0.13.0

func SvgFeOffset(args ...SvgFeOffsetArg) Node

SvgFeOffset creates an SVG feOffset element

func SvgFePointLight added in v0.13.0

func SvgFePointLight(args ...SvgFePointLightArg) Node

SvgFePointLight creates an SVG fePointLight element

func SvgFeSpecularLighting added in v0.13.0

func SvgFeSpecularLighting(args ...SvgFeSpecularLightingArg) Node

SvgFeSpecularLighting creates an SVG feSpecularLighting element

func SvgFeSpotLight added in v0.13.0

func SvgFeSpotLight(args ...SvgFeSpotLightArg) Node

SvgFeSpotLight creates an SVG feSpotLight element

func SvgFeTile added in v0.13.0

func SvgFeTile(args ...SvgFeTileArg) Node

SvgFeTile creates an SVG feTile element

func SvgFeTurbulence added in v0.13.0

func SvgFeTurbulence(args ...SvgFeTurbulenceArg) Node

SvgFeTurbulence creates an SVG feTurbulence element

func SvgFilter added in v0.13.0

func SvgFilter(args ...SvgFilterArg) Node

SvgFilter creates an SVG filter element

func SvgFont added in v0.14.0

func SvgFont(args ...SvgFontArg) Node

SvgFont creates an SVG font element

func SvgFontFace added in v0.14.0

func SvgFontFace(args ...SvgFontFaceArg) Node

SvgFontFace creates an SVG font-face element

func SvgFontFaceFormat added in v0.14.0

func SvgFontFaceFormat(args ...SvgFontFaceFormatArg) Node

SvgFontFaceFormat creates an SVG font-face-format element

func SvgFontFaceName added in v0.14.0

func SvgFontFaceName(args ...SvgFontFaceNameArg) Node

SvgFontFaceName creates an SVG font-face-name element

func SvgFontFaceSrc added in v0.14.0

func SvgFontFaceSrc(args ...SvgFontFaceSrcArg) Node

SvgFontFaceSrc creates an SVG font-face-src element

func SvgFontFaceUri added in v0.14.0

func SvgFontFaceUri(args ...SvgFontFaceUriArg) Node

SvgFontFaceUri creates an SVG font-face-uri element

func SvgForeignObject added in v0.13.0

func SvgForeignObject(args ...SvgForeignObjectArg) Node

SvgForeignObject creates an SVG foreignObject element

func SvgG added in v0.13.0

func SvgG(args ...SvgGArg) Node

SvgG creates an SVG g element

func SvgGlyph added in v0.14.0

func SvgGlyph(args ...SvgGlyphArg) Node

SvgGlyph creates an SVG glyph element

func SvgGlyphRef added in v0.14.0

func SvgGlyphRef(args ...SvgGlyphRefArg) Node

SvgGlyphRef creates an SVG glyphRef element

func SvgHandler added in v0.14.0

func SvgHandler(args ...SvgHandlerArg) Node

SvgHandler creates an SVG handler element

func SvgHkern added in v0.14.0

func SvgHkern(args ...SvgHkernArg) Node

SvgHkern creates an SVG hkern element

func SvgImage added in v0.13.0

func SvgImage(args ...SvgImageArg) Node

SvgImage creates an SVG image element

func SvgLine added in v0.13.0

func SvgLine(args ...SvgLineArg) Node

SvgLine creates an SVG line element

func SvgLinearGradient added in v0.13.0

func SvgLinearGradient(args ...SvgLinearGradientArg) Node

SvgLinearGradient creates an SVG linearGradient element

func SvgListener added in v0.14.0

func SvgListener(args ...SvgListenerArg) Node

SvgListener creates an SVG listener element

func SvgMarker added in v0.13.0

func SvgMarker(args ...SvgMarkerArg) Node

SvgMarker creates an SVG marker element

func SvgMask added in v0.13.0

func SvgMask(args ...SvgMaskArg) Node

SvgMask creates an SVG mask element

func SvgMetadata added in v0.13.0

func SvgMetadata(args ...SvgMetadataArg) Node

SvgMetadata creates an SVG metadata element

func SvgMissingGlyph added in v0.14.0

func SvgMissingGlyph(args ...SvgMissingGlyphArg) Node

SvgMissingGlyph creates an SVG missing-glyph element

func SvgMpath added in v0.13.0

func SvgMpath(args ...SvgMpathArg) Node

SvgMpath creates an SVG mpath element

func SvgPath added in v0.13.0

func SvgPath(args ...SvgPathArg) Node

SvgPath creates an SVG path element

func SvgPattern added in v0.13.0

func SvgPattern(args ...SvgPatternArg) Node

SvgPattern creates an SVG pattern element

func SvgPolygon added in v0.13.0

func SvgPolygon(args ...SvgPolygonArg) Node

SvgPolygon creates an SVG polygon element

func SvgPolyline added in v0.13.0

func SvgPolyline(args ...SvgPolylineArg) Node

SvgPolyline creates an SVG polyline element

func SvgPrefetch added in v0.14.0

func SvgPrefetch(args ...SvgPrefetchArg) Node

SvgPrefetch creates an SVG prefetch element

func SvgRadialGradient added in v0.13.0

func SvgRadialGradient(args ...SvgRadialGradientArg) Node

SvgRadialGradient creates an SVG radialGradient element

func SvgRect added in v0.13.0

func SvgRect(args ...SvgRectArg) Node

SvgRect creates an SVG rect element

func SvgSet added in v0.13.0

func SvgSet(args ...SvgSetArg) Node

SvgSet creates an SVG set element

func SvgSolidColor added in v0.14.0

func SvgSolidColor(args ...SvgSolidColorArg) Node

SvgSolidColor creates an SVG solidColor element

func SvgStop added in v0.13.0

func SvgStop(args ...SvgStopArg) Node

SvgStop creates an SVG stop element

func SvgSwitch added in v0.13.0

func SvgSwitch(args ...SvgSwitchArg) Node

SvgSwitch creates an SVG switch element

func SvgSymbol added in v0.13.0

func SvgSymbol(args ...SvgSymbolArg) Node

SvgSymbol creates an SVG symbol element

func SvgTbreak added in v0.14.0

func SvgTbreak(args ...SvgTbreakArg) Node

SvgTbreak creates an SVG tbreak element

func SvgText

func SvgText(args ...SvgTextArg) Node

SvgText creates an SVG text element

func SvgTextPath added in v0.13.0

func SvgTextPath(args ...SvgTextPathArg) Node

SvgTextPath creates an SVG textPath element

func SvgTref added in v0.14.0

func SvgTref(args ...SvgTrefArg) Node

SvgTref creates an SVG tref element

func SvgTspan added in v0.13.0

func SvgTspan(args ...SvgTspanArg) Node

SvgTspan creates an SVG tspan element

func SvgUnknown added in v0.14.0

func SvgUnknown(args ...SvgUnknownArg) Node

SvgUnknown creates an SVG unknown element

func SvgUse added in v0.13.0

func SvgUse(args ...SvgUseArg) Node

SvgUse creates an SVG use element

func SvgView added in v0.13.0

func SvgView(args ...SvgViewArg) Node

SvgView creates an SVG view element

func SvgVkern added in v0.14.0

func SvgVkern(args ...SvgVkernArg) Node

SvgVkern creates an SVG vkern element

func Table

func Table(args ...TableArg) Node

func Tbody

func Tbody(args ...TbodyArg) Node

func Td

func Td(args ...TdArg) Node

func Template

func Template(args ...TemplateArg) Node

func Textarea

func Textarea(args ...TextareaArg) Node

func Tfoot

func Tfoot(args ...TfootArg) Node

func Th

func Th(args ...ThArg) Node

func Thead

func Thead(args ...TheadArg) Node

func Time

func Time(args ...TimeArg) Node

func Title

func Title(args ...TitleArg) Node

func Tr

func Tr(args ...TrArg) Node

func Track

func Track(args ...TrackArg) Node

func U

func U(args ...UArg) Node

func Ul

func Ul(args ...UlArg) Node

func Var

func Var(args ...VarArg) Node

func Video

func Video(args ...VideoArg) Node

func Wbr added in v0.14.0

func Wbr(args ...WbrArg) Node

func (Node) CSS

func (n Node) CSS() string

func (Node) Children

func (n Node) Children() []Component

func (Node) JS

func (n Node) JS() string

func (Node) Name

func (n Node) Name() string

func (Node) WithAssets

func (n Node) WithAssets(css, js, name string) Node

type NomoduleOpt added in v0.13.0

type NomoduleOpt struct{}

func ANomodule added in v0.13.0

func ANomodule() NomoduleOpt

type NoscriptArg added in v0.14.0

type NoscriptArg interface {
	// contains filtered or unexported methods
}

type NoscriptAttrs added in v0.14.0

type NoscriptAttrs struct {
	Global GlobalAttrs
}

func (*NoscriptAttrs) WriteAttrs added in v0.14.0

func (a *NoscriptAttrs) WriteAttrs(sb *strings.Builder)

type NovalidateOpt

type NovalidateOpt struct{}

func ANovalidate added in v0.13.0

func ANovalidate() NovalidateOpt

type NumOctavesOpt added in v0.13.0

type NumOctavesOpt struct {
	// contains filtered or unexported fields
}

func ANumOctaves added in v0.13.0

func ANumOctaves(v string) NumOctavesOpt

type ObjectArg added in v0.13.0

type ObjectArg interface {
	// contains filtered or unexported methods
}

type ObjectAttrs added in v0.13.0

type ObjectAttrs struct {
	Global GlobalAttrs
	Data   string
	Height string
	Name   string
	Type   string
	Width  string
}

func (*ObjectAttrs) WriteAttrs added in v0.13.0

func (a *ObjectAttrs) WriteAttrs(sb *strings.Builder)

type ObserverOpt added in v0.14.0

type ObserverOpt struct {
	// contains filtered or unexported fields
}

func AObserver added in v0.14.0

func AObserver(v string) ObserverOpt

type OffsetOpt added in v0.13.0

type OffsetOpt struct {
	// contains filtered or unexported fields
}

func AOffset added in v0.13.0

func AOffset(v string) OffsetOpt

type OlArg

type OlArg interface {
	// contains filtered or unexported methods
}

type OlAttrs

type OlAttrs struct {
	Global   GlobalAttrs
	Reversed bool
	Start    string
	Type     string
}

func (*OlAttrs) WriteAttrs added in v0.13.0

func (a *OlAttrs) WriteAttrs(sb *strings.Builder)

type OpacityOpt

type OpacityOpt struct {
	// contains filtered or unexported fields
}

func AOpacity added in v0.14.0

func AOpacity(v string) OpacityOpt

type OpenOpt

type OpenOpt struct{}

func AOpen added in v0.13.0

func AOpen() OpenOpt

type OperatorOpt added in v0.13.0

type OperatorOpt struct {
	// contains filtered or unexported fields
}

func AOperator added in v0.13.0

func AOperator(v string) OperatorOpt

type OptgroupArg

type OptgroupArg interface {
	// contains filtered or unexported methods
}

type OptgroupAttrs

type OptgroupAttrs struct {
	Global GlobalAttrs
	Label  string
}

func (*OptgroupAttrs) WriteAttrs added in v0.13.0

func (a *OptgroupAttrs) WriteAttrs(sb *strings.Builder)

type OptimumOpt added in v0.13.0

type OptimumOpt struct {
	// contains filtered or unexported fields
}

func AOptimum added in v0.13.0

func AOptimum(v string) OptimumOpt

type OptionArg

type OptionArg interface {
	// contains filtered or unexported methods
}

type OptionAttrs

type OptionAttrs struct {
	Global   GlobalAttrs
	Label    string
	Selected bool
	Value    string
}

func (*OptionAttrs) WriteAttrs added in v0.13.0

func (a *OptionAttrs) WriteAttrs(sb *strings.Builder)

type OrderOpt added in v0.13.0

type OrderOpt struct {
	// contains filtered or unexported fields
}

func AOrder added in v0.13.0

func AOrder(v string) OrderOpt

type OrientOpt added in v0.13.0

type OrientOpt struct {
	// contains filtered or unexported fields
}

func AOrient added in v0.13.0

func AOrient(v string) OrientOpt

type OrientationOpt added in v0.14.0

type OrientationOpt struct {
	// contains filtered or unexported fields
}

func AOrientation added in v0.14.0

func AOrientation(v string) OrientationOpt

type OriginOpt added in v0.14.0

type OriginOpt struct {
	// contains filtered or unexported fields
}

func AOrigin added in v0.14.0

func AOrigin(v string) OriginOpt

type OutputArg added in v0.13.0

type OutputArg interface {
	// contains filtered or unexported methods
}

type OutputAttrs added in v0.13.0

type OutputAttrs struct {
	Global GlobalAttrs
	For    string
}

func (*OutputAttrs) WriteAttrs added in v0.13.0

func (a *OutputAttrs) WriteAttrs(sb *strings.Builder)

type OverflowOpt added in v0.14.0

type OverflowOpt struct {
	// contains filtered or unexported fields
}

func AOverflow added in v0.14.0

func AOverflow(v string) OverflowOpt

type OverlinePositionOpt added in v0.14.0

type OverlinePositionOpt struct {
	// contains filtered or unexported fields
}

func AOverlinePosition added in v0.14.0

func AOverlinePosition(v string) OverlinePositionOpt

type OverlineThicknessOpt added in v0.14.0

type OverlineThicknessOpt struct {
	// contains filtered or unexported fields
}

func AOverlineThickness added in v0.14.0

func AOverlineThickness(v string) OverlineThicknessOpt

type PArg

type PArg interface {
	// contains filtered or unexported methods
}

type PAttrs

type PAttrs struct {
	Global GlobalAttrs
}

func (*PAttrs) WriteAttrs added in v0.13.0

func (a *PAttrs) WriteAttrs(sb *strings.Builder)

type Panose1Opt added in v0.14.0

type Panose1Opt struct {
	// contains filtered or unexported fields
}

func APanose1 added in v0.14.0

func APanose1(v string) Panose1Opt

type PathLengthOpt

type PathLengthOpt struct {
	// contains filtered or unexported fields
}

func APathLength added in v0.13.0

func APathLength(v string) PathLengthOpt

type PathOpt added in v0.14.0

type PathOpt struct {
	// contains filtered or unexported fields
}

func APath added in v0.14.0

func APath(v string) PathOpt

type PatternContentUnitsOpt added in v0.13.0

type PatternContentUnitsOpt struct {
	// contains filtered or unexported fields
}

func APatternContentUnits added in v0.13.0

func APatternContentUnits(v string) PatternContentUnitsOpt

type PatternOpt

type PatternOpt struct {
	// contains filtered or unexported fields
}

func APattern added in v0.13.0

func APattern(v string) PatternOpt

type PatternTransformOpt added in v0.13.0

type PatternTransformOpt struct {
	// contains filtered or unexported fields
}

func APatternTransform added in v0.13.0

func APatternTransform(v string) PatternTransformOpt

type PatternUnitsOpt added in v0.13.0

type PatternUnitsOpt struct {
	// contains filtered or unexported fields
}

func APatternUnits added in v0.13.0

func APatternUnits(v string) PatternUnitsOpt

type PhaseOpt added in v0.14.0

type PhaseOpt struct {
	// contains filtered or unexported fields
}

func APhase added in v0.14.0

func APhase(v string) PhaseOpt

type PictureArg added in v0.14.0

type PictureArg interface {
	// contains filtered or unexported methods
}

type PictureAttrs added in v0.14.0

type PictureAttrs struct {
	Global GlobalAttrs
}

func (*PictureAttrs) WriteAttrs added in v0.14.0

func (a *PictureAttrs) WriteAttrs(sb *strings.Builder)

type PingOpt added in v0.13.0

type PingOpt struct {
	// contains filtered or unexported fields
}

func APing added in v0.13.0

func APing(v string) PingOpt

type PlaceholderOpt

type PlaceholderOpt struct {
	// contains filtered or unexported fields
}

func APlaceholder added in v0.13.0

func APlaceholder(v string) PlaceholderOpt

type PlaybackOrderOpt added in v0.14.0

type PlaybackOrderOpt struct {
	// contains filtered or unexported fields
}

func APlaybackOrder added in v0.14.0

func APlaybackOrder(v string) PlaybackOrderOpt

type PlaysinlineOpt added in v0.13.0

type PlaysinlineOpt struct{}

func APlaysinline added in v0.13.0

func APlaysinline() PlaysinlineOpt

type PointerEventsOpt added in v0.14.0

type PointerEventsOpt struct {
	// contains filtered or unexported fields
}

func APointerEvents added in v0.14.0

func APointerEvents(v string) PointerEventsOpt

type PointsAtXOpt added in v0.13.0

type PointsAtXOpt struct {
	// contains filtered or unexported fields
}

func APointsAtX added in v0.13.0

func APointsAtX(v string) PointsAtXOpt

type PointsAtYOpt added in v0.13.0

type PointsAtYOpt struct {
	// contains filtered or unexported fields
}

func APointsAtY added in v0.13.0

func APointsAtY(v string) PointsAtYOpt

type PointsAtZOpt added in v0.13.0

type PointsAtZOpt struct {
	// contains filtered or unexported fields
}

func APointsAtZ added in v0.13.0

func APointsAtZ(v string) PointsAtZOpt

type PointsOpt

type PointsOpt struct {
	// contains filtered or unexported fields
}

func APoints added in v0.13.0

func APoints(v string) PointsOpt

type PopovertargetOpt added in v0.13.0

type PopovertargetOpt struct {
	// contains filtered or unexported fields
}

func APopovertarget added in v0.13.0

func APopovertarget(v string) PopovertargetOpt

type PopovertargetactionOpt added in v0.13.0

type PopovertargetactionOpt struct {
	// contains filtered or unexported fields
}

func APopovertargetaction added in v0.13.0

func APopovertargetaction(v string) PopovertargetactionOpt

type PosterOpt

type PosterOpt struct {
	// contains filtered or unexported fields
}

func APoster added in v0.13.0

func APoster(v string) PosterOpt

type PreArg

type PreArg interface {
	// contains filtered or unexported methods
}

type PreAttrs

type PreAttrs struct {
	Global GlobalAttrs
}

func (*PreAttrs) WriteAttrs added in v0.13.0

func (a *PreAttrs) WriteAttrs(sb *strings.Builder)

type PreloadOpt

type PreloadOpt struct {
	// contains filtered or unexported fields
}

func APreload added in v0.13.0

func APreload(v string) PreloadOpt

type PreserveAlphaOpt added in v0.13.0

type PreserveAlphaOpt struct {
	// contains filtered or unexported fields
}

func APreserveAlpha added in v0.13.0

func APreserveAlpha(v string) PreserveAlphaOpt

type PreserveAspectRatioOpt

type PreserveAspectRatioOpt struct {
	// contains filtered or unexported fields
}

func APreserveAspectRatio added in v0.13.0

func APreserveAspectRatio(v string) PreserveAspectRatioOpt

type PrimitiveUnitsOpt added in v0.13.0

type PrimitiveUnitsOpt struct {
	// contains filtered or unexported fields
}

func APrimitiveUnits added in v0.13.0

func APrimitiveUnits(v string) PrimitiveUnitsOpt

type ProgressArg added in v0.13.0

type ProgressArg interface {
	// contains filtered or unexported methods
}

type ProgressAttrs added in v0.13.0

type ProgressAttrs struct {
	Global GlobalAttrs
	Max    string
	Value  string
}

func (*ProgressAttrs) WriteAttrs added in v0.13.0

func (a *ProgressAttrs) WriteAttrs(sb *strings.Builder)

type PropagateOpt added in v0.14.0

type PropagateOpt struct {
	// contains filtered or unexported fields
}

func APropagate added in v0.14.0

func APropagate(v string) PropagateOpt

type QArg

type QArg interface {
	// contains filtered or unexported methods
}

type QAttrs

type QAttrs struct {
	Global GlobalAttrs
	Cite   string
}

func (*QAttrs) WriteAttrs added in v0.13.0

func (a *QAttrs) WriteAttrs(sb *strings.Builder)

type ROpt

type ROpt struct {
	// contains filtered or unexported fields
}

func AR added in v0.13.0

func AR(v string) ROpt

type RadiusOpt added in v0.13.0

type RadiusOpt struct {
	// contains filtered or unexported fields
}

func ARadius added in v0.13.0

func ARadius(v string) RadiusOpt

type ReadonlyOpt

type ReadonlyOpt struct{}

func AReadonly added in v0.13.0

func AReadonly() ReadonlyOpt

type RefXOpt added in v0.13.0

type RefXOpt struct {
	// contains filtered or unexported fields
}

func ARefX added in v0.13.0

func ARefX(v string) RefXOpt

type RefYOpt added in v0.13.0

type RefYOpt struct {
	// contains filtered or unexported fields
}

func ARefY added in v0.13.0

func ARefY(v string) RefYOpt

type ReferrerpolicyOpt

type ReferrerpolicyOpt struct {
	// contains filtered or unexported fields
}

func AReferrerpolicy added in v0.13.0

func AReferrerpolicy(v string) ReferrerpolicyOpt

type RelOpt

type RelOpt struct {
	// contains filtered or unexported fields
}

func ARel added in v0.13.0

func ARel(v string) RelOpt

type RenderingIntentOpt added in v0.14.0

type RenderingIntentOpt struct {
	// contains filtered or unexported fields
}

func ARenderingIntent added in v0.14.0

func ARenderingIntent(v string) RenderingIntentOpt

type RepeatCountOpt added in v0.13.0

type RepeatCountOpt struct {
	// contains filtered or unexported fields
}

func ARepeatCount added in v0.13.0

func ARepeatCount(v string) RepeatCountOpt

type RepeatDurOpt added in v0.13.0

type RepeatDurOpt struct {
	// contains filtered or unexported fields
}

func ARepeatDur added in v0.13.0

func ARepeatDur(v string) RepeatDurOpt

type RequiredExtensionsOpt added in v0.13.0

type RequiredExtensionsOpt struct {
	// contains filtered or unexported fields
}

func ARequiredExtensions added in v0.13.0

func ARequiredExtensions(v string) RequiredExtensionsOpt

type RequiredFeaturesOpt added in v0.13.0

type RequiredFeaturesOpt struct {
	// contains filtered or unexported fields
}

func ARequiredFeatures added in v0.13.0

func ARequiredFeatures(v string) RequiredFeaturesOpt

type RequiredFontsOpt added in v0.14.0

type RequiredFontsOpt struct {
	// contains filtered or unexported fields
}

func ARequiredFonts added in v0.14.0

func ARequiredFonts(v string) RequiredFontsOpt

type RequiredFormatsOpt added in v0.14.0

type RequiredFormatsOpt struct {
	// contains filtered or unexported fields
}

func ARequiredFormats added in v0.14.0

func ARequiredFormats(v string) RequiredFormatsOpt

type RequiredOpt

type RequiredOpt struct{}

func ARequired added in v0.13.0

func ARequired() RequiredOpt

type RestartOpt added in v0.13.0

type RestartOpt struct {
	// contains filtered or unexported fields
}

func ARestart added in v0.13.0

func ARestart(v string) RestartOpt

type ResultOpt added in v0.14.0

type ResultOpt struct {
	// contains filtered or unexported fields
}

func AResult added in v0.14.0

func AResult(v string) ResultOpt

type ReversedOpt

type ReversedOpt struct{}

func AReversed added in v0.13.0

func AReversed() ReversedOpt

type RotateOpt

type RotateOpt struct {
	// contains filtered or unexported fields
}

func ARotate added in v0.13.0

func ARotate(v string) RotateOpt

type RowsOpt

type RowsOpt struct {
	// contains filtered or unexported fields
}

func ARows added in v0.13.0

func ARows(v string) RowsOpt

type RowspanOpt

type RowspanOpt struct {
	// contains filtered or unexported fields
}

func ARowspan added in v0.13.0

func ARowspan(v string) RowspanOpt

type RpArg added in v0.14.0

type RpArg interface {
	// contains filtered or unexported methods
}

type RpAttrs added in v0.14.0

type RpAttrs struct {
	Global GlobalAttrs
}

func (*RpAttrs) WriteAttrs added in v0.14.0

func (a *RpAttrs) WriteAttrs(sb *strings.Builder)

type RtArg added in v0.14.0

type RtArg interface {
	// contains filtered or unexported methods
}

type RtAttrs added in v0.14.0

type RtAttrs struct {
	Global GlobalAttrs
}

func (*RtAttrs) WriteAttrs added in v0.14.0

func (a *RtAttrs) WriteAttrs(sb *strings.Builder)

type RubyArg added in v0.14.0

type RubyArg interface {
	// contains filtered or unexported methods
}

type RubyAttrs added in v0.14.0

type RubyAttrs struct {
	Global GlobalAttrs
}

func (*RubyAttrs) WriteAttrs added in v0.14.0

func (a *RubyAttrs) WriteAttrs(sb *strings.Builder)

type RxOpt

type RxOpt struct {
	// contains filtered or unexported fields
}

func ARx added in v0.13.0

func ARx(v string) RxOpt

type RyOpt

type RyOpt struct {
	// contains filtered or unexported fields
}

func ARy added in v0.13.0

func ARy(v string) RyOpt

type SArg

type SArg interface {
	// contains filtered or unexported methods
}

type SAttrs

type SAttrs struct {
	Global GlobalAttrs
}

func (*SAttrs) WriteAttrs added in v0.14.0

func (a *SAttrs) WriteAttrs(sb *strings.Builder)

type SampArg

type SampArg interface {
	// contains filtered or unexported methods
}

type SampAttrs

type SampAttrs struct {
	Global GlobalAttrs
}

func (*SampAttrs) WriteAttrs added in v0.14.0

func (a *SampAttrs) WriteAttrs(sb *strings.Builder)

type SandboxOpt

type SandboxOpt struct {
	// contains filtered or unexported fields
}

func ASandbox added in v0.13.0

func ASandbox(v string) SandboxOpt

type ScaleOpt added in v0.13.0

type ScaleOpt struct {
	// contains filtered or unexported fields
}

func AScale added in v0.13.0

func AScale(v string) ScaleOpt

type ScopeOpt

type ScopeOpt struct {
	// contains filtered or unexported fields
}

func AScope added in v0.13.0

func AScope(v string) ScopeOpt

type ScriptArg

type ScriptArg interface {
	// contains filtered or unexported methods
}

type ScriptAttrs

type ScriptAttrs struct {
	Global         GlobalAttrs
	Async          bool
	Blocking       string
	Crossorigin    string
	Defer          bool
	Fetchpriority  string
	Integrity      string
	Nomodule       bool
	Referrerpolicy string
	Src            string
	Type           string
}

func (*ScriptAttrs) WriteAttrs added in v0.13.0

func (a *ScriptAttrs) WriteAttrs(sb *strings.Builder)

type SearchArg added in v0.14.0

type SearchArg interface {
	// contains filtered or unexported methods
}

type SearchAttrs added in v0.14.0

type SearchAttrs struct {
	Global GlobalAttrs
}

func (*SearchAttrs) WriteAttrs added in v0.14.0

func (a *SearchAttrs) WriteAttrs(sb *strings.Builder)

type SectionArg

type SectionArg interface {
	// contains filtered or unexported methods
}

type SectionAttrs

type SectionAttrs struct {
	Global GlobalAttrs
}

func (*SectionAttrs) WriteAttrs added in v0.14.0

func (a *SectionAttrs) WriteAttrs(sb *strings.Builder)

type SeedOpt added in v0.13.0

type SeedOpt struct {
	// contains filtered or unexported fields
}

func ASeed added in v0.13.0

func ASeed(v string) SeedOpt

type SelectArg

type SelectArg interface {
	// contains filtered or unexported methods
}

type SelectAttrs

type SelectAttrs struct {
	Global       GlobalAttrs
	Autocomplete string
	Multiple     bool
	Required     bool
	Size         string
}

func (*SelectAttrs) WriteAttrs added in v0.13.0

func (a *SelectAttrs) WriteAttrs(sb *strings.Builder)

type SelectedOpt

type SelectedOpt struct{}

func ASelected added in v0.13.0

func ASelected() SelectedOpt

type SelectedcontentArg added in v0.14.0

type SelectedcontentArg interface {
	// contains filtered or unexported methods
}

type SelectedcontentAttrs added in v0.14.0

type SelectedcontentAttrs struct {
	Global GlobalAttrs
}

func (*SelectedcontentAttrs) WriteAttrs added in v0.14.0

func (a *SelectedcontentAttrs) WriteAttrs(sb *strings.Builder)

type ShadowrootclonableOpt added in v0.13.0

type ShadowrootclonableOpt struct{}

func AShadowrootclonable added in v0.13.0

func AShadowrootclonable() ShadowrootclonableOpt

type ShadowrootcustomelementregistryOpt added in v0.13.0

type ShadowrootcustomelementregistryOpt struct{}

func AShadowrootcustomelementregistry added in v0.13.0

func AShadowrootcustomelementregistry() ShadowrootcustomelementregistryOpt

type ShadowrootdelegatesfocusOpt added in v0.13.0

type ShadowrootdelegatesfocusOpt struct{}

func AShadowrootdelegatesfocus added in v0.13.0

func AShadowrootdelegatesfocus() ShadowrootdelegatesfocusOpt

type ShadowrootmodeOpt added in v0.13.0

type ShadowrootmodeOpt struct {
	// contains filtered or unexported fields
}

func AShadowrootmode added in v0.13.0

func AShadowrootmode(v string) ShadowrootmodeOpt

type ShadowrootserializableOpt added in v0.13.0

type ShadowrootserializableOpt struct{}

func AShadowrootserializable added in v0.13.0

func AShadowrootserializable() ShadowrootserializableOpt

type ShapeOpt added in v0.13.0

type ShapeOpt struct {
	// contains filtered or unexported fields
}

func AShape added in v0.13.0

func AShape(v string) ShapeOpt

type ShapeRenderingOpt added in v0.14.0

type ShapeRenderingOpt struct {
	// contains filtered or unexported fields
}

func AShapeRendering added in v0.14.0

func AShapeRendering(v string) ShapeRenderingOpt

type SideOpt added in v0.14.0

type SideOpt struct {
	// contains filtered or unexported fields
}

func ASide added in v0.14.0

func ASide(v string) SideOpt

type SizeOpt

type SizeOpt struct {
	// contains filtered or unexported fields
}

func ASize added in v0.13.0

func ASize(v string) SizeOpt

type SizesOpt

type SizesOpt struct {
	// contains filtered or unexported fields
}

func ASizes added in v0.13.0

func ASizes(v string) SizesOpt

type SlopeOpt added in v0.13.0

type SlopeOpt struct {
	// contains filtered or unexported fields
}

func ASlope added in v0.13.0

func ASlope(v string) SlopeOpt

type SlotArg added in v0.13.0

type SlotArg interface {
	// contains filtered or unexported methods
}

type SlotAttrs added in v0.13.0

type SlotAttrs struct {
	Global GlobalAttrs
	Name   string
}

func (*SlotAttrs) WriteAttrs added in v0.13.0

func (a *SlotAttrs) WriteAttrs(sb *strings.Builder)

type SmallArg

type SmallArg interface {
	// contains filtered or unexported methods
}

type SmallAttrs

type SmallAttrs struct {
	Global GlobalAttrs
}

func (*SmallAttrs) WriteAttrs added in v0.14.0

func (a *SmallAttrs) WriteAttrs(sb *strings.Builder)

type SnapshotTimeOpt added in v0.14.0

type SnapshotTimeOpt struct {
	// contains filtered or unexported fields
}

func ASnapshotTime added in v0.14.0

func ASnapshotTime(v string) SnapshotTimeOpt

type SourceArg

type SourceArg interface {
	// contains filtered or unexported methods
}

type SourceAttrs

type SourceAttrs struct {
	Global GlobalAttrs
	Height string
	Media  string
	Sizes  string
	Src    string
	Srcset string
	Type   string
	Width  string
}

func (*SourceAttrs) WriteAttrs added in v0.13.0

func (a *SourceAttrs) WriteAttrs(sb *strings.Builder)

type SpacingOpt added in v0.13.0

type SpacingOpt struct {
	// contains filtered or unexported fields
}

func ASpacing added in v0.13.0

func ASpacing(v string) SpacingOpt

type SpanArg

type SpanArg interface {
	// contains filtered or unexported methods
}

type SpanAttrs

type SpanAttrs struct {
	Global GlobalAttrs
}

func (*SpanAttrs) WriteAttrs added in v0.14.0

func (a *SpanAttrs) WriteAttrs(sb *strings.Builder)

type SpanOpt

type SpanOpt struct {
	// contains filtered or unexported fields
}

func ASpan added in v0.13.0

func ASpan(v string) SpanOpt

type SpecularConstantOpt added in v0.13.0

type SpecularConstantOpt struct {
	// contains filtered or unexported fields
}

func ASpecularConstant added in v0.13.0

func ASpecularConstant(v string) SpecularConstantOpt

type SpecularExponentOpt added in v0.13.0

type SpecularExponentOpt struct {
	// contains filtered or unexported fields
}

func ASpecularExponent added in v0.13.0

func ASpecularExponent(v string) SpecularExponentOpt

type SpreadMethodOpt added in v0.13.0

type SpreadMethodOpt struct {
	// contains filtered or unexported fields
}

func ASpreadMethod added in v0.13.0

func ASpreadMethod(v string) SpreadMethodOpt

type SrcOpt

type SrcOpt struct {
	// contains filtered or unexported fields
}

func ASrc added in v0.13.0

func ASrc(v string) SrcOpt

type SrcdocOpt

type SrcdocOpt struct {
	// contains filtered or unexported fields
}

func ASrcdoc added in v0.13.0

func ASrcdoc(v string) SrcdocOpt

type SrclangOpt

type SrclangOpt struct {
	// contains filtered or unexported fields
}

func ASrclang added in v0.13.0

func ASrclang(v string) SrclangOpt

type SrcsetOpt

type SrcsetOpt struct {
	// contains filtered or unexported fields
}

func ASrcset added in v0.13.0

func ASrcset(v string) SrcsetOpt

type StartOffsetOpt added in v0.13.0

type StartOffsetOpt struct {
	// contains filtered or unexported fields
}

func AStartOffset added in v0.13.0

func AStartOffset(v string) StartOffsetOpt

type StartOpt

type StartOpt struct {
	// contains filtered or unexported fields
}

func AStart added in v0.13.0

func AStart(v string) StartOpt

type StdDeviationOpt added in v0.13.0

type StdDeviationOpt struct {
	// contains filtered or unexported fields
}

func AStdDeviation added in v0.13.0

func AStdDeviation(v string) StdDeviationOpt

type StemhOpt added in v0.14.0

type StemhOpt struct {
	// contains filtered or unexported fields
}

func AStemh added in v0.14.0

func AStemh(v string) StemhOpt

type StemvOpt added in v0.14.0

type StemvOpt struct {
	// contains filtered or unexported fields
}

func AStemv added in v0.14.0

func AStemv(v string) StemvOpt

type StepOpt

type StepOpt struct {
	// contains filtered or unexported fields
}

func AStep added in v0.13.0

func AStep(v string) StepOpt

type StitchTilesOpt added in v0.13.0

type StitchTilesOpt struct {
	// contains filtered or unexported fields
}

func AStitchTiles added in v0.13.0

func AStitchTiles(v string) StitchTilesOpt

type StopColorOpt added in v0.13.0

type StopColorOpt struct {
	// contains filtered or unexported fields
}

func AStopColor added in v0.13.0

func AStopColor(v string) StopColorOpt

type StopOpacityOpt added in v0.14.0

type StopOpacityOpt struct {
	// contains filtered or unexported fields
}

func AStopOpacity added in v0.14.0

func AStopOpacity(v string) StopOpacityOpt

type StrikethroughPositionOpt added in v0.14.0

type StrikethroughPositionOpt struct {
	// contains filtered or unexported fields
}

func AStrikethroughPosition added in v0.14.0

func AStrikethroughPosition(v string) StrikethroughPositionOpt

type StrikethroughThicknessOpt added in v0.14.0

type StrikethroughThicknessOpt struct {
	// contains filtered or unexported fields
}

func AStrikethroughThickness added in v0.14.0

func AStrikethroughThickness(v string) StrikethroughThicknessOpt

type StringOpt added in v0.14.0

type StringOpt struct {
	// contains filtered or unexported fields
}

func AString added in v0.14.0

func AString(v string) StringOpt

type StrokeDasharrayOpt

type StrokeDasharrayOpt struct {
	// contains filtered or unexported fields
}

func AStrokeDasharray added in v0.14.0

func AStrokeDasharray(v string) StrokeDasharrayOpt

type StrokeDashoffsetOpt

type StrokeDashoffsetOpt struct {
	// contains filtered or unexported fields
}

func AStrokeDashoffset added in v0.14.0

func AStrokeDashoffset(v string) StrokeDashoffsetOpt

type StrokeLinecapOpt

type StrokeLinecapOpt struct {
	// contains filtered or unexported fields
}

func AStrokeLinecap added in v0.14.0

func AStrokeLinecap(v string) StrokeLinecapOpt

type StrokeLinejoinOpt

type StrokeLinejoinOpt struct {
	// contains filtered or unexported fields
}

func AStrokeLinejoin added in v0.14.0

func AStrokeLinejoin(v string) StrokeLinejoinOpt

type StrokeMiterlimitOpt

type StrokeMiterlimitOpt struct {
	// contains filtered or unexported fields
}

func AStrokeMiterlimit added in v0.14.0

func AStrokeMiterlimit(v string) StrokeMiterlimitOpt

type StrokeOpacityOpt

type StrokeOpacityOpt struct {
	// contains filtered or unexported fields
}

func AStrokeOpacity added in v0.14.0

func AStrokeOpacity(v string) StrokeOpacityOpt

type StrokeOpt

type StrokeOpt struct {
	// contains filtered or unexported fields
}

func AStroke added in v0.14.0

func AStroke(v string) StrokeOpt

type StrokeWidthOpt

type StrokeWidthOpt struct {
	// contains filtered or unexported fields
}

func AStrokeWidth added in v0.14.0

func AStrokeWidth(v string) StrokeWidthOpt

type StrongArg

type StrongArg interface {
	// contains filtered or unexported methods
}

type StrongAttrs

type StrongAttrs struct {
	Global GlobalAttrs
}

func (*StrongAttrs) WriteAttrs added in v0.14.0

func (a *StrongAttrs) WriteAttrs(sb *strings.Builder)

type StyleArg added in v0.13.0

type StyleArg interface {
	// contains filtered or unexported methods
}

type StyleAttrs added in v0.13.0

type StyleAttrs struct {
	Global   GlobalAttrs
	Blocking string
	Media    string
}

func (*StyleAttrs) WriteAttrs added in v0.13.0

func (a *StyleAttrs) WriteAttrs(sb *strings.Builder)

type SubArg

type SubArg interface {
	// contains filtered or unexported methods
}

type SubAttrs

type SubAttrs struct {
	Global GlobalAttrs
}

func (*SubAttrs) WriteAttrs added in v0.14.0

func (a *SubAttrs) WriteAttrs(sb *strings.Builder)

type SummaryArg

type SummaryArg interface {
	// contains filtered or unexported methods
}

type SummaryAttrs

type SummaryAttrs struct {
	Global GlobalAttrs
}

func (*SummaryAttrs) WriteAttrs added in v0.14.0

func (a *SummaryAttrs) WriteAttrs(sb *strings.Builder)

type SupArg

type SupArg interface {
	// contains filtered or unexported methods
}

type SupAttrs

type SupAttrs struct {
	Global GlobalAttrs
}

func (*SupAttrs) WriteAttrs added in v0.14.0

func (a *SupAttrs) WriteAttrs(sb *strings.Builder)

type SurfaceScaleOpt added in v0.13.0

type SurfaceScaleOpt struct {
	// contains filtered or unexported fields
}

func ASurfaceScale added in v0.13.0

func ASurfaceScale(v string) SurfaceScaleOpt

type SvgAltGlyphArg added in v0.14.0

type SvgAltGlyphArg interface {
	// contains filtered or unexported methods
}

SvgAltGlyphArg interface for altGlyph element arguments

type SvgAltGlyphAttrs added in v0.14.0

type SvgAltGlyphAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	Dx                         string
	Dy                         string
	EnableBackground           string
	ExternalResourcesRequired  string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	Format                     string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	GlyphRef                   string
	ImageRendering             string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	Opacity                    string
	Overflow                   string
	PointerEvents              string
	RequiredExtensions         string
	RequiredFeatures           string
	Rotate                     string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	SystemLanguage             string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	UnicodeBidi                string
	Visibility                 string
	WordSpacing                string
	WritingMode                string
	X                          string
	Y                          string
}

SvgAltGlyphAttrs holds the attributes for the altGlyph SVG element

func (*SvgAltGlyphAttrs) WriteAttrs added in v0.14.0

func (a *SvgAltGlyphAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgAltGlyphDefArg added in v0.14.0

type SvgAltGlyphDefArg interface {
	// contains filtered or unexported methods
}

SvgAltGlyphDefArg interface for altGlyphDef element arguments

type SvgAltGlyphDefAttrs added in v0.14.0

type SvgAltGlyphDefAttrs struct {
	GlobalAttrs
}

SvgAltGlyphDefAttrs holds the attributes for the altGlyphDef SVG element

func (*SvgAltGlyphDefAttrs) WriteAttrs added in v0.14.0

func (a *SvgAltGlyphDefAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgAltGlyphItemArg added in v0.14.0

type SvgAltGlyphItemArg interface {
	// contains filtered or unexported methods
}

SvgAltGlyphItemArg interface for altGlyphItem element arguments

type SvgAltGlyphItemAttrs added in v0.14.0

type SvgAltGlyphItemAttrs struct {
	GlobalAttrs
}

SvgAltGlyphItemAttrs holds the attributes for the altGlyphItem SVG element

func (*SvgAltGlyphItemAttrs) WriteAttrs added in v0.14.0

func (a *SvgAltGlyphItemAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgAnimateArg added in v0.13.0

type SvgAnimateArg interface {
	// contains filtered or unexported methods
}

SvgAnimateArg interface for animate element arguments

type SvgAnimateAttrs added in v0.13.0

type SvgAnimateAttrs struct {
	GlobalAttrs
	Accumulate                 string
	Additive                   string
	AlignmentBaseline          string
	AttributeName              string
	AttributeType              string
	BaselineShift              string
	Begin                      string
	By                         string
	CalcMode                   string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	Dur                        string
	EnableBackground           string
	End                        string
	ExternalResourcesRequired  string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	From                       string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	Href                       string
	ImageRendering             string
	Kerning                    string
	KeySplines                 string
	KeyTimes                   string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	Max                        string
	Min                        string
	Opacity                    string
	Overflow                   string
	PointerEvents              string
	RepeatCount                string
	RepeatDur                  string
	RequiredExtensions         string
	RequiredFeatures           string
	RequiredFonts              string
	RequiredFormats            string
	Restart                    string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	SystemLanguage             string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	To                         string
	UnicodeBidi                string
	Values                     string
	Visibility                 string
	WordSpacing                string
	WritingMode                string
}

SvgAnimateAttrs holds the attributes for the animate SVG element

func (*SvgAnimateAttrs) WriteAttrs added in v0.13.0

func (a *SvgAnimateAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgAnimateColorArg added in v0.14.0

type SvgAnimateColorArg interface {
	// contains filtered or unexported methods
}

SvgAnimateColorArg interface for animateColor element arguments

type SvgAnimateColorAttrs added in v0.14.0

type SvgAnimateColorAttrs struct {
	GlobalAttrs
	Accumulate                 string
	Additive                   string
	AlignmentBaseline          string
	AttributeName              string
	AttributeType              string
	BaselineShift              string
	Begin                      string
	By                         string
	CalcMode                   string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	Dur                        string
	EnableBackground           string
	End                        string
	ExternalResourcesRequired  string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	From                       string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	ImageRendering             string
	Kerning                    string
	KeySplines                 string
	KeyTimes                   string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	Max                        string
	Min                        string
	Opacity                    string
	Overflow                   string
	PointerEvents              string
	RepeatCount                string
	RepeatDur                  string
	RequiredExtensions         string
	RequiredFeatures           string
	RequiredFonts              string
	RequiredFormats            string
	Restart                    string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	SystemLanguage             string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	To                         string
	UnicodeBidi                string
	Values                     string
	Visibility                 string
	WordSpacing                string
	WritingMode                string
}

SvgAnimateColorAttrs holds the attributes for the animateColor SVG element

func (*SvgAnimateColorAttrs) WriteAttrs added in v0.14.0

func (a *SvgAnimateColorAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgAnimateMotionArg added in v0.13.0

type SvgAnimateMotionArg interface {
	// contains filtered or unexported methods
}

SvgAnimateMotionArg interface for animateMotion element arguments

type SvgAnimateMotionAttrs added in v0.13.0

type SvgAnimateMotionAttrs struct {
	GlobalAttrs
	Accumulate                string
	Additive                  string
	Begin                     string
	By                        string
	CalcMode                  string
	Dur                       string
	End                       string
	ExternalResourcesRequired string
	Fill                      string
	From                      string
	Href                      string
	KeyPoints                 string
	KeySplines                string
	KeyTimes                  string
	Max                       string
	Min                       string
	Origin                    string
	Path                      string
	RepeatCount               string
	RepeatDur                 string
	RequiredExtensions        string
	RequiredFeatures          string
	RequiredFonts             string
	RequiredFormats           string
	Restart                   string
	Rotate                    string
	SystemLanguage            string
	To                        string
	Values                    string
}

SvgAnimateMotionAttrs holds the attributes for the animateMotion SVG element

func (*SvgAnimateMotionAttrs) WriteAttrs added in v0.13.0

func (a *SvgAnimateMotionAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgAnimateTransformArg added in v0.13.0

type SvgAnimateTransformArg interface {
	// contains filtered or unexported methods
}

SvgAnimateTransformArg interface for animateTransform element arguments

type SvgAnimateTransformAttrs added in v0.13.0

type SvgAnimateTransformAttrs struct {
	GlobalAttrs
	Accumulate                string
	Additive                  string
	AttributeName             string
	AttributeType             string
	Begin                     string
	By                        string
	CalcMode                  string
	Dur                       string
	End                       string
	ExternalResourcesRequired string
	Fill                      string
	From                      string
	Href                      string
	KeySplines                string
	KeyTimes                  string
	Max                       string
	Min                       string
	RepeatCount               string
	RepeatDur                 string
	RequiredExtensions        string
	RequiredFeatures          string
	RequiredFonts             string
	RequiredFormats           string
	Restart                   string
	SystemLanguage            string
	To                        string
	Type                      string
	Values                    string
}

SvgAnimateTransformAttrs holds the attributes for the animateTransform SVG element

func (*SvgAnimateTransformAttrs) WriteAttrs added in v0.13.0

func (a *SvgAnimateTransformAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgAnimationArg added in v0.14.0

type SvgAnimationArg interface {
	// contains filtered or unexported methods
}

SvgAnimationArg interface for animation element arguments

type SvgAnimationAttrs added in v0.14.0

type SvgAnimationAttrs struct {
	GlobalAttrs
	Begin                     string
	Dur                       string
	End                       string
	ExternalResourcesRequired string
	Fill                      string
	FocusHighlight            string
	Focusable                 string
	Height                    string
	InitialVisibility         string
	Max                       string
	Min                       string
	NavDown                   string
	NavDownLeft               string
	NavDownRight              string
	NavLeft                   string
	NavNext                   string
	NavPrev                   string
	NavRight                  string
	NavUp                     string
	NavUpLeft                 string
	NavUpRight                string
	PreserveAspectRatio       string
	RepeatCount               string
	RepeatDur                 string
	RequiredExtensions        string
	RequiredFeatures          string
	RequiredFonts             string
	RequiredFormats           string
	Restart                   string
	SyncBehavior              string
	SyncMaster                string
	SyncTolerance             string
	SystemLanguage            string
	Transform                 string
	Width                     string
	X                         string
	Y                         string
}

SvgAnimationAttrs holds the attributes for the animation SVG element

func (*SvgAnimationAttrs) WriteAttrs added in v0.14.0

func (a *SvgAnimationAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgArg

type SvgArg interface {
	// contains filtered or unexported methods
}

SvgArg interface for svg element arguments

type SvgAttrs

type SvgAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaseProfile                string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	ContentScriptType          string
	ContentStyleType           string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	EnableBackground           string
	ExternalResourcesRequired  string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FocusHighlight             string
	Focusable                  string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	Height                     string
	ImageRendering             string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	NavDown                    string
	NavDownLeft                string
	NavDownRight               string
	NavLeft                    string
	NavNext                    string
	NavPrev                    string
	NavRight                   string
	NavUp                      string
	NavUpLeft                  string
	NavUpRight                 string
	Opacity                    string
	Overflow                   string
	PlaybackOrder              string
	PointerEvents              string
	PreserveAspectRatio        string
	RequiredExtensions         string
	RequiredFeatures           string
	ShapeRendering             string
	SnapshotTime               string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	SyncBehaviorDefault        string
	SyncToleranceDefault       string
	SystemLanguage             string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	TimelineBegin              string
	Transform                  string
	UnicodeBidi                string
	Version                    string
	ViewBox                    string
	Visibility                 string
	Width                      string
	WordSpacing                string
	WritingMode                string
	X                          string
	Y                          string
	ZoomAndPan                 string
}

SvgAttrs holds the attributes for the svg SVG element

func (*SvgAttrs) WriteAttrs added in v0.13.0

func (a *SvgAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgCircleArg added in v0.13.0

type SvgCircleArg interface {
	// contains filtered or unexported methods
}

SvgCircleArg interface for circle element arguments

type SvgCircleAttrs added in v0.13.0

type SvgCircleAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Cx                         string
	Cy                         string
	Direction                  string
	Display                    string
	DominantBaseline           string
	EnableBackground           string
	ExternalResourcesRequired  string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FocusHighlight             string
	Focusable                  string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	ImageRendering             string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	NavDown                    string
	NavDownLeft                string
	NavDownRight               string
	NavLeft                    string
	NavNext                    string
	NavPrev                    string
	NavRight                   string
	NavUp                      string
	NavUpLeft                  string
	NavUpRight                 string
	Opacity                    string
	Overflow                   string
	PathLength                 string
	PointerEvents              string
	R                          string
	RequiredExtensions         string
	RequiredFeatures           string
	RequiredFonts              string
	RequiredFormats            string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	SystemLanguage             string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	Transform                  string
	UnicodeBidi                string
	Visibility                 string
	WordSpacing                string
	WritingMode                string
}

SvgCircleAttrs holds the attributes for the circle SVG element

func (*SvgCircleAttrs) WriteAttrs added in v0.13.0

func (a *SvgCircleAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgClipPathArg added in v0.13.0

type SvgClipPathArg interface {
	// contains filtered or unexported methods
}

SvgClipPathArg interface for clipPath element arguments

type SvgClipPathAttrs added in v0.13.0

type SvgClipPathAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	ClipPathUnits              string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	EnableBackground           string
	ExternalResourcesRequired  string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	ImageRendering             string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	Opacity                    string
	Overflow                   string
	PointerEvents              string
	RequiredExtensions         string
	RequiredFeatures           string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	SystemLanguage             string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	Transform                  string
	UnicodeBidi                string
	Visibility                 string
	WordSpacing                string
	WritingMode                string
}

SvgClipPathAttrs holds the attributes for the clipPath SVG element

func (*SvgClipPathAttrs) WriteAttrs added in v0.13.0

func (a *SvgClipPathAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgColorProfileArg added in v0.14.0

type SvgColorProfileArg interface {
	// contains filtered or unexported methods
}

SvgColorProfileArg interface for color-profile element arguments

type SvgColorProfileAttrs added in v0.14.0

type SvgColorProfileAttrs struct {
	GlobalAttrs
	Local           string
	Name            string
	RenderingIntent string
}

SvgColorProfileAttrs holds the attributes for the color-profile SVG element

func (*SvgColorProfileAttrs) WriteAttrs added in v0.14.0

func (a *SvgColorProfileAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgCursorArg added in v0.14.0

type SvgCursorArg interface {
	// contains filtered or unexported methods
}

SvgCursorArg interface for cursor element arguments

type SvgCursorAttrs added in v0.14.0

type SvgCursorAttrs struct {
	GlobalAttrs
	ExternalResourcesRequired string
	RequiredExtensions        string
	RequiredFeatures          string
	SystemLanguage            string
	X                         string
	Y                         string
}

SvgCursorAttrs holds the attributes for the cursor SVG element

func (*SvgCursorAttrs) WriteAttrs added in v0.14.0

func (a *SvgCursorAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgDefsArg added in v0.13.0

type SvgDefsArg interface {
	// contains filtered or unexported methods
}

SvgDefsArg interface for defs element arguments

type SvgDefsAttrs added in v0.13.0

type SvgDefsAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	EnableBackground           string
	ExternalResourcesRequired  string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	ImageRendering             string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	Opacity                    string
	Overflow                   string
	PointerEvents              string
	RequiredExtensions         string
	RequiredFeatures           string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	SystemLanguage             string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	Transform                  string
	UnicodeBidi                string
	Visibility                 string
	WordSpacing                string
	WritingMode                string
}

SvgDefsAttrs holds the attributes for the defs SVG element

func (*SvgDefsAttrs) WriteAttrs added in v0.13.0

func (a *SvgDefsAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgDescArg added in v0.13.0

type SvgDescArg interface {
	// contains filtered or unexported methods
}

SvgDescArg interface for desc element arguments

type SvgDescAttrs added in v0.13.0

type SvgDescAttrs struct {
	GlobalAttrs
	RequiredExtensions string
	RequiredFeatures   string
	RequiredFonts      string
	RequiredFormats    string
	SystemLanguage     string
}

SvgDescAttrs holds the attributes for the desc SVG element

func (*SvgDescAttrs) WriteAttrs added in v0.13.0

func (a *SvgDescAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgDiscardArg added in v0.14.0

type SvgDiscardArg interface {
	// contains filtered or unexported methods
}

SvgDiscardArg interface for discard element arguments

type SvgDiscardAttrs added in v0.14.0

type SvgDiscardAttrs struct {
	GlobalAttrs
	Begin              string
	Href               string
	RequiredExtensions string
	RequiredFeatures   string
	RequiredFonts      string
	RequiredFormats    string
	SystemLanguage     string
}

SvgDiscardAttrs holds the attributes for the discard SVG element

func (*SvgDiscardAttrs) WriteAttrs added in v0.14.0

func (a *SvgDiscardAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgEllipseArg added in v0.13.0

type SvgEllipseArg interface {
	// contains filtered or unexported methods
}

SvgEllipseArg interface for ellipse element arguments

type SvgEllipseAttrs added in v0.13.0

type SvgEllipseAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Cx                         string
	Cy                         string
	Direction                  string
	Display                    string
	DominantBaseline           string
	EnableBackground           string
	ExternalResourcesRequired  string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FocusHighlight             string
	Focusable                  string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	ImageRendering             string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	NavDown                    string
	NavDownLeft                string
	NavDownRight               string
	NavLeft                    string
	NavNext                    string
	NavPrev                    string
	NavRight                   string
	NavUp                      string
	NavUpLeft                  string
	NavUpRight                 string
	Opacity                    string
	Overflow                   string
	PathLength                 string
	PointerEvents              string
	RequiredExtensions         string
	RequiredFeatures           string
	RequiredFonts              string
	RequiredFormats            string
	Rx                         string
	Ry                         string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	SystemLanguage             string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	Transform                  string
	UnicodeBidi                string
	Visibility                 string
	WordSpacing                string
	WritingMode                string
}

SvgEllipseAttrs holds the attributes for the ellipse SVG element

func (*SvgEllipseAttrs) WriteAttrs added in v0.13.0

func (a *SvgEllipseAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgFeBlendArg added in v0.13.0

type SvgFeBlendArg interface {
	// contains filtered or unexported methods
}

SvgFeBlendArg interface for feBlend element arguments

type SvgFeBlendAttrs added in v0.13.0

type SvgFeBlendAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	EnableBackground           string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	Height                     string
	ImageRendering             string
	In                         string
	In2                        string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	Mode                       string
	Opacity                    string
	Overflow                   string
	PointerEvents              string
	Result                     string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	UnicodeBidi                string
	Visibility                 string
	Width                      string
	WordSpacing                string
	WritingMode                string
	X                          string
	Y                          string
}

SvgFeBlendAttrs holds the attributes for the feBlend SVG element

func (*SvgFeBlendAttrs) WriteAttrs added in v0.13.0

func (a *SvgFeBlendAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgFeColorMatrixArg added in v0.13.0

type SvgFeColorMatrixArg interface {
	// contains filtered or unexported methods
}

SvgFeColorMatrixArg interface for feColorMatrix element arguments

type SvgFeColorMatrixAttrs added in v0.13.0

type SvgFeColorMatrixAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	EnableBackground           string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	Height                     string
	ImageRendering             string
	In                         string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	Opacity                    string
	Overflow                   string
	PointerEvents              string
	Result                     string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	Type                       string
	UnicodeBidi                string
	Values                     string
	Visibility                 string
	Width                      string
	WordSpacing                string
	WritingMode                string
	X                          string
	Y                          string
}

SvgFeColorMatrixAttrs holds the attributes for the feColorMatrix SVG element

func (*SvgFeColorMatrixAttrs) WriteAttrs added in v0.13.0

func (a *SvgFeColorMatrixAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgFeComponentTransferArg added in v0.13.0

type SvgFeComponentTransferArg interface {
	// contains filtered or unexported methods
}

SvgFeComponentTransferArg interface for feComponentTransfer element arguments

type SvgFeComponentTransferAttrs added in v0.13.0

type SvgFeComponentTransferAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	EnableBackground           string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	Height                     string
	ImageRendering             string
	In                         string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	Opacity                    string
	Overflow                   string
	PointerEvents              string
	Result                     string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	UnicodeBidi                string
	Visibility                 string
	Width                      string
	WordSpacing                string
	WritingMode                string
	X                          string
	Y                          string
}

SvgFeComponentTransferAttrs holds the attributes for the feComponentTransfer SVG element

func (*SvgFeComponentTransferAttrs) WriteAttrs added in v0.13.0

func (a *SvgFeComponentTransferAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgFeCompositeArg added in v0.13.0

type SvgFeCompositeArg interface {
	// contains filtered or unexported methods
}

SvgFeCompositeArg interface for feComposite element arguments

type SvgFeCompositeAttrs added in v0.13.0

type SvgFeCompositeAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	EnableBackground           string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	Height                     string
	ImageRendering             string
	In                         string
	In2                        string
	K1                         string
	K2                         string
	K3                         string
	K4                         string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	Opacity                    string
	Operator                   string
	Overflow                   string
	PointerEvents              string
	Result                     string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	UnicodeBidi                string
	Visibility                 string
	Width                      string
	WordSpacing                string
	WritingMode                string
	X                          string
	Y                          string
}

SvgFeCompositeAttrs holds the attributes for the feComposite SVG element

func (*SvgFeCompositeAttrs) WriteAttrs added in v0.13.0

func (a *SvgFeCompositeAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgFeConvolveMatrixArg added in v0.13.0

type SvgFeConvolveMatrixArg interface {
	// contains filtered or unexported methods
}

SvgFeConvolveMatrixArg interface for feConvolveMatrix element arguments

type SvgFeConvolveMatrixAttrs added in v0.13.0

type SvgFeConvolveMatrixAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Bias                       string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Direction                  string
	Display                    string
	Divisor                    string
	DominantBaseline           string
	EdgeMode                   string
	EnableBackground           string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	Height                     string
	ImageRendering             string
	In                         string
	KernelMatrix               string
	KernelUnitLength           string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	Opacity                    string
	Order                      string
	Overflow                   string
	PointerEvents              string
	PreserveAlpha              string
	Result                     string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	TargetX                    string
	TargetY                    string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	UnicodeBidi                string
	Visibility                 string
	Width                      string
	WordSpacing                string
	WritingMode                string
	X                          string
	Y                          string
}

SvgFeConvolveMatrixAttrs holds the attributes for the feConvolveMatrix SVG element

func (*SvgFeConvolveMatrixAttrs) WriteAttrs added in v0.13.0

func (a *SvgFeConvolveMatrixAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgFeDiffuseLightingArg added in v0.13.0

type SvgFeDiffuseLightingArg interface {
	// contains filtered or unexported methods
}

SvgFeDiffuseLightingArg interface for feDiffuseLighting element arguments

type SvgFeDiffuseLightingAttrs added in v0.13.0

type SvgFeDiffuseLightingAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	DiffuseConstant            string
	Direction                  string
	Display                    string
	DominantBaseline           string
	EnableBackground           string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	Height                     string
	ImageRendering             string
	In                         string
	KernelUnitLength           string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	Opacity                    string
	Overflow                   string
	PointerEvents              string
	Result                     string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	SurfaceScale               string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	UnicodeBidi                string
	Visibility                 string
	Width                      string
	WordSpacing                string
	WritingMode                string
	X                          string
	Y                          string
}

SvgFeDiffuseLightingAttrs holds the attributes for the feDiffuseLighting SVG element

func (*SvgFeDiffuseLightingAttrs) WriteAttrs added in v0.13.0

func (a *SvgFeDiffuseLightingAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgFeDisplacementMapArg added in v0.13.0

type SvgFeDisplacementMapArg interface {
	// contains filtered or unexported methods
}

SvgFeDisplacementMapArg interface for feDisplacementMap element arguments

type SvgFeDisplacementMapAttrs added in v0.13.0

type SvgFeDisplacementMapAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	EnableBackground           string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	Height                     string
	ImageRendering             string
	In                         string
	In2                        string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	Opacity                    string
	Overflow                   string
	PointerEvents              string
	Result                     string
	Scale                      string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	UnicodeBidi                string
	Visibility                 string
	Width                      string
	WordSpacing                string
	WritingMode                string
	X                          string
	XChannelSelector           string
	Y                          string
	YChannelSelector           string
}

SvgFeDisplacementMapAttrs holds the attributes for the feDisplacementMap SVG element

func (*SvgFeDisplacementMapAttrs) WriteAttrs added in v0.13.0

func (a *SvgFeDisplacementMapAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgFeDistantLightArg added in v0.13.0

type SvgFeDistantLightArg interface {
	// contains filtered or unexported methods
}

SvgFeDistantLightArg interface for feDistantLight element arguments

type SvgFeDistantLightAttrs added in v0.13.0

type SvgFeDistantLightAttrs struct {
	GlobalAttrs
	Azimuth   string
	Elevation string
}

SvgFeDistantLightAttrs holds the attributes for the feDistantLight SVG element

func (*SvgFeDistantLightAttrs) WriteAttrs added in v0.13.0

func (a *SvgFeDistantLightAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgFeDropShadowArg added in v0.13.0

type SvgFeDropShadowArg interface {
	// contains filtered or unexported methods
}

SvgFeDropShadowArg interface for feDropShadow element arguments

type SvgFeDropShadowAttrs added in v0.13.0

type SvgFeDropShadowAttrs struct {
	GlobalAttrs
	Dx           string
	Dy           string
	Height       string
	In           string
	Result       string
	StdDeviation string
	Width        string
	X            string
	Y            string
}

SvgFeDropShadowAttrs holds the attributes for the feDropShadow SVG element

func (*SvgFeDropShadowAttrs) WriteAttrs added in v0.13.0

func (a *SvgFeDropShadowAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgFeFloodArg added in v0.13.0

type SvgFeFloodArg interface {
	// contains filtered or unexported methods
}

SvgFeFloodArg interface for feFlood element arguments

type SvgFeFloodAttrs added in v0.13.0

type SvgFeFloodAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	EnableBackground           string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	Height                     string
	ImageRendering             string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	Opacity                    string
	Overflow                   string
	PointerEvents              string
	Result                     string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	UnicodeBidi                string
	Visibility                 string
	Width                      string
	WordSpacing                string
	WritingMode                string
	X                          string
	Y                          string
}

SvgFeFloodAttrs holds the attributes for the feFlood SVG element

func (*SvgFeFloodAttrs) WriteAttrs added in v0.13.0

func (a *SvgFeFloodAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgFeFuncAArg added in v0.13.0

type SvgFeFuncAArg interface {
	// contains filtered or unexported methods
}

SvgFeFuncAArg interface for feFuncA element arguments

type SvgFeFuncAAttrs added in v0.13.0

type SvgFeFuncAAttrs struct {
	GlobalAttrs
	Amplitude   string
	Exponent    string
	Intercept   string
	Offset      string
	Slope       string
	TableValues string
	Type        string
}

SvgFeFuncAAttrs holds the attributes for the feFuncA SVG element

func (*SvgFeFuncAAttrs) WriteAttrs added in v0.13.0

func (a *SvgFeFuncAAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgFeFuncBArg added in v0.13.0

type SvgFeFuncBArg interface {
	// contains filtered or unexported methods
}

SvgFeFuncBArg interface for feFuncB element arguments

type SvgFeFuncBAttrs added in v0.13.0

type SvgFeFuncBAttrs struct {
	GlobalAttrs
	Amplitude   string
	Exponent    string
	Intercept   string
	Offset      string
	Slope       string
	TableValues string
	Type        string
}

SvgFeFuncBAttrs holds the attributes for the feFuncB SVG element

func (*SvgFeFuncBAttrs) WriteAttrs added in v0.13.0

func (a *SvgFeFuncBAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgFeFuncGArg added in v0.13.0

type SvgFeFuncGArg interface {
	// contains filtered or unexported methods
}

SvgFeFuncGArg interface for feFuncG element arguments

type SvgFeFuncGAttrs added in v0.13.0

type SvgFeFuncGAttrs struct {
	GlobalAttrs
	Amplitude   string
	Exponent    string
	Intercept   string
	Offset      string
	Slope       string
	TableValues string
	Type        string
}

SvgFeFuncGAttrs holds the attributes for the feFuncG SVG element

func (*SvgFeFuncGAttrs) WriteAttrs added in v0.13.0

func (a *SvgFeFuncGAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgFeFuncRArg added in v0.13.0

type SvgFeFuncRArg interface {
	// contains filtered or unexported methods
}

SvgFeFuncRArg interface for feFuncR element arguments

type SvgFeFuncRAttrs added in v0.13.0

type SvgFeFuncRAttrs struct {
	GlobalAttrs
	Amplitude   string
	Exponent    string
	Intercept   string
	Offset      string
	Slope       string
	TableValues string
	Type        string
}

SvgFeFuncRAttrs holds the attributes for the feFuncR SVG element

func (*SvgFeFuncRAttrs) WriteAttrs added in v0.13.0

func (a *SvgFeFuncRAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgFeGaussianBlurArg added in v0.13.0

type SvgFeGaussianBlurArg interface {
	// contains filtered or unexported methods
}

SvgFeGaussianBlurArg interface for feGaussianBlur element arguments

type SvgFeGaussianBlurAttrs added in v0.13.0

type SvgFeGaussianBlurAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	EdgeMode                   string
	EnableBackground           string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	Height                     string
	ImageRendering             string
	In                         string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	Opacity                    string
	Overflow                   string
	PointerEvents              string
	Result                     string
	ShapeRendering             string
	StdDeviation               string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	UnicodeBidi                string
	Visibility                 string
	Width                      string
	WordSpacing                string
	WritingMode                string
	X                          string
	Y                          string
}

SvgFeGaussianBlurAttrs holds the attributes for the feGaussianBlur SVG element

func (*SvgFeGaussianBlurAttrs) WriteAttrs added in v0.13.0

func (a *SvgFeGaussianBlurAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgFeImageArg added in v0.13.0

type SvgFeImageArg interface {
	// contains filtered or unexported methods
}

SvgFeImageArg interface for feImage element arguments

type SvgFeImageAttrs added in v0.13.0

type SvgFeImageAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Crossorigin                string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	EnableBackground           string
	ExternalResourcesRequired  string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	Height                     string
	Href                       string
	ImageRendering             string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	Opacity                    string
	Overflow                   string
	PointerEvents              string
	PreserveAspectRatio        string
	Result                     string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	UnicodeBidi                string
	Visibility                 string
	Width                      string
	WordSpacing                string
	WritingMode                string
	X                          string
	Y                          string
}

SvgFeImageAttrs holds the attributes for the feImage SVG element

func (*SvgFeImageAttrs) WriteAttrs added in v0.13.0

func (a *SvgFeImageAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgFeMergeArg added in v0.13.0

type SvgFeMergeArg interface {
	// contains filtered or unexported methods
}

SvgFeMergeArg interface for feMerge element arguments

type SvgFeMergeAttrs added in v0.13.0

type SvgFeMergeAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	EnableBackground           string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	Height                     string
	ImageRendering             string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	Opacity                    string
	Overflow                   string
	PointerEvents              string
	Result                     string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	UnicodeBidi                string
	Visibility                 string
	Width                      string
	WordSpacing                string
	WritingMode                string
	X                          string
	Y                          string
}

SvgFeMergeAttrs holds the attributes for the feMerge SVG element

func (*SvgFeMergeAttrs) WriteAttrs added in v0.13.0

func (a *SvgFeMergeAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgFeMergeNodeArg added in v0.13.0

type SvgFeMergeNodeArg interface {
	// contains filtered or unexported methods
}

SvgFeMergeNodeArg interface for feMergeNode element arguments

type SvgFeMergeNodeAttrs added in v0.13.0

type SvgFeMergeNodeAttrs struct {
	GlobalAttrs
	In string
}

SvgFeMergeNodeAttrs holds the attributes for the feMergeNode SVG element

func (*SvgFeMergeNodeAttrs) WriteAttrs added in v0.13.0

func (a *SvgFeMergeNodeAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgFeMorphologyArg added in v0.13.0

type SvgFeMorphologyArg interface {
	// contains filtered or unexported methods
}

SvgFeMorphologyArg interface for feMorphology element arguments

type SvgFeMorphologyAttrs added in v0.13.0

type SvgFeMorphologyAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	EnableBackground           string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	Height                     string
	ImageRendering             string
	In                         string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	Opacity                    string
	Operator                   string
	Overflow                   string
	PointerEvents              string
	Radius                     string
	Result                     string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	UnicodeBidi                string
	Visibility                 string
	Width                      string
	WordSpacing                string
	WritingMode                string
	X                          string
	Y                          string
}

SvgFeMorphologyAttrs holds the attributes for the feMorphology SVG element

func (*SvgFeMorphologyAttrs) WriteAttrs added in v0.13.0

func (a *SvgFeMorphologyAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgFeOffsetArg added in v0.13.0

type SvgFeOffsetArg interface {
	// contains filtered or unexported methods
}

SvgFeOffsetArg interface for feOffset element arguments

type SvgFeOffsetAttrs added in v0.13.0

type SvgFeOffsetAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	Dx                         string
	Dy                         string
	EnableBackground           string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	Height                     string
	ImageRendering             string
	In                         string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	Opacity                    string
	Overflow                   string
	PointerEvents              string
	Result                     string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	UnicodeBidi                string
	Visibility                 string
	Width                      string
	WordSpacing                string
	WritingMode                string
	X                          string
	Y                          string
}

SvgFeOffsetAttrs holds the attributes for the feOffset SVG element

func (*SvgFeOffsetAttrs) WriteAttrs added in v0.13.0

func (a *SvgFeOffsetAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgFePointLightArg added in v0.13.0

type SvgFePointLightArg interface {
	// contains filtered or unexported methods
}

SvgFePointLightArg interface for fePointLight element arguments

type SvgFePointLightAttrs added in v0.13.0

type SvgFePointLightAttrs struct {
	GlobalAttrs
	X string
	Y string
	Z string
}

SvgFePointLightAttrs holds the attributes for the fePointLight SVG element

func (*SvgFePointLightAttrs) WriteAttrs added in v0.13.0

func (a *SvgFePointLightAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgFeSpecularLightingArg added in v0.13.0

type SvgFeSpecularLightingArg interface {
	// contains filtered or unexported methods
}

SvgFeSpecularLightingArg interface for feSpecularLighting element arguments

type SvgFeSpecularLightingAttrs added in v0.13.0

type SvgFeSpecularLightingAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	EnableBackground           string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	Height                     string
	ImageRendering             string
	In                         string
	KernelUnitLength           string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	Opacity                    string
	Overflow                   string
	PointerEvents              string
	Result                     string
	ShapeRendering             string
	SpecularConstant           string
	SpecularExponent           string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	SurfaceScale               string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	UnicodeBidi                string
	Visibility                 string
	Width                      string
	WordSpacing                string
	WritingMode                string
	X                          string
	Y                          string
}

SvgFeSpecularLightingAttrs holds the attributes for the feSpecularLighting SVG element

func (*SvgFeSpecularLightingAttrs) WriteAttrs added in v0.13.0

func (a *SvgFeSpecularLightingAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgFeSpotLightArg added in v0.13.0

type SvgFeSpotLightArg interface {
	// contains filtered or unexported methods
}

SvgFeSpotLightArg interface for feSpotLight element arguments

type SvgFeSpotLightAttrs added in v0.13.0

type SvgFeSpotLightAttrs struct {
	GlobalAttrs
	LimitingConeAngle string
	PointsAtX         string
	PointsAtY         string
	PointsAtZ         string
	SpecularExponent  string
	X                 string
	Y                 string
	Z                 string
}

SvgFeSpotLightAttrs holds the attributes for the feSpotLight SVG element

func (*SvgFeSpotLightAttrs) WriteAttrs added in v0.13.0

func (a *SvgFeSpotLightAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgFeTileArg added in v0.13.0

type SvgFeTileArg interface {
	// contains filtered or unexported methods
}

SvgFeTileArg interface for feTile element arguments

type SvgFeTileAttrs added in v0.13.0

type SvgFeTileAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	EnableBackground           string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	Height                     string
	ImageRendering             string
	In                         string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	Opacity                    string
	Overflow                   string
	PointerEvents              string
	Result                     string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	UnicodeBidi                string
	Visibility                 string
	Width                      string
	WordSpacing                string
	WritingMode                string
	X                          string
	Y                          string
}

SvgFeTileAttrs holds the attributes for the feTile SVG element

func (*SvgFeTileAttrs) WriteAttrs added in v0.13.0

func (a *SvgFeTileAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgFeTurbulenceArg added in v0.13.0

type SvgFeTurbulenceArg interface {
	// contains filtered or unexported methods
}

SvgFeTurbulenceArg interface for feTurbulence element arguments

type SvgFeTurbulenceAttrs added in v0.13.0

type SvgFeTurbulenceAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaseFrequency              string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	EnableBackground           string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	Height                     string
	ImageRendering             string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	NumOctaves                 string
	Opacity                    string
	Overflow                   string
	PointerEvents              string
	Result                     string
	Seed                       string
	ShapeRendering             string
	StitchTiles                string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	Type                       string
	UnicodeBidi                string
	Visibility                 string
	Width                      string
	WordSpacing                string
	WritingMode                string
	X                          string
	Y                          string
}

SvgFeTurbulenceAttrs holds the attributes for the feTurbulence SVG element

func (*SvgFeTurbulenceAttrs) WriteAttrs added in v0.13.0

func (a *SvgFeTurbulenceAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgFilterArg added in v0.13.0

type SvgFilterArg interface {
	// contains filtered or unexported methods
}

SvgFilterArg interface for filter element arguments

type SvgFilterAttrs added in v0.13.0

type SvgFilterAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	EnableBackground           string
	ExternalResourcesRequired  string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FilterRes                  string
	FilterUnits                string
	FloodColor                 string
	FloodOpacity               string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	Height                     string
	ImageRendering             string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	Opacity                    string
	Overflow                   string
	PointerEvents              string
	PrimitiveUnits             string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	UnicodeBidi                string
	Visibility                 string
	Width                      string
	WordSpacing                string
	WritingMode                string
	X                          string
	Y                          string
}

SvgFilterAttrs holds the attributes for the filter SVG element

func (*SvgFilterAttrs) WriteAttrs added in v0.13.0

func (a *SvgFilterAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgFontArg added in v0.14.0

type SvgFontArg interface {
	// contains filtered or unexported methods
}

SvgFontArg interface for font element arguments

type SvgFontAttrs added in v0.14.0

type SvgFontAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	EnableBackground           string
	ExternalResourcesRequired  string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	HorizAdvX                  string
	HorizOriginX               string
	HorizOriginY               string
	ImageRendering             string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	Opacity                    string
	Overflow                   string
	PointerEvents              string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	UnicodeBidi                string
	VertAdvY                   string
	VertOriginX                string
	VertOriginY                string
	Visibility                 string
	WordSpacing                string
	WritingMode                string
}

SvgFontAttrs holds the attributes for the font SVG element

func (*SvgFontAttrs) WriteAttrs added in v0.14.0

func (a *SvgFontAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgFontFaceArg added in v0.14.0

type SvgFontFaceArg interface {
	// contains filtered or unexported methods
}

SvgFontFaceArg interface for font-face element arguments

type SvgFontFaceAttrs added in v0.14.0

type SvgFontFaceAttrs struct {
	GlobalAttrs
	AccentHeight              string
	Alphabetic                string
	Ascent                    string
	Bbox                      string
	CapHeight                 string
	Descent                   string
	ExternalResourcesRequired string
	FontFamily                string
	FontSize                  string
	FontStretch               string
	FontStyle                 string
	FontVariant               string
	FontWeight                string
	Hanging                   string
	Ideographic               string
	Mathematical              string
	OverlinePosition          string
	OverlineThickness         string
	Panose1                   string
	Slope                     string
	Stemh                     string
	Stemv                     string
	StrikethroughPosition     string
	StrikethroughThickness    string
	UnderlinePosition         string
	UnderlineThickness        string
	UnicodeRange              string
	UnitsPerEm                string
	VAlphabetic               string
	VHanging                  string
	VIdeographic              string
	VMathematical             string
	Widths                    string
	XHeight                   string
}

SvgFontFaceAttrs holds the attributes for the font-face SVG element

func (*SvgFontFaceAttrs) WriteAttrs added in v0.14.0

func (a *SvgFontFaceAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgFontFaceFormatArg added in v0.14.0

type SvgFontFaceFormatArg interface {
	// contains filtered or unexported methods
}

SvgFontFaceFormatArg interface for font-face-format element arguments

type SvgFontFaceFormatAttrs added in v0.14.0

type SvgFontFaceFormatAttrs struct {
	GlobalAttrs
	String string
}

SvgFontFaceFormatAttrs holds the attributes for the font-face-format SVG element

func (*SvgFontFaceFormatAttrs) WriteAttrs added in v0.14.0

func (a *SvgFontFaceFormatAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgFontFaceNameArg added in v0.14.0

type SvgFontFaceNameArg interface {
	// contains filtered or unexported methods
}

SvgFontFaceNameArg interface for font-face-name element arguments

type SvgFontFaceNameAttrs added in v0.14.0

type SvgFontFaceNameAttrs struct {
	GlobalAttrs
	Name string
}

SvgFontFaceNameAttrs holds the attributes for the font-face-name SVG element

func (*SvgFontFaceNameAttrs) WriteAttrs added in v0.14.0

func (a *SvgFontFaceNameAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgFontFaceSrcArg added in v0.14.0

type SvgFontFaceSrcArg interface {
	// contains filtered or unexported methods
}

SvgFontFaceSrcArg interface for font-face-src element arguments

type SvgFontFaceSrcAttrs added in v0.14.0

type SvgFontFaceSrcAttrs struct {
	GlobalAttrs
}

SvgFontFaceSrcAttrs holds the attributes for the font-face-src SVG element

func (*SvgFontFaceSrcAttrs) WriteAttrs added in v0.14.0

func (a *SvgFontFaceSrcAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgFontFaceUriArg added in v0.14.0

type SvgFontFaceUriArg interface {
	// contains filtered or unexported methods
}

SvgFontFaceUriArg interface for font-face-uri element arguments

type SvgFontFaceUriAttrs added in v0.14.0

type SvgFontFaceUriAttrs struct {
	GlobalAttrs
	ExternalResourcesRequired string
}

SvgFontFaceUriAttrs holds the attributes for the font-face-uri SVG element

func (*SvgFontFaceUriAttrs) WriteAttrs added in v0.14.0

func (a *SvgFontFaceUriAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgForeignObjectArg added in v0.13.0

type SvgForeignObjectArg interface {
	// contains filtered or unexported methods
}

SvgForeignObjectArg interface for foreignObject element arguments

type SvgForeignObjectAttrs added in v0.13.0

type SvgForeignObjectAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	EnableBackground           string
	ExternalResourcesRequired  string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FocusHighlight             string
	Focusable                  string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	Height                     string
	ImageRendering             string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	NavDown                    string
	NavDownLeft                string
	NavDownRight               string
	NavLeft                    string
	NavNext                    string
	NavPrev                    string
	NavRight                   string
	NavUp                      string
	NavUpLeft                  string
	NavUpRight                 string
	Opacity                    string
	Overflow                   string
	PointerEvents              string
	RequiredExtensions         string
	RequiredFeatures           string
	RequiredFonts              string
	RequiredFormats            string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	SystemLanguage             string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	Transform                  string
	UnicodeBidi                string
	Visibility                 string
	Width                      string
	WordSpacing                string
	WritingMode                string
	X                          string
	Y                          string
}

SvgForeignObjectAttrs holds the attributes for the foreignObject SVG element

func (*SvgForeignObjectAttrs) WriteAttrs added in v0.13.0

func (a *SvgForeignObjectAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgGArg added in v0.13.0

type SvgGArg interface {
	// contains filtered or unexported methods
}

SvgGArg interface for g element arguments

type SvgGAttrs added in v0.13.0

type SvgGAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	EnableBackground           string
	ExternalResourcesRequired  string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FocusHighlight             string
	Focusable                  string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	ImageRendering             string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	NavDown                    string
	NavDownLeft                string
	NavDownRight               string
	NavLeft                    string
	NavNext                    string
	NavPrev                    string
	NavRight                   string
	NavUp                      string
	NavUpLeft                  string
	NavUpRight                 string
	Opacity                    string
	Overflow                   string
	PointerEvents              string
	RequiredExtensions         string
	RequiredFeatures           string
	RequiredFonts              string
	RequiredFormats            string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	SystemLanguage             string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	Transform                  string
	UnicodeBidi                string
	Visibility                 string
	WordSpacing                string
	WritingMode                string
}

SvgGAttrs holds the attributes for the g SVG element

func (*SvgGAttrs) WriteAttrs added in v0.13.0

func (a *SvgGAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgGlyphArg added in v0.14.0

type SvgGlyphArg interface {
	// contains filtered or unexported methods
}

SvgGlyphArg interface for glyph element arguments

type SvgGlyphAttrs added in v0.14.0

type SvgGlyphAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	ArabicForm                 string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	D                          string
	Direction                  string
	Display                    string
	DominantBaseline           string
	EnableBackground           string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphName                  string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	HorizAdvX                  string
	ImageRendering             string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	Opacity                    string
	Orientation                string
	Overflow                   string
	PointerEvents              string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	Unicode                    string
	UnicodeBidi                string
	VertAdvY                   string
	VertOriginX                string
	VertOriginY                string
	Visibility                 string
	WordSpacing                string
	WritingMode                string
}

SvgGlyphAttrs holds the attributes for the glyph SVG element

func (*SvgGlyphAttrs) WriteAttrs added in v0.14.0

func (a *SvgGlyphAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgGlyphRefArg added in v0.14.0

type SvgGlyphRefArg interface {
	// contains filtered or unexported methods
}

SvgGlyphRefArg interface for glyphRef element arguments

type SvgGlyphRefAttrs added in v0.14.0

type SvgGlyphRefAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	Dx                         string
	Dy                         string
	EnableBackground           string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	Format                     string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	GlyphRef                   string
	ImageRendering             string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	Opacity                    string
	Overflow                   string
	PointerEvents              string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	UnicodeBidi                string
	Visibility                 string
	WordSpacing                string
	WritingMode                string
	X                          string
	Y                          string
}

SvgGlyphRefAttrs holds the attributes for the glyphRef SVG element

func (*SvgGlyphRefAttrs) WriteAttrs added in v0.14.0

func (a *SvgGlyphRefAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgHandlerArg added in v0.14.0

type SvgHandlerArg interface {
	// contains filtered or unexported methods
}

SvgHandlerArg interface for handler element arguments

type SvgHandlerAttrs added in v0.14.0

type SvgHandlerAttrs struct {
	GlobalAttrs
	ExternalResourcesRequired string
	Type                      string
}

SvgHandlerAttrs holds the attributes for the handler SVG element

func (*SvgHandlerAttrs) WriteAttrs added in v0.14.0

func (a *SvgHandlerAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgHkernArg added in v0.14.0

type SvgHkernArg interface {
	// contains filtered or unexported methods
}

SvgHkernArg interface for hkern element arguments

type SvgHkernAttrs added in v0.14.0

type SvgHkernAttrs struct {
	GlobalAttrs
	G1 string
	G2 string
	K  string
	U1 string
	U2 string
}

SvgHkernAttrs holds the attributes for the hkern SVG element

func (*SvgHkernAttrs) WriteAttrs added in v0.14.0

func (a *SvgHkernAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgImageArg added in v0.13.0

type SvgImageArg interface {
	// contains filtered or unexported methods
}

SvgImageArg interface for image element arguments

type SvgImageAttrs added in v0.13.0

type SvgImageAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Crossorigin                string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	EnableBackground           string
	ExternalResourcesRequired  string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FocusHighlight             string
	Focusable                  string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	Height                     string
	Href                       string
	ImageRendering             string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	NavDown                    string
	NavDownLeft                string
	NavDownRight               string
	NavLeft                    string
	NavNext                    string
	NavPrev                    string
	NavRight                   string
	NavUp                      string
	NavUpLeft                  string
	NavUpRight                 string
	Opacity                    string
	Overflow                   string
	PointerEvents              string
	PreserveAspectRatio        string
	RequiredExtensions         string
	RequiredFeatures           string
	RequiredFonts              string
	RequiredFormats            string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	SystemLanguage             string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	Transform                  string
	Type                       string
	UnicodeBidi                string
	Visibility                 string
	Width                      string
	WordSpacing                string
	WritingMode                string
	X                          string
	Y                          string
}

SvgImageAttrs holds the attributes for the image SVG element

func (*SvgImageAttrs) WriteAttrs added in v0.13.0

func (a *SvgImageAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgLineArg added in v0.13.0

type SvgLineArg interface {
	// contains filtered or unexported methods
}

SvgLineArg interface for line element arguments

type SvgLineAttrs added in v0.13.0

type SvgLineAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	EnableBackground           string
	ExternalResourcesRequired  string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FocusHighlight             string
	Focusable                  string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	ImageRendering             string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	NavDown                    string
	NavDownLeft                string
	NavDownRight               string
	NavLeft                    string
	NavNext                    string
	NavPrev                    string
	NavRight                   string
	NavUp                      string
	NavUpLeft                  string
	NavUpRight                 string
	Opacity                    string
	Overflow                   string
	PathLength                 string
	PointerEvents              string
	RequiredExtensions         string
	RequiredFeatures           string
	RequiredFonts              string
	RequiredFormats            string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	SystemLanguage             string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	Transform                  string
	UnicodeBidi                string
	Visibility                 string
	WordSpacing                string
	WritingMode                string
	X1                         string
	X2                         string
	Y1                         string
	Y2                         string
}

SvgLineAttrs holds the attributes for the line SVG element

func (*SvgLineAttrs) WriteAttrs added in v0.13.0

func (a *SvgLineAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgLinearGradientArg added in v0.13.0

type SvgLinearGradientArg interface {
	// contains filtered or unexported methods
}

SvgLinearGradientArg interface for linearGradient element arguments

type SvgLinearGradientAttrs added in v0.13.0

type SvgLinearGradientAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	EnableBackground           string
	ExternalResourcesRequired  string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	GradientTransform          string
	GradientUnits              string
	Href                       string
	ImageRendering             string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	Opacity                    string
	Overflow                   string
	PointerEvents              string
	ShapeRendering             string
	SpreadMethod               string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	UnicodeBidi                string
	Visibility                 string
	WordSpacing                string
	WritingMode                string
	X1                         string
	X2                         string
	Y1                         string
	Y2                         string
}

SvgLinearGradientAttrs holds the attributes for the linearGradient SVG element

func (*SvgLinearGradientAttrs) WriteAttrs added in v0.13.0

func (a *SvgLinearGradientAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgListenerArg added in v0.14.0

type SvgListenerArg interface {
	// contains filtered or unexported methods
}

SvgListenerArg interface for listener element arguments

type SvgListenerAttrs added in v0.14.0

type SvgListenerAttrs struct {
	GlobalAttrs
	DefaultAction string
	Event         string
	Handler       string
	Observer      string
	Phase         string
	Propagate     string
	Target        string
}

SvgListenerAttrs holds the attributes for the listener SVG element

func (*SvgListenerAttrs) WriteAttrs added in v0.14.0

func (a *SvgListenerAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgMarkerArg added in v0.13.0

type SvgMarkerArg interface {
	// contains filtered or unexported methods
}

SvgMarkerArg interface for marker element arguments

type SvgMarkerAttrs added in v0.13.0

type SvgMarkerAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	EnableBackground           string
	ExternalResourcesRequired  string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	ImageRendering             string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	MarkerHeight               string
	MarkerUnits                string
	MarkerWidth                string
	Mask                       string
	Opacity                    string
	Orient                     string
	Overflow                   string
	PointerEvents              string
	PreserveAspectRatio        string
	RefX                       string
	RefY                       string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	UnicodeBidi                string
	ViewBox                    string
	Visibility                 string
	WordSpacing                string
	WritingMode                string
}

SvgMarkerAttrs holds the attributes for the marker SVG element

func (*SvgMarkerAttrs) WriteAttrs added in v0.13.0

func (a *SvgMarkerAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgMaskArg added in v0.13.0

type SvgMaskArg interface {
	// contains filtered or unexported methods
}

SvgMaskArg interface for mask element arguments

type SvgMaskAttrs added in v0.13.0

type SvgMaskAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	EnableBackground           string
	ExternalResourcesRequired  string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	Height                     string
	ImageRendering             string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	MaskContentUnits           string
	MaskUnits                  string
	Opacity                    string
	Overflow                   string
	PointerEvents              string
	RequiredExtensions         string
	RequiredFeatures           string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	SystemLanguage             string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	UnicodeBidi                string
	Visibility                 string
	Width                      string
	WordSpacing                string
	WritingMode                string
	X                          string
	Y                          string
}

SvgMaskAttrs holds the attributes for the mask SVG element

func (*SvgMaskAttrs) WriteAttrs added in v0.13.0

func (a *SvgMaskAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgMetadataArg added in v0.13.0

type SvgMetadataArg interface {
	// contains filtered or unexported methods
}

SvgMetadataArg interface for metadata element arguments

type SvgMetadataAttrs added in v0.13.0

type SvgMetadataAttrs struct {
	GlobalAttrs
	RequiredExtensions string
	RequiredFeatures   string
	RequiredFonts      string
	RequiredFormats    string
	SystemLanguage     string
}

SvgMetadataAttrs holds the attributes for the metadata SVG element

func (*SvgMetadataAttrs) WriteAttrs added in v0.13.0

func (a *SvgMetadataAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgMissingGlyphArg added in v0.14.0

type SvgMissingGlyphArg interface {
	// contains filtered or unexported methods
}

SvgMissingGlyphArg interface for missing-glyph element arguments

type SvgMissingGlyphAttrs added in v0.14.0

type SvgMissingGlyphAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	D                          string
	Direction                  string
	Display                    string
	DominantBaseline           string
	EnableBackground           string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	HorizAdvX                  string
	ImageRendering             string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	Opacity                    string
	Overflow                   string
	PointerEvents              string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	UnicodeBidi                string
	VertAdvY                   string
	VertOriginX                string
	VertOriginY                string
	Visibility                 string
	WordSpacing                string
	WritingMode                string
}

SvgMissingGlyphAttrs holds the attributes for the missing-glyph SVG element

func (*SvgMissingGlyphAttrs) WriteAttrs added in v0.14.0

func (a *SvgMissingGlyphAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgMpathArg added in v0.13.0

type SvgMpathArg interface {
	// contains filtered or unexported methods
}

SvgMpathArg interface for mpath element arguments

type SvgMpathAttrs added in v0.13.0

type SvgMpathAttrs struct {
	GlobalAttrs
	ExternalResourcesRequired string
	Href                      string
}

SvgMpathAttrs holds the attributes for the mpath SVG element

func (*SvgMpathAttrs) WriteAttrs added in v0.13.0

func (a *SvgMpathAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgPathArg added in v0.13.0

type SvgPathArg interface {
	// contains filtered or unexported methods
}

SvgPathArg interface for path element arguments

type SvgPathAttrs added in v0.13.0

type SvgPathAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	D                          string
	Direction                  string
	Display                    string
	DominantBaseline           string
	EnableBackground           string
	ExternalResourcesRequired  string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FocusHighlight             string
	Focusable                  string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	ImageRendering             string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	NavDown                    string
	NavDownLeft                string
	NavDownRight               string
	NavLeft                    string
	NavNext                    string
	NavPrev                    string
	NavRight                   string
	NavUp                      string
	NavUpLeft                  string
	NavUpRight                 string
	Opacity                    string
	Overflow                   string
	PathLength                 string
	PointerEvents              string
	RequiredExtensions         string
	RequiredFeatures           string
	RequiredFonts              string
	RequiredFormats            string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	SystemLanguage             string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	Transform                  string
	UnicodeBidi                string
	Visibility                 string
	WordSpacing                string
	WritingMode                string
}

SvgPathAttrs holds the attributes for the path SVG element

func (*SvgPathAttrs) WriteAttrs added in v0.13.0

func (a *SvgPathAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgPatternArg added in v0.13.0

type SvgPatternArg interface {
	// contains filtered or unexported methods
}

SvgPatternArg interface for pattern element arguments

type SvgPatternAttrs added in v0.13.0

type SvgPatternAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	EnableBackground           string
	ExternalResourcesRequired  string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	Height                     string
	Href                       string
	ImageRendering             string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	Opacity                    string
	Overflow                   string
	PatternContentUnits        string
	PatternTransform           string
	PatternUnits               string
	PointerEvents              string
	PreserveAspectRatio        string
	RequiredExtensions         string
	RequiredFeatures           string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	SystemLanguage             string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	UnicodeBidi                string
	ViewBox                    string
	Visibility                 string
	Width                      string
	WordSpacing                string
	WritingMode                string
	X                          string
	Y                          string
}

SvgPatternAttrs holds the attributes for the pattern SVG element

func (*SvgPatternAttrs) WriteAttrs added in v0.13.0

func (a *SvgPatternAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgPolygonArg added in v0.13.0

type SvgPolygonArg interface {
	// contains filtered or unexported methods
}

SvgPolygonArg interface for polygon element arguments

type SvgPolygonAttrs added in v0.13.0

type SvgPolygonAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	EnableBackground           string
	ExternalResourcesRequired  string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FocusHighlight             string
	Focusable                  string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	ImageRendering             string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	NavDown                    string
	NavDownLeft                string
	NavDownRight               string
	NavLeft                    string
	NavNext                    string
	NavPrev                    string
	NavRight                   string
	NavUp                      string
	NavUpLeft                  string
	NavUpRight                 string
	Opacity                    string
	Overflow                   string
	PathLength                 string
	PointerEvents              string
	Points                     string
	RequiredExtensions         string
	RequiredFeatures           string
	RequiredFonts              string
	RequiredFormats            string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	SystemLanguage             string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	Transform                  string
	UnicodeBidi                string
	Visibility                 string
	WordSpacing                string
	WritingMode                string
}

SvgPolygonAttrs holds the attributes for the polygon SVG element

func (*SvgPolygonAttrs) WriteAttrs added in v0.13.0

func (a *SvgPolygonAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgPolylineArg added in v0.13.0

type SvgPolylineArg interface {
	// contains filtered or unexported methods
}

SvgPolylineArg interface for polyline element arguments

type SvgPolylineAttrs added in v0.13.0

type SvgPolylineAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	EnableBackground           string
	ExternalResourcesRequired  string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FocusHighlight             string
	Focusable                  string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	ImageRendering             string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	NavDown                    string
	NavDownLeft                string
	NavDownRight               string
	NavLeft                    string
	NavNext                    string
	NavPrev                    string
	NavRight                   string
	NavUp                      string
	NavUpLeft                  string
	NavUpRight                 string
	Opacity                    string
	Overflow                   string
	PathLength                 string
	PointerEvents              string
	Points                     string
	RequiredExtensions         string
	RequiredFeatures           string
	RequiredFonts              string
	RequiredFormats            string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	SystemLanguage             string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	Transform                  string
	UnicodeBidi                string
	Visibility                 string
	WordSpacing                string
	WritingMode                string
}

SvgPolylineAttrs holds the attributes for the polyline SVG element

func (*SvgPolylineAttrs) WriteAttrs added in v0.13.0

func (a *SvgPolylineAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgPrefetchArg added in v0.14.0

type SvgPrefetchArg interface {
	// contains filtered or unexported methods
}

SvgPrefetchArg interface for prefetch element arguments

type SvgPrefetchAttrs added in v0.14.0

type SvgPrefetchAttrs struct {
	GlobalAttrs
	Bandwidth              string
	MediaCharacterEncoding string
	MediaContentEncodings  string
	MediaSize              string
	MediaTime              string
}

SvgPrefetchAttrs holds the attributes for the prefetch SVG element

func (*SvgPrefetchAttrs) WriteAttrs added in v0.14.0

func (a *SvgPrefetchAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgRadialGradientArg added in v0.13.0

type SvgRadialGradientArg interface {
	// contains filtered or unexported methods
}

SvgRadialGradientArg interface for radialGradient element arguments

type SvgRadialGradientAttrs added in v0.13.0

type SvgRadialGradientAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Cx                         string
	Cy                         string
	Direction                  string
	Display                    string
	DominantBaseline           string
	EnableBackground           string
	ExternalResourcesRequired  string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	Fr                         string
	Fx                         string
	Fy                         string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	GradientTransform          string
	GradientUnits              string
	Href                       string
	ImageRendering             string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	Opacity                    string
	Overflow                   string
	PointerEvents              string
	R                          string
	ShapeRendering             string
	SpreadMethod               string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	UnicodeBidi                string
	Visibility                 string
	WordSpacing                string
	WritingMode                string
}

SvgRadialGradientAttrs holds the attributes for the radialGradient SVG element

func (*SvgRadialGradientAttrs) WriteAttrs added in v0.13.0

func (a *SvgRadialGradientAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgRectArg added in v0.13.0

type SvgRectArg interface {
	// contains filtered or unexported methods
}

SvgRectArg interface for rect element arguments

type SvgRectAttrs added in v0.13.0

type SvgRectAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	EnableBackground           string
	ExternalResourcesRequired  string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FocusHighlight             string
	Focusable                  string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	Height                     string
	ImageRendering             string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	NavDown                    string
	NavDownLeft                string
	NavDownRight               string
	NavLeft                    string
	NavNext                    string
	NavPrev                    string
	NavRight                   string
	NavUp                      string
	NavUpLeft                  string
	NavUpRight                 string
	Opacity                    string
	Overflow                   string
	PathLength                 string
	PointerEvents              string
	RequiredExtensions         string
	RequiredFeatures           string
	RequiredFonts              string
	RequiredFormats            string
	Rx                         string
	Ry                         string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	SystemLanguage             string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	Transform                  string
	UnicodeBidi                string
	Visibility                 string
	Width                      string
	WordSpacing                string
	WritingMode                string
	X                          string
	Y                          string
}

SvgRectAttrs holds the attributes for the rect SVG element

func (*SvgRectAttrs) WriteAttrs added in v0.13.0

func (a *SvgRectAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgSetArg added in v0.13.0

type SvgSetArg interface {
	// contains filtered or unexported methods
}

SvgSetArg interface for set element arguments

type SvgSetAttrs added in v0.13.0

type SvgSetAttrs struct {
	GlobalAttrs
	AttributeName             string
	AttributeType             string
	Begin                     string
	Dur                       string
	End                       string
	ExternalResourcesRequired string
	Fill                      string
	Href                      string
	Max                       string
	Min                       string
	RepeatCount               string
	RepeatDur                 string
	RequiredExtensions        string
	RequiredFeatures          string
	RequiredFonts             string
	RequiredFormats           string
	Restart                   string
	SystemLanguage            string
	To                        string
}

SvgSetAttrs holds the attributes for the set SVG element

func (*SvgSetAttrs) WriteAttrs added in v0.13.0

func (a *SvgSetAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgSolidColorArg added in v0.14.0

type SvgSolidColorArg interface {
	// contains filtered or unexported methods
}

SvgSolidColorArg interface for solidColor element arguments

type SvgSolidColorAttrs added in v0.14.0

type SvgSolidColorAttrs struct {
	GlobalAttrs
}

SvgSolidColorAttrs holds the attributes for the solidColor SVG element

func (*SvgSolidColorAttrs) WriteAttrs added in v0.14.0

func (a *SvgSolidColorAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgStopArg added in v0.13.0

type SvgStopArg interface {
	// contains filtered or unexported methods
}

SvgStopArg interface for stop element arguments

type SvgStopAttrs added in v0.13.0

type SvgStopAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	EnableBackground           string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	ImageRendering             string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	Offset                     string
	Opacity                    string
	Overflow                   string
	PointerEvents              string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	UnicodeBidi                string
	Visibility                 string
	WordSpacing                string
	WritingMode                string
}

SvgStopAttrs holds the attributes for the stop SVG element

func (*SvgStopAttrs) WriteAttrs added in v0.13.0

func (a *SvgStopAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgSwitchArg added in v0.13.0

type SvgSwitchArg interface {
	// contains filtered or unexported methods
}

SvgSwitchArg interface for switch element arguments

type SvgSwitchAttrs added in v0.13.0

type SvgSwitchAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	EnableBackground           string
	ExternalResourcesRequired  string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FocusHighlight             string
	Focusable                  string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	ImageRendering             string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	NavDown                    string
	NavDownLeft                string
	NavDownRight               string
	NavLeft                    string
	NavNext                    string
	NavPrev                    string
	NavRight                   string
	NavUp                      string
	NavUpLeft                  string
	NavUpRight                 string
	Opacity                    string
	Overflow                   string
	PointerEvents              string
	RequiredExtensions         string
	RequiredFeatures           string
	RequiredFonts              string
	RequiredFormats            string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	SystemLanguage             string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	Transform                  string
	UnicodeBidi                string
	Visibility                 string
	WordSpacing                string
	WritingMode                string
}

SvgSwitchAttrs holds the attributes for the switch SVG element

func (*SvgSwitchAttrs) WriteAttrs added in v0.13.0

func (a *SvgSwitchAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgSymbolArg added in v0.13.0

type SvgSymbolArg interface {
	// contains filtered or unexported methods
}

SvgSymbolArg interface for symbol element arguments

type SvgSymbolAttrs added in v0.13.0

type SvgSymbolAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	EnableBackground           string
	ExternalResourcesRequired  string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	Height                     string
	ImageRendering             string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	Opacity                    string
	Overflow                   string
	PointerEvents              string
	PreserveAspectRatio        string
	RefX                       string
	RefY                       string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	UnicodeBidi                string
	ViewBox                    string
	Visibility                 string
	Width                      string
	WordSpacing                string
	WritingMode                string
	X                          string
	Y                          string
}

SvgSymbolAttrs holds the attributes for the symbol SVG element

func (*SvgSymbolAttrs) WriteAttrs added in v0.13.0

func (a *SvgSymbolAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgTbreakArg added in v0.14.0

type SvgTbreakArg interface {
	// contains filtered or unexported methods
}

SvgTbreakArg interface for tbreak element arguments

type SvgTbreakAttrs added in v0.14.0

type SvgTbreakAttrs struct {
	GlobalAttrs
	RequiredExtensions string
	RequiredFeatures   string
	RequiredFonts      string
	RequiredFormats    string
	SystemLanguage     string
}

SvgTbreakAttrs holds the attributes for the tbreak SVG element

func (*SvgTbreakAttrs) WriteAttrs added in v0.14.0

func (a *SvgTbreakAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgTextArg

type SvgTextArg interface {
	// contains filtered or unexported methods
}

SvgTextArg interface for text element arguments

type SvgTextAttrs

type SvgTextAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	Dx                         string
	Dy                         string
	Editable                   string
	EnableBackground           string
	ExternalResourcesRequired  string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FocusHighlight             string
	Focusable                  string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	ImageRendering             string
	Kerning                    string
	LengthAdjust               string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	NavDown                    string
	NavDownLeft                string
	NavDownRight               string
	NavLeft                    string
	NavNext                    string
	NavPrev                    string
	NavRight                   string
	NavUp                      string
	NavUpLeft                  string
	NavUpRight                 string
	Opacity                    string
	Overflow                   string
	PointerEvents              string
	RequiredExtensions         string
	RequiredFeatures           string
	RequiredFonts              string
	RequiredFormats            string
	Rotate                     string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	SystemLanguage             string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	TextLength                 string
	Transform                  string
	UnicodeBidi                string
	Visibility                 string
	WordSpacing                string
	WritingMode                string
	X                          string
	Y                          string
}

SvgTextAttrs holds the attributes for the text SVG element

func (*SvgTextAttrs) WriteAttrs added in v0.13.0

func (a *SvgTextAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgTextPathArg added in v0.13.0

type SvgTextPathArg interface {
	// contains filtered or unexported methods
}

SvgTextPathArg interface for textPath element arguments

type SvgTextPathAttrs added in v0.13.0

type SvgTextPathAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	EnableBackground           string
	ExternalResourcesRequired  string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	Href                       string
	ImageRendering             string
	Kerning                    string
	LengthAdjust               string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	Method                     string
	Opacity                    string
	Overflow                   string
	Path                       string
	PointerEvents              string
	RequiredExtensions         string
	RequiredFeatures           string
	ShapeRendering             string
	Side                       string
	Spacing                    string
	StartOffset                string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	SystemLanguage             string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	TextLength                 string
	UnicodeBidi                string
	Visibility                 string
	WordSpacing                string
	WritingMode                string
}

SvgTextPathAttrs holds the attributes for the textPath SVG element

func (*SvgTextPathAttrs) WriteAttrs added in v0.13.0

func (a *SvgTextPathAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgTrefArg added in v0.14.0

type SvgTrefArg interface {
	// contains filtered or unexported methods
}

SvgTrefArg interface for tref element arguments

type SvgTrefAttrs added in v0.14.0

type SvgTrefAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	Dx                         string
	Dy                         string
	EnableBackground           string
	ExternalResourcesRequired  string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	ImageRendering             string
	Kerning                    string
	LengthAdjust               string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	Opacity                    string
	Overflow                   string
	PointerEvents              string
	RequiredExtensions         string
	RequiredFeatures           string
	Rotate                     string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	SystemLanguage             string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	TextLength                 string
	UnicodeBidi                string
	Visibility                 string
	WordSpacing                string
	WritingMode                string
	X                          string
	Y                          string
}

SvgTrefAttrs holds the attributes for the tref SVG element

func (*SvgTrefAttrs) WriteAttrs added in v0.14.0

func (a *SvgTrefAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgTspanArg added in v0.13.0

type SvgTspanArg interface {
	// contains filtered or unexported methods
}

SvgTspanArg interface for tspan element arguments

type SvgTspanAttrs added in v0.13.0

type SvgTspanAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	Dx                         string
	Dy                         string
	EnableBackground           string
	ExternalResourcesRequired  string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FocusHighlight             string
	Focusable                  string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	ImageRendering             string
	Kerning                    string
	LengthAdjust               string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	NavDown                    string
	NavDownLeft                string
	NavDownRight               string
	NavLeft                    string
	NavNext                    string
	NavPrev                    string
	NavRight                   string
	NavUp                      string
	NavUpLeft                  string
	NavUpRight                 string
	Opacity                    string
	Overflow                   string
	PointerEvents              string
	RequiredExtensions         string
	RequiredFeatures           string
	RequiredFonts              string
	RequiredFormats            string
	Rotate                     string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	SystemLanguage             string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	TextLength                 string
	UnicodeBidi                string
	Visibility                 string
	WordSpacing                string
	WritingMode                string
	X                          string
	Y                          string
}

SvgTspanAttrs holds the attributes for the tspan SVG element

func (*SvgTspanAttrs) WriteAttrs added in v0.13.0

func (a *SvgTspanAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgUnknownArg added in v0.14.0

type SvgUnknownArg interface {
	// contains filtered or unexported methods
}

SvgUnknownArg interface for unknown element arguments

type SvgUnknownAttrs added in v0.14.0

type SvgUnknownAttrs struct {
	GlobalAttrs
	RequiredExtensions string
	SystemLanguage     string
}

SvgUnknownAttrs holds the attributes for the unknown SVG element

func (*SvgUnknownAttrs) WriteAttrs added in v0.14.0

func (a *SvgUnknownAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgUseArg added in v0.13.0

type SvgUseArg interface {
	// contains filtered or unexported methods
}

SvgUseArg interface for use element arguments

type SvgUseAttrs added in v0.13.0

type SvgUseAttrs struct {
	GlobalAttrs
	AlignmentBaseline          string
	BaselineShift              string
	Clip                       string
	ClipPath                   string
	ClipRule                   string
	Color                      string
	ColorInterpolation         string
	ColorInterpolationFilters  string
	ColorProfile               string
	ColorRendering             string
	Cursor                     string
	Direction                  string
	Display                    string
	DominantBaseline           string
	EnableBackground           string
	ExternalResourcesRequired  string
	Fill                       string
	FillOpacity                string
	FillRule                   string
	Filter                     string
	FloodColor                 string
	FloodOpacity               string
	FocusHighlight             string
	Focusable                  string
	FontFamily                 string
	FontSize                   string
	FontSizeAdjust             string
	FontStretch                string
	FontStyle                  string
	FontVariant                string
	FontWeight                 string
	GlyphOrientationHorizontal string
	GlyphOrientationVertical   string
	Height                     string
	Href                       string
	ImageRendering             string
	Kerning                    string
	LetterSpacing              string
	LightingColor              string
	MarkerEnd                  string
	MarkerMid                  string
	MarkerStart                string
	Mask                       string
	NavDown                    string
	NavDownLeft                string
	NavDownRight               string
	NavLeft                    string
	NavNext                    string
	NavPrev                    string
	NavRight                   string
	NavUp                      string
	NavUpLeft                  string
	NavUpRight                 string
	Opacity                    string
	Overflow                   string
	PointerEvents              string
	RequiredExtensions         string
	RequiredFeatures           string
	RequiredFonts              string
	RequiredFormats            string
	ShapeRendering             string
	StopColor                  string
	StopOpacity                string
	Stroke                     string
	StrokeDasharray            string
	StrokeDashoffset           string
	StrokeLinecap              string
	StrokeLinejoin             string
	StrokeMiterlimit           string
	StrokeOpacity              string
	StrokeWidth                string
	SystemLanguage             string
	TextAnchor                 string
	TextDecoration             string
	TextRendering              string
	Transform                  string
	UnicodeBidi                string
	Visibility                 string
	Width                      string
	WordSpacing                string
	WritingMode                string
	X                          string
	Y                          string
}

SvgUseAttrs holds the attributes for the use SVG element

func (*SvgUseAttrs) WriteAttrs added in v0.13.0

func (a *SvgUseAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgViewArg added in v0.13.0

type SvgViewArg interface {
	// contains filtered or unexported methods
}

SvgViewArg interface for view element arguments

type SvgViewAttrs added in v0.13.0

type SvgViewAttrs struct {
	GlobalAttrs
	ExternalResourcesRequired string
	PreserveAspectRatio       string
	ViewBox                   string
	ViewTarget                string
	ZoomAndPan                string
}

SvgViewAttrs holds the attributes for the view SVG element

func (*SvgViewAttrs) WriteAttrs added in v0.13.0

func (a *SvgViewAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SvgVkernArg added in v0.14.0

type SvgVkernArg interface {
	// contains filtered or unexported methods
}

SvgVkernArg interface for vkern element arguments

type SvgVkernAttrs added in v0.14.0

type SvgVkernAttrs struct {
	GlobalAttrs
	G1 string
	G2 string
	K  string
	U1 string
	U2 string
}

SvgVkernAttrs holds the attributes for the vkern SVG element

func (*SvgVkernAttrs) WriteAttrs added in v0.14.0

func (a *SvgVkernAttrs) WriteAttrs(sb *strings.Builder)

WriteAttrs writes the SVG attributes to the string builder

type SyncBehaviorDefaultOpt added in v0.14.0

type SyncBehaviorDefaultOpt struct {
	// contains filtered or unexported fields
}

func ASyncBehaviorDefault added in v0.14.0

func ASyncBehaviorDefault(v string) SyncBehaviorDefaultOpt

type SyncBehaviorOpt added in v0.14.0

type SyncBehaviorOpt struct {
	// contains filtered or unexported fields
}

func ASyncBehavior added in v0.14.0

func ASyncBehavior(v string) SyncBehaviorOpt

type SyncMasterOpt added in v0.14.0

type SyncMasterOpt struct {
	// contains filtered or unexported fields
}

func ASyncMaster added in v0.14.0

func ASyncMaster(v string) SyncMasterOpt

type SyncToleranceDefaultOpt added in v0.14.0

type SyncToleranceDefaultOpt struct {
	// contains filtered or unexported fields
}

func ASyncToleranceDefault added in v0.14.0

func ASyncToleranceDefault(v string) SyncToleranceDefaultOpt

type SyncToleranceOpt added in v0.14.0

type SyncToleranceOpt struct {
	// contains filtered or unexported fields
}

func ASyncTolerance added in v0.14.0

func ASyncTolerance(v string) SyncToleranceOpt

type SystemLanguageOpt added in v0.13.0

type SystemLanguageOpt struct {
	// contains filtered or unexported fields
}

func ASystemLanguage added in v0.13.0

func ASystemLanguage(v string) SystemLanguageOpt

type TableArg

type TableArg interface {
	// contains filtered or unexported methods
}

type TableAttrs

type TableAttrs struct {
	Global GlobalAttrs
}

func (*TableAttrs) WriteAttrs added in v0.13.0

func (a *TableAttrs) WriteAttrs(sb *strings.Builder)

type TableValuesOpt added in v0.13.0

type TableValuesOpt struct {
	// contains filtered or unexported fields
}

func ATableValues added in v0.13.0

func ATableValues(v string) TableValuesOpt

type TargetOpt

type TargetOpt struct {
	// contains filtered or unexported fields
}

func ATarget

func ATarget(v string) TargetOpt

type TargetXOpt added in v0.13.0

type TargetXOpt struct {
	// contains filtered or unexported fields
}

func ATargetX added in v0.13.0

func ATargetX(v string) TargetXOpt

type TargetYOpt added in v0.13.0

type TargetYOpt struct {
	// contains filtered or unexported fields
}

func ATargetY added in v0.13.0

func ATargetY(v string) TargetYOpt

type TbodyArg

type TbodyArg interface {
	// contains filtered or unexported methods
}

type TbodyAttrs

type TbodyAttrs struct {
	Global GlobalAttrs
}

func (*TbodyAttrs) WriteAttrs added in v0.13.0

func (a *TbodyAttrs) WriteAttrs(sb *strings.Builder)

type TdArg

type TdArg interface {
	// contains filtered or unexported methods
}

type TdAttrs

type TdAttrs struct {
	Global  GlobalAttrs
	Colspan string
	Headers string
	Rowspan string
}

func (*TdAttrs) WriteAttrs added in v0.13.0

func (a *TdAttrs) WriteAttrs(sb *strings.Builder)

type TemplateArg

type TemplateArg interface {
	// contains filtered or unexported methods
}

type TemplateAttrs

type TemplateAttrs struct {
	Global                          GlobalAttrs
	Shadowrootclonable              bool
	Shadowrootcustomelementregistry bool
	Shadowrootdelegatesfocus        bool
	Shadowrootmode                  string
	Shadowrootserializable          bool
}

func (*TemplateAttrs) WriteAttrs added in v0.13.0

func (a *TemplateAttrs) WriteAttrs(sb *strings.Builder)

type TextAnchorOpt

type TextAnchorOpt struct {
	// contains filtered or unexported fields
}

func ATextAnchor added in v0.14.0

func ATextAnchor(v string) TextAnchorOpt

type TextDecorationOpt added in v0.14.0

type TextDecorationOpt struct {
	// contains filtered or unexported fields
}

func ATextDecoration added in v0.14.0

func ATextDecoration(v string) TextDecorationOpt

type TextLengthOpt

type TextLengthOpt struct {
	// contains filtered or unexported fields
}

func ATextLength added in v0.13.0

func ATextLength(v string) TextLengthOpt

type TextNode

type TextNode string

type TextRenderingOpt added in v0.14.0

type TextRenderingOpt struct {
	// contains filtered or unexported fields
}

func ATextRendering added in v0.14.0

func ATextRendering(v string) TextRenderingOpt

type TextareaArg

type TextareaArg interface {
	// contains filtered or unexported methods
}

type TextareaAttrs

type TextareaAttrs struct {
	Global       GlobalAttrs
	Autocomplete string
	Cols         string
	Dirname      string
	Maxlength    string
	Minlength    string
	Placeholder  string
	Readonly     bool
	Required     bool
	Rows         string
	Wrap         string
}

func (*TextareaAttrs) WriteAttrs added in v0.13.0

func (a *TextareaAttrs) WriteAttrs(sb *strings.Builder)

type TfootArg

type TfootArg interface {
	// contains filtered or unexported methods
}

type TfootAttrs

type TfootAttrs struct {
	Global GlobalAttrs
}

func (*TfootAttrs) WriteAttrs added in v0.13.0

func (a *TfootAttrs) WriteAttrs(sb *strings.Builder)

type ThArg

type ThArg interface {
	// contains filtered or unexported methods
}

type ThAttrs

type ThAttrs struct {
	Global  GlobalAttrs
	Abbr    string
	Colspan string
	Headers string
	Rowspan string
	Scope   string
}

func (*ThAttrs) WriteAttrs added in v0.13.0

func (a *ThAttrs) WriteAttrs(sb *strings.Builder)

type TheadArg

type TheadArg interface {
	// contains filtered or unexported methods
}

type TheadAttrs

type TheadAttrs struct {
	Global GlobalAttrs
}

func (*TheadAttrs) WriteAttrs added in v0.13.0

func (a *TheadAttrs) WriteAttrs(sb *strings.Builder)

type TimeArg

type TimeArg interface {
	// contains filtered or unexported methods
}

type TimeAttrs

type TimeAttrs struct {
	Global   GlobalAttrs
	Datetime string
}

func (*TimeAttrs) WriteAttrs added in v0.13.0

func (a *TimeAttrs) WriteAttrs(sb *strings.Builder)

type TimelineBeginOpt added in v0.14.0

type TimelineBeginOpt struct {
	// contains filtered or unexported fields
}

func ATimelineBegin added in v0.14.0

func ATimelineBegin(v string) TimelineBeginOpt

type TitleArg

type TitleArg interface {
	// contains filtered or unexported methods
}

type TitleAttrs

type TitleAttrs struct {
	Global GlobalAttrs
}

func (*TitleAttrs) WriteAttrs added in v0.14.0

func (a *TitleAttrs) WriteAttrs(sb *strings.Builder)

type ToOpt added in v0.13.0

type ToOpt struct {
	// contains filtered or unexported fields
}

func ATo added in v0.13.0

func ATo(v string) ToOpt

type TrArg

type TrArg interface {
	// contains filtered or unexported methods
}

type TrAttrs

type TrAttrs struct {
	Global GlobalAttrs
}

func (*TrAttrs) WriteAttrs added in v0.13.0

func (a *TrAttrs) WriteAttrs(sb *strings.Builder)

type TrackArg

type TrackArg interface {
	// contains filtered or unexported methods
}

type TrackAttrs

type TrackAttrs struct {
	Global  GlobalAttrs
	Default bool
	Kind    string
	Label   string
	Src     string
	Srclang string
}

func (*TrackAttrs) WriteAttrs added in v0.13.0

func (a *TrackAttrs) WriteAttrs(sb *strings.Builder)

type TransformOpt

type TransformOpt struct {
	// contains filtered or unexported fields
}

func ATransform added in v0.14.0

func ATransform(v string) TransformOpt

type TxtOpt

type TxtOpt struct {
	// contains filtered or unexported fields
}

func T

func T(s string) TxtOpt

T is an alias for Text to reduce verbosity

func Text

func Text(s string) TxtOpt

func (TxtOpt) String added in v0.13.0

func (t TxtOpt) String() string

String returns the text content

type TypeOpt

type TypeOpt struct {
	// contains filtered or unexported fields
}

func AType added in v0.13.0

func AType(v string) TypeOpt

type U1Opt added in v0.14.0

type U1Opt struct {
	// contains filtered or unexported fields
}

func AU1 added in v0.14.0

func AU1(v string) U1Opt

type U2Opt added in v0.14.0

type U2Opt struct {
	// contains filtered or unexported fields
}

func AU2 added in v0.14.0

func AU2(v string) U2Opt

type UArg

type UArg interface {
	// contains filtered or unexported methods
}

type UAttrs

type UAttrs struct {
	Global GlobalAttrs
}

func (*UAttrs) WriteAttrs added in v0.14.0

func (a *UAttrs) WriteAttrs(sb *strings.Builder)

type UlArg

type UlArg interface {
	// contains filtered or unexported methods
}

type UlAttrs

type UlAttrs struct {
	Global GlobalAttrs
}

func (*UlAttrs) WriteAttrs added in v0.13.0

func (a *UlAttrs) WriteAttrs(sb *strings.Builder)

type UnderlinePositionOpt added in v0.14.0

type UnderlinePositionOpt struct {
	// contains filtered or unexported fields
}

func AUnderlinePosition added in v0.14.0

func AUnderlinePosition(v string) UnderlinePositionOpt

type UnderlineThicknessOpt added in v0.14.0

type UnderlineThicknessOpt struct {
	// contains filtered or unexported fields
}

func AUnderlineThickness added in v0.14.0

func AUnderlineThickness(v string) UnderlineThicknessOpt

type UnicodeBidiOpt added in v0.14.0

type UnicodeBidiOpt struct {
	// contains filtered or unexported fields
}

func AUnicodeBidi added in v0.14.0

func AUnicodeBidi(v string) UnicodeBidiOpt

type UnicodeOpt added in v0.14.0

type UnicodeOpt struct {
	// contains filtered or unexported fields
}

func AUnicode added in v0.14.0

func AUnicode(v string) UnicodeOpt

type UnicodeRangeOpt added in v0.14.0

type UnicodeRangeOpt struct {
	// contains filtered or unexported fields
}

func AUnicodeRange added in v0.14.0

func AUnicodeRange(v string) UnicodeRangeOpt

type UnitsPerEmOpt added in v0.14.0

type UnitsPerEmOpt struct {
	// contains filtered or unexported fields
}

func AUnitsPerEm added in v0.14.0

func AUnitsPerEm(v string) UnitsPerEmOpt

type UnsafeTextNode

type UnsafeTextNode string

type UnsafeTxtOpt

type UnsafeTxtOpt struct {
	// contains filtered or unexported fields
}

func UnsafeText

func UnsafeText(s string) UnsafeTxtOpt

func (UnsafeTxtOpt) String added in v0.13.0

func (t UnsafeTxtOpt) String() string

String returns the unsafe text content

type UsemapOpt added in v0.13.0

type UsemapOpt struct {
	// contains filtered or unexported fields
}

func AUsemap added in v0.13.0

func AUsemap(v string) UsemapOpt

type VAlphabeticOpt added in v0.14.0

type VAlphabeticOpt struct {
	// contains filtered or unexported fields
}

func AVAlphabetic added in v0.14.0

func AVAlphabetic(v string) VAlphabeticOpt

type VHangingOpt added in v0.14.0

type VHangingOpt struct {
	// contains filtered or unexported fields
}

func AVHanging added in v0.14.0

func AVHanging(v string) VHangingOpt

type VIdeographicOpt added in v0.14.0

type VIdeographicOpt struct {
	// contains filtered or unexported fields
}

func AVIdeographic added in v0.14.0

func AVIdeographic(v string) VIdeographicOpt

type VMathematicalOpt added in v0.14.0

type VMathematicalOpt struct {
	// contains filtered or unexported fields
}

func AVMathematical added in v0.14.0

func AVMathematical(v string) VMathematicalOpt

type ValueOpt

type ValueOpt struct {
	// contains filtered or unexported fields
}

func AValue added in v0.13.0

func AValue(v string) ValueOpt

type ValuesOpt added in v0.13.0

type ValuesOpt struct {
	// contains filtered or unexported fields
}

func AValues added in v0.13.0

func AValues(v string) ValuesOpt

type VarArg

type VarArg interface {
	// contains filtered or unexported methods
}

type VarAttrs

type VarAttrs struct {
	Global GlobalAttrs
}

func (*VarAttrs) WriteAttrs added in v0.14.0

func (a *VarAttrs) WriteAttrs(sb *strings.Builder)

type VersionOpt

type VersionOpt struct {
	// contains filtered or unexported fields
}

func AVersion added in v0.13.0

func AVersion(v string) VersionOpt

type VertAdvYOpt added in v0.14.0

type VertAdvYOpt struct {
	// contains filtered or unexported fields
}

func AVertAdvY added in v0.14.0

func AVertAdvY(v string) VertAdvYOpt

type VertOriginXOpt added in v0.14.0

type VertOriginXOpt struct {
	// contains filtered or unexported fields
}

func AVertOriginX added in v0.14.0

func AVertOriginX(v string) VertOriginXOpt

type VertOriginYOpt added in v0.14.0

type VertOriginYOpt struct {
	// contains filtered or unexported fields
}

func AVertOriginY added in v0.14.0

func AVertOriginY(v string) VertOriginYOpt

type VideoArg

type VideoArg interface {
	// contains filtered or unexported methods
}

type VideoAttrs

type VideoAttrs struct {
	Global      GlobalAttrs
	Autoplay    bool
	Controls    bool
	Crossorigin string
	Height      string
	Loop        bool
	Muted       bool
	Playsinline bool
	Poster      string
	Preload     string
	Src         string
	Width       string
}

func (*VideoAttrs) WriteAttrs added in v0.13.0

func (a *VideoAttrs) WriteAttrs(sb *strings.Builder)

type ViewBoxOpt

type ViewBoxOpt struct {
	// contains filtered or unexported fields
}

func AViewBox added in v0.13.0

func AViewBox(v string) ViewBoxOpt

type ViewTargetOpt added in v0.14.0

type ViewTargetOpt struct {
	// contains filtered or unexported fields
}

func AViewTarget added in v0.14.0

func AViewTarget(v string) ViewTargetOpt

type VisibilityOpt added in v0.14.0

type VisibilityOpt struct {
	// contains filtered or unexported fields
}

func AVisibility added in v0.14.0

func AVisibility(v string) VisibilityOpt

type WbrArg added in v0.14.0

type WbrArg interface {
	// contains filtered or unexported methods
}

type WbrAttrs added in v0.14.0

type WbrAttrs struct {
	Global GlobalAttrs
}

func (*WbrAttrs) WriteAttrs added in v0.14.0

func (a *WbrAttrs) WriteAttrs(sb *strings.Builder)

type WidthOpt

type WidthOpt struct {
	// contains filtered or unexported fields
}

func AWidth added in v0.13.0

func AWidth(v string) WidthOpt

type WidthsOpt added in v0.14.0

type WidthsOpt struct {
	// contains filtered or unexported fields
}

func AWidths added in v0.14.0

func AWidths(v string) WidthsOpt

type WordSpacingOpt added in v0.14.0

type WordSpacingOpt struct {
	// contains filtered or unexported fields
}

func AWordSpacing added in v0.14.0

func AWordSpacing(v string) WordSpacingOpt

type WrapOpt

type WrapOpt struct {
	// contains filtered or unexported fields
}

func AWrap added in v0.13.0

func AWrap(v string) WrapOpt

type WritingModeOpt added in v0.14.0

type WritingModeOpt struct {
	// contains filtered or unexported fields
}

func AWritingMode added in v0.14.0

func AWritingMode(v string) WritingModeOpt

type X1Opt

type X1Opt struct {
	// contains filtered or unexported fields
}

func AX1 added in v0.13.0

func AX1(v string) X1Opt

type X2Opt

type X2Opt struct {
	// contains filtered or unexported fields
}

func AX2 added in v0.13.0

func AX2(v string) X2Opt

type XChannelSelectorOpt added in v0.13.0

type XChannelSelectorOpt struct {
	// contains filtered or unexported fields
}

func AXChannelSelector added in v0.13.0

func AXChannelSelector(v string) XChannelSelectorOpt

type XHeightOpt added in v0.14.0

type XHeightOpt struct {
	// contains filtered or unexported fields
}

func AXHeight added in v0.14.0

func AXHeight(v string) XHeightOpt

type XOpt added in v0.13.0

type XOpt struct {
	// contains filtered or unexported fields
}

func AX added in v0.13.0

func AX(v string) XOpt

type Y1Opt

type Y1Opt struct {
	// contains filtered or unexported fields
}

func AY1 added in v0.13.0

func AY1(v string) Y1Opt

type Y2Opt

type Y2Opt struct {
	// contains filtered or unexported fields
}

func AY2 added in v0.13.0

func AY2(v string) Y2Opt

type YChannelSelectorOpt added in v0.13.0

type YChannelSelectorOpt struct {
	// contains filtered or unexported fields
}

func AYChannelSelector added in v0.13.0

func AYChannelSelector(v string) YChannelSelectorOpt

type YOpt added in v0.13.0

type YOpt struct {
	// contains filtered or unexported fields
}

func AY added in v0.13.0

func AY(v string) YOpt

type ZOpt added in v0.13.0

type ZOpt struct {
	// contains filtered or unexported fields
}

func AZ added in v0.13.0

func AZ(v string) ZOpt

type ZoomAndPanOpt

type ZoomAndPanOpt struct {
	// contains filtered or unexported fields
}

func AZoomAndPan added in v0.14.0

func AZoomAndPan(v string) ZoomAndPanOpt

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL