goxt

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2025 License: MIT Imports: 14 Imported by: 0

README

Goxt - A Reactive Server-Side Web Framework in Go

Goxt is a minimalistic, server-driven UI framework for Go. It leverages server-side rendering with a tiny client-side JavaScript layer to provide reactive, real-time updates without heavy frontend frameworks.

Features

  • Pure server-side UI rendering with Go structs representing HTML elements
  • Reactive Signal-based event handling for dynamic UI updates
  • Built-in WebSocket communication for live synchronization between client and server
  • Lightweight client JavaScript (under 100 lines) for dispatching UI events
  • Easy-to-use API for creating interactive UI components

Getting Started

package main

import (
	"github.com/brun-t/goxt"
)

func main() {
	r := goxt.New()

	r.Get("/", goxt.Adapt(func(c *goxt.Ctx) error {
		sess := c.Session
		btn := goxt.NewButton(sess, "color:blue;", goxt.NewString("Click me"))
		onclick := goxt.NewSignal[goxt.UIEl](btn)

		onclick.Subscribe(func() goxt.UIEl {
			btn.Children = []goxt.UIEl{goxt.NewString("I was clicked!")}
			return btn
		})

		btn.WithClick(onclick)

		return c.View(btn, "Welcome to Goxt!")
	}))

	r.Listen(":8100")
}

Installation

go get github.com/brun-t/goxt

How it works

Goxt uses Go structs to represent HTML elements. Each element supports signals representing DOM events (click, input, etc). Signals propagate events from the client to the server over WebSockets, triggering updates which are sent back and applied live.

Signal API

sig := NewSignal[string]("initial")
sig.Subscribe(func() string {
    // React to signal changes
    return "updated"
})
sig.Set("new value") // Triggers updates NOTE: It only triggers on new value for trigger always use .Emit()

Contributing

Contributions are welcome! Please open issues or pull requests.

License

MIT License

Libs and Frameworks used

Gofiber/Fiber -- MIT License

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Sessions = &sync.Map{}

Use a sync.Map for concurrent-safe session storage.

Functions

func Adapt

func Adapt(f func(*Ctx) error) fiber.Handler

func AttrString

func AttrString(attrs map[string]string) string

func NewComponent

func NewComponent[T UIEl](ctor func(*Session, TArgs) []T) func(*Session, TArgs) *Component[T]

func NewUIEl

func NewUIEl[T UIEl](ctor func() T) T

Types

type A

type A struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
	OnClick  *Signal[UIEl]
	OnFocus  *Signal[UIEl]
	OnBlur   *Signal[UIEl]
}

func NewA

func NewA(sess *Session, attr string, children ...UIEl) *A

func (*A) AppendChild

func (e *A) AppendChild(child UIEl) int

func (*A) Clone

func (e *A) Clone() UIEl

func (*A) GetChild

func (e *A) GetChild(index int) UIEl

func (*A) GetID

func (e *A) GetID() string

func (*A) RemoveChild

func (e *A) RemoveChild(index int)

func (*A) Render

func (e *A) Render() string

func (*A) WithBlur

func (e *A) WithBlur(sig *Signal[UIEl]) *A

func (*A) WithClick

func (e *A) WithClick(sig *Signal[UIEl]) *A

func (*A) WithFocus

func (e *A) WithFocus(sig *Signal[UIEl]) *A

type Abbr

type Abbr struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewAbbr

func NewAbbr(sess *Session, attr string, children ...UIEl) *Abbr

func (*Abbr) AppendChild

func (e *Abbr) AppendChild(child UIEl) int

func (*Abbr) Clone

func (e *Abbr) Clone() UIEl

func (*Abbr) GetChild

func (e *Abbr) GetChild(index int) UIEl

func (*Abbr) GetID

func (e *Abbr) GetID() string

func (*Abbr) RemoveChild

func (e *Abbr) RemoveChild(index int)

func (*Abbr) Render

func (e *Abbr) Render() string

type Acronym

type Acronym struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewAcronym

func NewAcronym(sess *Session, attr string, children ...UIEl) *Acronym

func (*Acronym) AppendChild

func (e *Acronym) AppendChild(child UIEl) int

func (*Acronym) Clone

func (e *Acronym) Clone() UIEl

func (*Acronym) GetChild

func (e *Acronym) GetChild(index int) UIEl

func (*Acronym) GetID

func (e *Acronym) GetID() string

func (*Acronym) RemoveChild

func (e *Acronym) RemoveChild(index int)

func (*Acronym) Render

func (e *Acronym) Render() string

type Address

type Address struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewAddress

func NewAddress(sess *Session, attr string, children ...UIEl) *Address

func (*Address) AppendChild

func (e *Address) AppendChild(child UIEl) int

func (*Address) Clone

func (e *Address) Clone() UIEl

func (*Address) GetChild

func (e *Address) GetChild(index int) UIEl

func (*Address) GetID

func (e *Address) GetID() string

func (*Address) RemoveChild

func (e *Address) RemoveChild(index int)

func (*Address) Render

func (e *Address) Render() string

type Animate

type Animate struct {
	Session      *Session
	Children     []UIEl
	Attr         string
	Id           string
	OnBeginEvent *Signal[UIEl]
	OnEndEvent   *Signal[UIEl]
}

func NewAnimate

func NewAnimate(sess *Session, attr string, children ...UIEl) *Animate

func (*Animate) AppendChild

func (e *Animate) AppendChild(child UIEl) int

func (*Animate) Clone

func (e *Animate) Clone() UIEl

func (*Animate) GetChild

func (e *Animate) GetChild(index int) UIEl

func (*Animate) GetID

func (e *Animate) GetID() string

func (*Animate) RemoveChild

func (e *Animate) RemoveChild(index int)

func (*Animate) Render

func (e *Animate) Render() string

func (*Animate) WithBeginEvent

func (e *Animate) WithBeginEvent(sig *Signal[UIEl]) *Animate

func (*Animate) WithEndEvent

func (e *Animate) WithEndEvent(sig *Signal[UIEl]) *Animate

type AnimateMotion

type AnimateMotion struct {
	Session      *Session
	Children     []UIEl
	Attr         string
	Id           string
	OnBeginEvent *Signal[UIEl]
	OnEndEvent   *Signal[UIEl]
}

func NewAnimateMotion

func NewAnimateMotion(sess *Session, attr string, children ...UIEl) *AnimateMotion

func (*AnimateMotion) AppendChild

func (e *AnimateMotion) AppendChild(child UIEl) int

func (*AnimateMotion) Clone

func (e *AnimateMotion) Clone() UIEl

func (*AnimateMotion) GetChild

func (e *AnimateMotion) GetChild(index int) UIEl

func (*AnimateMotion) GetID

func (e *AnimateMotion) GetID() string

func (*AnimateMotion) RemoveChild

func (e *AnimateMotion) RemoveChild(index int)

func (*AnimateMotion) Render

func (e *AnimateMotion) Render() string

func (*AnimateMotion) WithBeginEvent

func (e *AnimateMotion) WithBeginEvent(sig *Signal[UIEl]) *AnimateMotion

func (*AnimateMotion) WithEndEvent

func (e *AnimateMotion) WithEndEvent(sig *Signal[UIEl]) *AnimateMotion

type AnimateTransform

type AnimateTransform struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewAnimateTransform

func NewAnimateTransform(sess *Session, attr string, children ...UIEl) *AnimateTransform

func (*AnimateTransform) AppendChild

func (e *AnimateTransform) AppendChild(child UIEl) int

func (*AnimateTransform) Clone

func (e *AnimateTransform) Clone() UIEl

func (*AnimateTransform) GetChild

func (e *AnimateTransform) GetChild(index int) UIEl

func (*AnimateTransform) GetID

func (e *AnimateTransform) GetID() string

func (*AnimateTransform) RemoveChild

func (e *AnimateTransform) RemoveChild(index int)

func (*AnimateTransform) Render

func (e *AnimateTransform) Render() string

type Annotation

type Annotation struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewAnnotation

func NewAnnotation(sess *Session, attr string, children ...UIEl) *Annotation

func (*Annotation) AppendChild

func (e *Annotation) AppendChild(child UIEl) int

func (*Annotation) Clone

func (e *Annotation) Clone() UIEl

func (*Annotation) GetChild

func (e *Annotation) GetChild(index int) UIEl

func (*Annotation) GetID

func (e *Annotation) GetID() string

func (*Annotation) RemoveChild

func (e *Annotation) RemoveChild(index int)

func (*Annotation) Render

func (e *Annotation) Render() string

type AnnotationXml

type AnnotationXml struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewAnnotationXml

func NewAnnotationXml(sess *Session, attr string, children ...UIEl) *AnnotationXml

func (*AnnotationXml) AppendChild

func (e *AnnotationXml) AppendChild(child UIEl) int

func (*AnnotationXml) Clone

func (e *AnnotationXml) Clone() UIEl

func (*AnnotationXml) GetChild

func (e *AnnotationXml) GetChild(index int) UIEl

func (*AnnotationXml) GetID

func (e *AnnotationXml) GetID() string

func (*AnnotationXml) RemoveChild

func (e *AnnotationXml) RemoveChild(index int)

func (*AnnotationXml) Render

func (e *AnnotationXml) Render() string

type Applet

type Applet struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewApplet

func NewApplet(sess *Session, attr string, children ...UIEl) *Applet

func (*Applet) AppendChild

func (e *Applet) AppendChild(child UIEl) int

func (*Applet) Clone

func (e *Applet) Clone() UIEl

func (*Applet) GetChild

func (e *Applet) GetChild(index int) UIEl

func (*Applet) GetID

func (e *Applet) GetID() string

func (*Applet) RemoveChild

func (e *Applet) RemoveChild(index int)

func (*Applet) Render

func (e *Applet) Render() string

type Area

type Area struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewArea

func NewArea(sess *Session, attr string, children ...UIEl) *Area

func (*Area) AppendChild

func (e *Area) AppendChild(child UIEl) int

func (*Area) Clone

func (e *Area) Clone() UIEl

func (*Area) GetChild

func (e *Area) GetChild(index int) UIEl

func (*Area) GetID

func (e *Area) GetID() string

func (*Area) RemoveChild

func (e *Area) RemoveChild(index int)

func (*Area) Render

func (e *Area) Render() string

type Article

type Article struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewArticle

func NewArticle(sess *Session, attr string, children ...UIEl) *Article

func (*Article) AppendChild

func (e *Article) AppendChild(child UIEl) int

func (*Article) Clone

func (e *Article) Clone() UIEl

func (*Article) GetChild

func (e *Article) GetChild(index int) UIEl

func (*Article) GetID

func (e *Article) GetID() string

func (*Article) RemoveChild

func (e *Article) RemoveChild(index int)

func (*Article) Render

func (e *Article) Render() string

type Aside

type Aside struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewAside

func NewAside(sess *Session, attr string, children ...UIEl) *Aside

func (*Aside) AppendChild

func (e *Aside) AppendChild(child UIEl) int

func (*Aside) Clone

func (e *Aside) Clone() UIEl

func (*Aside) GetChild

func (e *Aside) GetChild(index int) UIEl

func (*Aside) GetID

func (e *Aside) GetID() string

func (*Aside) RemoveChild

func (e *Aside) RemoveChild(index int)

func (*Aside) Render

func (e *Aside) Render() string

type Audio

type Audio struct {
	Session        *Session
	Children       []UIEl
	Attr           string
	Id             string
	OnPlay         *Signal[UIEl]
	OnPause        *Signal[UIEl]
	OnEnded        *Signal[UIEl]
	OnTimeupdate   *Signal[UIEl]
	OnSeeking      *Signal[UIEl]
	OnVolumechange *Signal[UIEl]
}

func NewAudio

func NewAudio(sess *Session, attr string, children ...UIEl) *Audio

func (*Audio) AppendChild

func (e *Audio) AppendChild(child UIEl) int

func (*Audio) Clone

func (e *Audio) Clone() UIEl

func (*Audio) GetChild

func (e *Audio) GetChild(index int) UIEl

func (*Audio) GetID

func (e *Audio) GetID() string

func (*Audio) RemoveChild

func (e *Audio) RemoveChild(index int)

func (*Audio) Render

func (e *Audio) Render() string

func (*Audio) WithEnded

func (e *Audio) WithEnded(sig *Signal[UIEl]) *Audio

func (*Audio) WithPause

func (e *Audio) WithPause(sig *Signal[UIEl]) *Audio

func (*Audio) WithPlay

func (e *Audio) WithPlay(sig *Signal[UIEl]) *Audio

func (*Audio) WithSeeking

func (e *Audio) WithSeeking(sig *Signal[UIEl]) *Audio

func (*Audio) WithTimeupdate

func (e *Audio) WithTimeupdate(sig *Signal[UIEl]) *Audio

func (*Audio) WithVolumechange

func (e *Audio) WithVolumechange(sig *Signal[UIEl]) *Audio

type B

type B struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewB

func NewB(sess *Session, attr string, children ...UIEl) *B

func (*B) AppendChild

func (e *B) AppendChild(child UIEl) int

func (*B) Clone

func (e *B) Clone() UIEl

func (*B) GetChild

func (e *B) GetChild(index int) UIEl

func (*B) GetID

func (e *B) GetID() string

func (*B) RemoveChild

func (e *B) RemoveChild(index int)

func (*B) Render

func (e *B) Render() string

type Base

type Base struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewBase

func NewBase(sess *Session, attr string, children ...UIEl) *Base

func (*Base) AppendChild

func (e *Base) AppendChild(child UIEl) int

func (*Base) Clone

func (e *Base) Clone() UIEl

func (*Base) GetChild

func (e *Base) GetChild(index int) UIEl

func (*Base) GetID

func (e *Base) GetID() string

func (*Base) RemoveChild

func (e *Base) RemoveChild(index int)

func (*Base) Render

func (e *Base) Render() string

type Basefont

type Basefont struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewBasefont

func NewBasefont(sess *Session, attr string, children ...UIEl) *Basefont

func (*Basefont) AppendChild

func (e *Basefont) AppendChild(child UIEl) int

func (*Basefont) Clone

func (e *Basefont) Clone() UIEl

func (*Basefont) GetChild

func (e *Basefont) GetChild(index int) UIEl

func (*Basefont) GetID

func (e *Basefont) GetID() string

func (*Basefont) RemoveChild

func (e *Basefont) RemoveChild(index int)

func (*Basefont) Render

func (e *Basefont) Render() string

type Bdi

type Bdi struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewBdi

func NewBdi(sess *Session, attr string, children ...UIEl) *Bdi

func (*Bdi) AppendChild

func (e *Bdi) AppendChild(child UIEl) int

func (*Bdi) Clone

func (e *Bdi) Clone() UIEl

func (*Bdi) GetChild

func (e *Bdi) GetChild(index int) UIEl

func (*Bdi) GetID

func (e *Bdi) GetID() string

func (*Bdi) RemoveChild

func (e *Bdi) RemoveChild(index int)

func (*Bdi) Render

func (e *Bdi) Render() string

type Bdo

type Bdo struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewBdo

func NewBdo(sess *Session, attr string, children ...UIEl) *Bdo

func (*Bdo) AppendChild

func (e *Bdo) AppendChild(child UIEl) int

func (*Bdo) Clone

func (e *Bdo) Clone() UIEl

func (*Bdo) GetChild

func (e *Bdo) GetChild(index int) UIEl

func (*Bdo) GetID

func (e *Bdo) GetID() string

func (*Bdo) RemoveChild

func (e *Bdo) RemoveChild(index int)

func (*Bdo) Render

func (e *Bdo) Render() string

type Bgsound

type Bgsound struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewBgsound

func NewBgsound(sess *Session, attr string, children ...UIEl) *Bgsound

func (*Bgsound) AppendChild

func (e *Bgsound) AppendChild(child UIEl) int

func (*Bgsound) Clone

func (e *Bgsound) Clone() UIEl

func (*Bgsound) GetChild

func (e *Bgsound) GetChild(index int) UIEl

func (*Bgsound) GetID

func (e *Bgsound) GetID() string

func (*Bgsound) RemoveChild

func (e *Bgsound) RemoveChild(index int)

func (*Bgsound) Render

func (e *Bgsound) Render() string

type Big

type Big struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewBig

func NewBig(sess *Session, attr string, children ...UIEl) *Big

func (*Big) AppendChild

func (e *Big) AppendChild(child UIEl) int

func (*Big) Clone

func (e *Big) Clone() UIEl

func (*Big) GetChild

func (e *Big) GetChild(index int) UIEl

func (*Big) GetID

func (e *Big) GetID() string

func (*Big) RemoveChild

func (e *Big) RemoveChild(index int)

func (*Big) Render

func (e *Big) Render() string
type Blink struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}
func NewBlink(sess *Session, attr string, children ...UIEl) *Blink

func (*Blink) AppendChild

func (e *Blink) AppendChild(child UIEl) int

func (*Blink) Clone

func (e *Blink) Clone() UIEl

func (*Blink) GetChild

func (e *Blink) GetChild(index int) UIEl

func (*Blink) GetID

func (e *Blink) GetID() string

func (*Blink) RemoveChild

func (e *Blink) RemoveChild(index int)

func (*Blink) Render

func (e *Blink) Render() string

type Blockquote

type Blockquote struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewBlockquote

func NewBlockquote(sess *Session, attr string, children ...UIEl) *Blockquote

func (*Blockquote) AppendChild

func (e *Blockquote) AppendChild(child UIEl) int

func (*Blockquote) Clone

func (e *Blockquote) Clone() UIEl

func (*Blockquote) GetChild

func (e *Blockquote) GetChild(index int) UIEl

func (*Blockquote) GetID

func (e *Blockquote) GetID() string

func (*Blockquote) RemoveChild

func (e *Blockquote) RemoveChild(index int)

func (*Blockquote) Render

func (e *Blockquote) Render() string

type Body

type Body struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewBody

func NewBody(sess *Session, attr string, children ...UIEl) *Body

func (*Body) AppendChild

func (e *Body) AppendChild(child UIEl) int

func (*Body) Clone

func (e *Body) Clone() UIEl

func (*Body) GetChild

func (e *Body) GetChild(index int) UIEl

func (*Body) GetID

func (e *Body) GetID() string

func (*Body) RemoveChild

func (e *Body) RemoveChild(index int)

func (*Body) Render

func (e *Body) Render() string

type Br

type Br struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewBr

func NewBr(sess *Session, attr string, children ...UIEl) *Br

func (*Br) AppendChild

func (e *Br) AppendChild(child UIEl) int

func (*Br) Clone

func (e *Br) Clone() UIEl

func (*Br) GetChild

func (e *Br) GetChild(index int) UIEl

func (*Br) GetID

func (e *Br) GetID() string

func (*Br) RemoveChild

func (e *Br) RemoveChild(index int)

func (*Br) Render

func (e *Br) Render() string

type Button

type Button struct {
	Session   *Session
	Children  []UIEl
	Attr      string
	Id        string
	OnClick   *Signal[UIEl]
	OnFocus   *Signal[UIEl]
	OnBlur    *Signal[UIEl]
	OnKeydown *Signal[UIEl]
	OnKeyup   *Signal[UIEl]
}

func NewButton

func NewButton(sess *Session, attr string, children ...UIEl) *Button

func (*Button) AppendChild

func (e *Button) AppendChild(child UIEl) int

func (*Button) Clone

func (e *Button) Clone() UIEl

func (*Button) GetChild

func (e *Button) GetChild(index int) UIEl

func (*Button) GetID

func (e *Button) GetID() string

func (*Button) RemoveChild

func (e *Button) RemoveChild(index int)

func (*Button) Render

func (e *Button) Render() string

func (*Button) WithBlur

func (e *Button) WithBlur(sig *Signal[UIEl]) *Button

func (*Button) WithClick

func (e *Button) WithClick(sig *Signal[UIEl]) *Button

func (*Button) WithFocus

func (e *Button) WithFocus(sig *Signal[UIEl]) *Button

func (*Button) WithKeydown

func (e *Button) WithKeydown(sig *Signal[UIEl]) *Button

func (*Button) WithKeyup

func (e *Button) WithKeyup(sig *Signal[UIEl]) *Button

type Canvas

type Canvas struct {
	Session     *Session
	Children    []UIEl
	Attr        string
	Id          string
	OnClick     *Signal[UIEl]
	OnMousemove *Signal[UIEl]
	OnMousedown *Signal[UIEl]
	OnMouseup   *Signal[UIEl]
}

func NewCanvas

func NewCanvas(sess *Session, attr string, children ...UIEl) *Canvas

func (*Canvas) AppendChild

func (e *Canvas) AppendChild(child UIEl) int

func (*Canvas) Clone

func (e *Canvas) Clone() UIEl

func (*Canvas) GetChild

func (e *Canvas) GetChild(index int) UIEl

func (*Canvas) GetID

func (e *Canvas) GetID() string

func (*Canvas) RemoveChild

func (e *Canvas) RemoveChild(index int)

func (*Canvas) Render

func (e *Canvas) Render() string

func (*Canvas) WithClick

func (e *Canvas) WithClick(sig *Signal[UIEl]) *Canvas

func (*Canvas) WithMousedown

func (e *Canvas) WithMousedown(sig *Signal[UIEl]) *Canvas

func (*Canvas) WithMousemove

func (e *Canvas) WithMousemove(sig *Signal[UIEl]) *Canvas

func (*Canvas) WithMouseup

func (e *Canvas) WithMouseup(sig *Signal[UIEl]) *Canvas

type Caption

type Caption struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewCaption

func NewCaption(sess *Session, attr string, children ...UIEl) *Caption

func (*Caption) AppendChild

func (e *Caption) AppendChild(child UIEl) int

func (*Caption) Clone

func (e *Caption) Clone() UIEl

func (*Caption) GetChild

func (e *Caption) GetChild(index int) UIEl

func (*Caption) GetID

func (e *Caption) GetID() string

func (*Caption) RemoveChild

func (e *Caption) RemoveChild(index int)

func (*Caption) Render

func (e *Caption) Render() string

type Center

type Center struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewCenter

func NewCenter(sess *Session, attr string, children ...UIEl) *Center

func (*Center) AppendChild

func (e *Center) AppendChild(child UIEl) int

func (*Center) Clone

func (e *Center) Clone() UIEl

func (*Center) GetChild

func (e *Center) GetChild(index int) UIEl

func (*Center) GetID

func (e *Center) GetID() string

func (*Center) RemoveChild

func (e *Center) RemoveChild(index int)

func (*Center) Render

func (e *Center) Render() string

type Circle

type Circle struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewCircle

func NewCircle(sess *Session, attr string, children ...UIEl) *Circle

func (*Circle) AppendChild

func (e *Circle) AppendChild(child UIEl) int

func (*Circle) Clone

func (e *Circle) Clone() UIEl

func (*Circle) GetChild

func (e *Circle) GetChild(index int) UIEl

func (*Circle) GetID

func (e *Circle) GetID() string

func (*Circle) RemoveChild

func (e *Circle) RemoveChild(index int)

func (*Circle) Render

func (e *Circle) Render() string

type Cite

type Cite struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewCite

func NewCite(sess *Session, attr string, children ...UIEl) *Cite

func (*Cite) AppendChild

func (e *Cite) AppendChild(child UIEl) int

func (*Cite) Clone

func (e *Cite) Clone() UIEl

func (*Cite) GetChild

func (e *Cite) GetChild(index int) UIEl

func (*Cite) GetID

func (e *Cite) GetID() string

func (*Cite) RemoveChild

func (e *Cite) RemoveChild(index int)

func (*Cite) Render

func (e *Cite) Render() string

type ClipPath

type ClipPath struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewClipPath

func NewClipPath(sess *Session, attr string, children ...UIEl) *ClipPath

func (*ClipPath) AppendChild

func (e *ClipPath) AppendChild(child UIEl) int

func (*ClipPath) Clone

func (e *ClipPath) Clone() UIEl

func (*ClipPath) GetChild

func (e *ClipPath) GetChild(index int) UIEl

func (*ClipPath) GetID

func (e *ClipPath) GetID() string

func (*ClipPath) RemoveChild

func (e *ClipPath) RemoveChild(index int)

func (*ClipPath) Render

func (e *ClipPath) Render() string

type Code

type Code struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewCode

func NewCode(sess *Session, attr string, children ...UIEl) *Code

func (*Code) AppendChild

func (e *Code) AppendChild(child UIEl) int

func (*Code) Clone

func (e *Code) Clone() UIEl

func (*Code) GetChild

func (e *Code) GetChild(index int) UIEl

func (*Code) GetID

func (e *Code) GetID() string

func (*Code) RemoveChild

func (e *Code) RemoveChild(index int)

func (*Code) Render

func (e *Code) Render() string

type Col

type Col struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewCol

func NewCol(sess *Session, attr string, children ...UIEl) *Col

func (*Col) AppendChild

func (e *Col) AppendChild(child UIEl) int

func (*Col) Clone

func (e *Col) Clone() UIEl

func (*Col) GetChild

func (e *Col) GetChild(index int) UIEl

func (*Col) GetID

func (e *Col) GetID() string

func (*Col) RemoveChild

func (e *Col) RemoveChild(index int)

func (*Col) Render

func (e *Col) Render() string

type Colgroup

type Colgroup struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewColgroup

func NewColgroup(sess *Session, attr string, children ...UIEl) *Colgroup

func (*Colgroup) AppendChild

func (e *Colgroup) AppendChild(child UIEl) int

func (*Colgroup) Clone

func (e *Colgroup) Clone() UIEl

func (*Colgroup) GetChild

func (e *Colgroup) GetChild(index int) UIEl

func (*Colgroup) GetID

func (e *Colgroup) GetID() string

func (*Colgroup) RemoveChild

func (e *Colgroup) RemoveChild(index int)

func (*Colgroup) Render

func (e *Colgroup) Render() string

type Command

type Command struct {
	Type    string `json:"type"`
	ID      string `json:"id"`
	Content string `json:"content,omitempty"`
}

Command is a generic struct for sending commands to the client.

type Component

type Component[T UIEl] struct {
	Children []T
	Session  *Session
	Id       string
	Ctor     func(*Session, TArgs) []T
	Args     TArgs
}

func (*Component[T]) AppendChild

func (c *Component[T]) AppendChild(child UIEl) int

func (*Component[T]) Clone

func (c *Component[T]) Clone() UIEl

func (*Component[T]) GetChild

func (c *Component[T]) GetChild(index int) UIEl

func (*Component[T]) GetID

func (c *Component[T]) GetID() string

func (*Component[T]) RemoveChild

func (c *Component[T]) RemoveChild(index int)

func (*Component[T]) Render

func (c *Component[T]) Render() string

func (*Component[T]) SetArgs

func (c *Component[T]) SetArgs(args TArgs)

type Ctx

type Ctx struct {
	*fiber.Ctx
	Session *Session
}

func (*Ctx) GetSession

func (c *Ctx) GetSession() *Session

func (*Ctx) View

func (c *Ctx) View(view UIEl, title string) error

type Data

type Data struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewData

func NewData(sess *Session, attr string, children ...UIEl) *Data

func (*Data) AppendChild

func (e *Data) AppendChild(child UIEl) int

func (*Data) Clone

func (e *Data) Clone() UIEl

func (*Data) GetChild

func (e *Data) GetChild(index int) UIEl

func (*Data) GetID

func (e *Data) GetID() string

func (*Data) RemoveChild

func (e *Data) RemoveChild(index int)

func (*Data) Render

func (e *Data) Render() string

type Datalist

type Datalist struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewDatalist

func NewDatalist(sess *Session, attr string, children ...UIEl) *Datalist

func (*Datalist) AppendChild

func (e *Datalist) AppendChild(child UIEl) int

func (*Datalist) Clone

func (e *Datalist) Clone() UIEl

func (*Datalist) GetChild

func (e *Datalist) GetChild(index int) UIEl

func (*Datalist) GetID

func (e *Datalist) GetID() string

func (*Datalist) RemoveChild

func (e *Datalist) RemoveChild(index int)

func (*Datalist) Render

func (e *Datalist) Render() string

type Dd

type Dd struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewDd

func NewDd(sess *Session, attr string, children ...UIEl) *Dd

func (*Dd) AppendChild

func (e *Dd) AppendChild(child UIEl) int

func (*Dd) Clone

func (e *Dd) Clone() UIEl

func (*Dd) GetChild

func (e *Dd) GetChild(index int) UIEl

func (*Dd) GetID

func (e *Dd) GetID() string

func (*Dd) RemoveChild

func (e *Dd) RemoveChild(index int)

func (*Dd) Render

func (e *Dd) Render() string

type Defs

type Defs struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewDefs

func NewDefs(sess *Session, attr string, children ...UIEl) *Defs

func (*Defs) AppendChild

func (e *Defs) AppendChild(child UIEl) int

func (*Defs) Clone

func (e *Defs) Clone() UIEl

func (*Defs) GetChild

func (e *Defs) GetChild(index int) UIEl

func (*Defs) GetID

func (e *Defs) GetID() string

func (*Defs) RemoveChild

func (e *Defs) RemoveChild(index int)

func (*Defs) Render

func (e *Defs) Render() string

type Del

type Del struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewDel

func NewDel(sess *Session, attr string, children ...UIEl) *Del

func (*Del) AppendChild

func (e *Del) AppendChild(child UIEl) int

func (*Del) Clone

func (e *Del) Clone() UIEl

func (*Del) GetChild

func (e *Del) GetChild(index int) UIEl

func (*Del) GetID

func (e *Del) GetID() string

func (*Del) RemoveChild

func (e *Del) RemoveChild(index int)

func (*Del) Render

func (e *Del) Render() string

type Desc

type Desc struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewDesc

func NewDesc(sess *Session, attr string, children ...UIEl) *Desc

func (*Desc) AppendChild

func (e *Desc) AppendChild(child UIEl) int

func (*Desc) Clone

func (e *Desc) Clone() UIEl

func (*Desc) GetChild

func (e *Desc) GetChild(index int) UIEl

func (*Desc) GetID

func (e *Desc) GetID() string

func (*Desc) RemoveChild

func (e *Desc) RemoveChild(index int)

func (*Desc) Render

func (e *Desc) Render() string

type Details

type Details struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
	OnToggle *Signal[UIEl]
}

func NewDetails

func NewDetails(sess *Session, attr string, children ...UIEl) *Details

func (*Details) AppendChild

func (e *Details) AppendChild(child UIEl) int

func (*Details) Clone

func (e *Details) Clone() UIEl

func (*Details) GetChild

func (e *Details) GetChild(index int) UIEl

func (*Details) GetID

func (e *Details) GetID() string

func (*Details) RemoveChild

func (e *Details) RemoveChild(index int)

func (*Details) Render

func (e *Details) Render() string

func (*Details) WithToggle

func (e *Details) WithToggle(sig *Signal[UIEl]) *Details

type Dfn

type Dfn struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewDfn

func NewDfn(sess *Session, attr string, children ...UIEl) *Dfn

func (*Dfn) AppendChild

func (e *Dfn) AppendChild(child UIEl) int

func (*Dfn) Clone

func (e *Dfn) Clone() UIEl

func (*Dfn) GetChild

func (e *Dfn) GetChild(index int) UIEl

func (*Dfn) GetID

func (e *Dfn) GetID() string

func (*Dfn) RemoveChild

func (e *Dfn) RemoveChild(index int)

func (*Dfn) Render

func (e *Dfn) Render() string

type Dialog

type Dialog struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
	OnCancel *Signal[UIEl]
	OnClose  *Signal[UIEl]
}

func NewDialog

func NewDialog(sess *Session, attr string, children ...UIEl) *Dialog

func (*Dialog) AppendChild

func (e *Dialog) AppendChild(child UIEl) int

func (*Dialog) Clone

func (e *Dialog) Clone() UIEl

func (*Dialog) GetChild

func (e *Dialog) GetChild(index int) UIEl

func (*Dialog) GetID

func (e *Dialog) GetID() string

func (*Dialog) RemoveChild

func (e *Dialog) RemoveChild(index int)

func (*Dialog) Render

func (e *Dialog) Render() string

func (*Dialog) WithCancel

func (e *Dialog) WithCancel(sig *Signal[UIEl]) *Dialog

func (*Dialog) WithClose

func (e *Dialog) WithClose(sig *Signal[UIEl]) *Dialog

type Dir

type Dir struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewDir

func NewDir(sess *Session, attr string, children ...UIEl) *Dir

func (*Dir) AppendChild

func (e *Dir) AppendChild(child UIEl) int

func (*Dir) Clone

func (e *Dir) Clone() UIEl

func (*Dir) GetChild

func (e *Dir) GetChild(index int) UIEl

func (*Dir) GetID

func (e *Dir) GetID() string

func (*Dir) RemoveChild

func (e *Dir) RemoveChild(index int)

func (*Dir) Render

func (e *Dir) Render() string

type Div

type Div struct {
	Session     *Session
	Children    []UIEl
	Attr        string
	Id          string
	OnClick     *Signal[UIEl]
	OnDblclick  *Signal[UIEl]
	OnDragstart *Signal[UIEl]
	OnDragend   *Signal[UIEl]
	OnDrop      *Signal[UIEl]
}

func NewDiv

func NewDiv(sess *Session, attr string, children ...UIEl) *Div

func (*Div) AppendChild

func (e *Div) AppendChild(child UIEl) int

func (*Div) Clone

func (e *Div) Clone() UIEl

func (*Div) GetChild

func (e *Div) GetChild(index int) UIEl

func (*Div) GetID

func (e *Div) GetID() string

func (*Div) RemoveChild

func (e *Div) RemoveChild(index int)

func (*Div) Render

func (e *Div) Render() string

func (*Div) WithClick

func (e *Div) WithClick(sig *Signal[UIEl]) *Div

func (*Div) WithDblclick

func (e *Div) WithDblclick(sig *Signal[UIEl]) *Div

func (*Div) WithDragend

func (e *Div) WithDragend(sig *Signal[UIEl]) *Div

func (*Div) WithDragstart

func (e *Div) WithDragstart(sig *Signal[UIEl]) *Div

func (*Div) WithDrop

func (e *Div) WithDrop(sig *Signal[UIEl]) *Div

type Dl

type Dl struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewDl

func NewDl(sess *Session, attr string, children ...UIEl) *Dl

func (*Dl) AppendChild

func (e *Dl) AppendChild(child UIEl) int

func (*Dl) Clone

func (e *Dl) Clone() UIEl

func (*Dl) GetChild

func (e *Dl) GetChild(index int) UIEl

func (*Dl) GetID

func (e *Dl) GetID() string

func (*Dl) RemoveChild

func (e *Dl) RemoveChild(index int)

func (*Dl) Render

func (e *Dl) Render() string

type Dt

type Dt struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewDt

func NewDt(sess *Session, attr string, children ...UIEl) *Dt

func (*Dt) AppendChild

func (e *Dt) AppendChild(child UIEl) int

func (*Dt) Clone

func (e *Dt) Clone() UIEl

func (*Dt) GetChild

func (e *Dt) GetChild(index int) UIEl

func (*Dt) GetID

func (e *Dt) GetID() string

func (*Dt) RemoveChild

func (e *Dt) RemoveChild(index int)

func (*Dt) Render

func (e *Dt) Render() string

type Ellipse

type Ellipse struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewEllipse

func NewEllipse(sess *Session, attr string, children ...UIEl) *Ellipse

func (*Ellipse) AppendChild

func (e *Ellipse) AppendChild(child UIEl) int

func (*Ellipse) Clone

func (e *Ellipse) Clone() UIEl

func (*Ellipse) GetChild

func (e *Ellipse) GetChild(index int) UIEl

func (*Ellipse) GetID

func (e *Ellipse) GetID() string

func (*Ellipse) RemoveChild

func (e *Ellipse) RemoveChild(index int)

func (*Ellipse) Render

func (e *Ellipse) Render() string

type Em

type Em struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewEm

func NewEm(sess *Session, attr string, children ...UIEl) *Em

func (*Em) AppendChild

func (e *Em) AppendChild(child UIEl) int

func (*Em) Clone

func (e *Em) Clone() UIEl

func (*Em) GetChild

func (e *Em) GetChild(index int) UIEl

func (*Em) GetID

func (e *Em) GetID() string

func (*Em) RemoveChild

func (e *Em) RemoveChild(index int)

func (*Em) Render

func (e *Em) Render() string

type Embed

type Embed struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewEmbed

func NewEmbed(sess *Session, attr string, children ...UIEl) *Embed

func (*Embed) AppendChild

func (e *Embed) AppendChild(child UIEl) int

func (*Embed) Clone

func (e *Embed) Clone() UIEl

func (*Embed) GetChild

func (e *Embed) GetChild(index int) UIEl

func (*Embed) GetID

func (e *Embed) GetID() string

func (*Embed) RemoveChild

func (e *Embed) RemoveChild(index int)

func (*Embed) Render

func (e *Embed) Render() string

type FeBlend

type FeBlend struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewFeBlend

func NewFeBlend(sess *Session, attr string, children ...UIEl) *FeBlend

func (*FeBlend) AppendChild

func (e *FeBlend) AppendChild(child UIEl) int

func (*FeBlend) Clone

func (e *FeBlend) Clone() UIEl

func (*FeBlend) GetChild

func (e *FeBlend) GetChild(index int) UIEl

func (*FeBlend) GetID

func (e *FeBlend) GetID() string

func (*FeBlend) RemoveChild

func (e *FeBlend) RemoveChild(index int)

func (*FeBlend) Render

func (e *FeBlend) Render() string

type FeColorMatrix

type FeColorMatrix struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewFeColorMatrix

func NewFeColorMatrix(sess *Session, attr string, children ...UIEl) *FeColorMatrix

func (*FeColorMatrix) AppendChild

func (e *FeColorMatrix) AppendChild(child UIEl) int

func (*FeColorMatrix) Clone

func (e *FeColorMatrix) Clone() UIEl

func (*FeColorMatrix) GetChild

func (e *FeColorMatrix) GetChild(index int) UIEl

func (*FeColorMatrix) GetID

func (e *FeColorMatrix) GetID() string

func (*FeColorMatrix) RemoveChild

func (e *FeColorMatrix) RemoveChild(index int)

func (*FeColorMatrix) Render

func (e *FeColorMatrix) Render() string

type FeComponentTransfer

type FeComponentTransfer struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewFeComponentTransfer

func NewFeComponentTransfer(sess *Session, attr string, children ...UIEl) *FeComponentTransfer

func (*FeComponentTransfer) AppendChild

func (e *FeComponentTransfer) AppendChild(child UIEl) int

func (*FeComponentTransfer) Clone

func (e *FeComponentTransfer) Clone() UIEl

func (*FeComponentTransfer) GetChild

func (e *FeComponentTransfer) GetChild(index int) UIEl

func (*FeComponentTransfer) GetID

func (e *FeComponentTransfer) GetID() string

func (*FeComponentTransfer) RemoveChild

func (e *FeComponentTransfer) RemoveChild(index int)

func (*FeComponentTransfer) Render

func (e *FeComponentTransfer) Render() string

type FeComposite

type FeComposite struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewFeComposite

func NewFeComposite(sess *Session, attr string, children ...UIEl) *FeComposite

func (*FeComposite) AppendChild

func (e *FeComposite) AppendChild(child UIEl) int

func (*FeComposite) Clone

func (e *FeComposite) Clone() UIEl

func (*FeComposite) GetChild

func (e *FeComposite) GetChild(index int) UIEl

func (*FeComposite) GetID

func (e *FeComposite) GetID() string

func (*FeComposite) RemoveChild

func (e *FeComposite) RemoveChild(index int)

func (*FeComposite) Render

func (e *FeComposite) Render() string

type FeConvolveMatrix

type FeConvolveMatrix struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewFeConvolveMatrix

func NewFeConvolveMatrix(sess *Session, attr string, children ...UIEl) *FeConvolveMatrix

func (*FeConvolveMatrix) AppendChild

func (e *FeConvolveMatrix) AppendChild(child UIEl) int

func (*FeConvolveMatrix) Clone

func (e *FeConvolveMatrix) Clone() UIEl

func (*FeConvolveMatrix) GetChild

func (e *FeConvolveMatrix) GetChild(index int) UIEl

func (*FeConvolveMatrix) GetID

func (e *FeConvolveMatrix) GetID() string

func (*FeConvolveMatrix) RemoveChild

func (e *FeConvolveMatrix) RemoveChild(index int)

func (*FeConvolveMatrix) Render

func (e *FeConvolveMatrix) Render() string

type FeDiffuseLighting

type FeDiffuseLighting struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewFeDiffuseLighting

func NewFeDiffuseLighting(sess *Session, attr string, children ...UIEl) *FeDiffuseLighting

func (*FeDiffuseLighting) AppendChild

func (e *FeDiffuseLighting) AppendChild(child UIEl) int

func (*FeDiffuseLighting) Clone

func (e *FeDiffuseLighting) Clone() UIEl

func (*FeDiffuseLighting) GetChild

func (e *FeDiffuseLighting) GetChild(index int) UIEl

func (*FeDiffuseLighting) GetID

func (e *FeDiffuseLighting) GetID() string

func (*FeDiffuseLighting) RemoveChild

func (e *FeDiffuseLighting) RemoveChild(index int)

func (*FeDiffuseLighting) Render

func (e *FeDiffuseLighting) Render() string

type FeDisplacementMap

type FeDisplacementMap struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewFeDisplacementMap

func NewFeDisplacementMap(sess *Session, attr string, children ...UIEl) *FeDisplacementMap

func (*FeDisplacementMap) AppendChild

func (e *FeDisplacementMap) AppendChild(child UIEl) int

func (*FeDisplacementMap) Clone

func (e *FeDisplacementMap) Clone() UIEl

func (*FeDisplacementMap) GetChild

func (e *FeDisplacementMap) GetChild(index int) UIEl

func (*FeDisplacementMap) GetID

func (e *FeDisplacementMap) GetID() string

func (*FeDisplacementMap) RemoveChild

func (e *FeDisplacementMap) RemoveChild(index int)

func (*FeDisplacementMap) Render

func (e *FeDisplacementMap) Render() string

type FeDistantLight

type FeDistantLight struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewFeDistantLight

func NewFeDistantLight(sess *Session, attr string, children ...UIEl) *FeDistantLight

func (*FeDistantLight) AppendChild

func (e *FeDistantLight) AppendChild(child UIEl) int

func (*FeDistantLight) Clone

func (e *FeDistantLight) Clone() UIEl

func (*FeDistantLight) GetChild

func (e *FeDistantLight) GetChild(index int) UIEl

func (*FeDistantLight) GetID

func (e *FeDistantLight) GetID() string

func (*FeDistantLight) RemoveChild

func (e *FeDistantLight) RemoveChild(index int)

func (*FeDistantLight) Render

func (e *FeDistantLight) Render() string

type FeDropShadow

type FeDropShadow struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewFeDropShadow

func NewFeDropShadow(sess *Session, attr string, children ...UIEl) *FeDropShadow

func (*FeDropShadow) AppendChild

func (e *FeDropShadow) AppendChild(child UIEl) int

func (*FeDropShadow) Clone

func (e *FeDropShadow) Clone() UIEl

func (*FeDropShadow) GetChild

func (e *FeDropShadow) GetChild(index int) UIEl

func (*FeDropShadow) GetID

func (e *FeDropShadow) GetID() string

func (*FeDropShadow) RemoveChild

func (e *FeDropShadow) RemoveChild(index int)

func (*FeDropShadow) Render

func (e *FeDropShadow) Render() string

type FeFlood

type FeFlood struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewFeFlood

func NewFeFlood(sess *Session, attr string, children ...UIEl) *FeFlood

func (*FeFlood) AppendChild

func (e *FeFlood) AppendChild(child UIEl) int

func (*FeFlood) Clone

func (e *FeFlood) Clone() UIEl

func (*FeFlood) GetChild

func (e *FeFlood) GetChild(index int) UIEl

func (*FeFlood) GetID

func (e *FeFlood) GetID() string

func (*FeFlood) RemoveChild

func (e *FeFlood) RemoveChild(index int)

func (*FeFlood) Render

func (e *FeFlood) Render() string

type FeFuncA

type FeFuncA struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewFeFuncA

func NewFeFuncA(sess *Session, attr string, children ...UIEl) *FeFuncA

func (*FeFuncA) AppendChild

func (e *FeFuncA) AppendChild(child UIEl) int

func (*FeFuncA) Clone

func (e *FeFuncA) Clone() UIEl

func (*FeFuncA) GetChild

func (e *FeFuncA) GetChild(index int) UIEl

func (*FeFuncA) GetID

func (e *FeFuncA) GetID() string

func (*FeFuncA) RemoveChild

func (e *FeFuncA) RemoveChild(index int)

func (*FeFuncA) Render

func (e *FeFuncA) Render() string

type FeFuncB

type FeFuncB struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewFeFuncB

func NewFeFuncB(sess *Session, attr string, children ...UIEl) *FeFuncB

func (*FeFuncB) AppendChild

func (e *FeFuncB) AppendChild(child UIEl) int

func (*FeFuncB) Clone

func (e *FeFuncB) Clone() UIEl

func (*FeFuncB) GetChild

func (e *FeFuncB) GetChild(index int) UIEl

func (*FeFuncB) GetID

func (e *FeFuncB) GetID() string

func (*FeFuncB) RemoveChild

func (e *FeFuncB) RemoveChild(index int)

func (*FeFuncB) Render

func (e *FeFuncB) Render() string

type FeFuncG

type FeFuncG struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewFeFuncG

func NewFeFuncG(sess *Session, attr string, children ...UIEl) *FeFuncG

func (*FeFuncG) AppendChild

func (e *FeFuncG) AppendChild(child UIEl) int

func (*FeFuncG) Clone

func (e *FeFuncG) Clone() UIEl

func (*FeFuncG) GetChild

func (e *FeFuncG) GetChild(index int) UIEl

func (*FeFuncG) GetID

func (e *FeFuncG) GetID() string

func (*FeFuncG) RemoveChild

func (e *FeFuncG) RemoveChild(index int)

func (*FeFuncG) Render

func (e *FeFuncG) Render() string

type FeFuncR

type FeFuncR struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewFeFuncR

func NewFeFuncR(sess *Session, attr string, children ...UIEl) *FeFuncR

func (*FeFuncR) AppendChild

func (e *FeFuncR) AppendChild(child UIEl) int

func (*FeFuncR) Clone

func (e *FeFuncR) Clone() UIEl

func (*FeFuncR) GetChild

func (e *FeFuncR) GetChild(index int) UIEl

func (*FeFuncR) GetID

func (e *FeFuncR) GetID() string

func (*FeFuncR) RemoveChild

func (e *FeFuncR) RemoveChild(index int)

func (*FeFuncR) Render

func (e *FeFuncR) Render() string

type FeGaussianBlur

type FeGaussianBlur struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewFeGaussianBlur

func NewFeGaussianBlur(sess *Session, attr string, children ...UIEl) *FeGaussianBlur

func (*FeGaussianBlur) AppendChild

func (e *FeGaussianBlur) AppendChild(child UIEl) int

func (*FeGaussianBlur) Clone

func (e *FeGaussianBlur) Clone() UIEl

func (*FeGaussianBlur) GetChild

func (e *FeGaussianBlur) GetChild(index int) UIEl

func (*FeGaussianBlur) GetID

func (e *FeGaussianBlur) GetID() string

func (*FeGaussianBlur) RemoveChild

func (e *FeGaussianBlur) RemoveChild(index int)

func (*FeGaussianBlur) Render

func (e *FeGaussianBlur) Render() string

type FeImage

type FeImage struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewFeImage

func NewFeImage(sess *Session, attr string, children ...UIEl) *FeImage

func (*FeImage) AppendChild

func (e *FeImage) AppendChild(child UIEl) int

func (*FeImage) Clone

func (e *FeImage) Clone() UIEl

func (*FeImage) GetChild

func (e *FeImage) GetChild(index int) UIEl

func (*FeImage) GetID

func (e *FeImage) GetID() string

func (*FeImage) RemoveChild

func (e *FeImage) RemoveChild(index int)

func (*FeImage) Render

func (e *FeImage) Render() string

type FeMerge

type FeMerge struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewFeMerge

func NewFeMerge(sess *Session, attr string, children ...UIEl) *FeMerge

func (*FeMerge) AppendChild

func (e *FeMerge) AppendChild(child UIEl) int

func (*FeMerge) Clone

func (e *FeMerge) Clone() UIEl

func (*FeMerge) GetChild

func (e *FeMerge) GetChild(index int) UIEl

func (*FeMerge) GetID

func (e *FeMerge) GetID() string

func (*FeMerge) RemoveChild

func (e *FeMerge) RemoveChild(index int)

func (*FeMerge) Render

func (e *FeMerge) Render() string

type FeMergeNode

type FeMergeNode struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewFeMergeNode

func NewFeMergeNode(sess *Session, attr string, children ...UIEl) *FeMergeNode

func (*FeMergeNode) AppendChild

func (e *FeMergeNode) AppendChild(child UIEl) int

func (*FeMergeNode) Clone

func (e *FeMergeNode) Clone() UIEl

func (*FeMergeNode) GetChild

func (e *FeMergeNode) GetChild(index int) UIEl

func (*FeMergeNode) GetID

func (e *FeMergeNode) GetID() string

func (*FeMergeNode) RemoveChild

func (e *FeMergeNode) RemoveChild(index int)

func (*FeMergeNode) Render

func (e *FeMergeNode) Render() string

type FeMorphology

type FeMorphology struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewFeMorphology

func NewFeMorphology(sess *Session, attr string, children ...UIEl) *FeMorphology

func (*FeMorphology) AppendChild

func (e *FeMorphology) AppendChild(child UIEl) int

func (*FeMorphology) Clone

func (e *FeMorphology) Clone() UIEl

func (*FeMorphology) GetChild

func (e *FeMorphology) GetChild(index int) UIEl

func (*FeMorphology) GetID

func (e *FeMorphology) GetID() string

func (*FeMorphology) RemoveChild

func (e *FeMorphology) RemoveChild(index int)

func (*FeMorphology) Render

func (e *FeMorphology) Render() string

type FeOffset

type FeOffset struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewFeOffset

func NewFeOffset(sess *Session, attr string, children ...UIEl) *FeOffset

func (*FeOffset) AppendChild

func (e *FeOffset) AppendChild(child UIEl) int

func (*FeOffset) Clone

func (e *FeOffset) Clone() UIEl

func (*FeOffset) GetChild

func (e *FeOffset) GetChild(index int) UIEl

func (*FeOffset) GetID

func (e *FeOffset) GetID() string

func (*FeOffset) RemoveChild

func (e *FeOffset) RemoveChild(index int)

func (*FeOffset) Render

func (e *FeOffset) Render() string

type FePointLight

type FePointLight struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewFePointLight

func NewFePointLight(sess *Session, attr string, children ...UIEl) *FePointLight

func (*FePointLight) AppendChild

func (e *FePointLight) AppendChild(child UIEl) int

func (*FePointLight) Clone

func (e *FePointLight) Clone() UIEl

func (*FePointLight) GetChild

func (e *FePointLight) GetChild(index int) UIEl

func (*FePointLight) GetID

func (e *FePointLight) GetID() string

func (*FePointLight) RemoveChild

func (e *FePointLight) RemoveChild(index int)

func (*FePointLight) Render

func (e *FePointLight) Render() string

type FeSpecularLighting

type FeSpecularLighting struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewFeSpecularLighting

func NewFeSpecularLighting(sess *Session, attr string, children ...UIEl) *FeSpecularLighting

func (*FeSpecularLighting) AppendChild

func (e *FeSpecularLighting) AppendChild(child UIEl) int

func (*FeSpecularLighting) Clone

func (e *FeSpecularLighting) Clone() UIEl

func (*FeSpecularLighting) GetChild

func (e *FeSpecularLighting) GetChild(index int) UIEl

func (*FeSpecularLighting) GetID

func (e *FeSpecularLighting) GetID() string

func (*FeSpecularLighting) RemoveChild

func (e *FeSpecularLighting) RemoveChild(index int)

func (*FeSpecularLighting) Render

func (e *FeSpecularLighting) Render() string

type FeSpotLight

type FeSpotLight struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewFeSpotLight

func NewFeSpotLight(sess *Session, attr string, children ...UIEl) *FeSpotLight

func (*FeSpotLight) AppendChild

func (e *FeSpotLight) AppendChild(child UIEl) int

func (*FeSpotLight) Clone

func (e *FeSpotLight) Clone() UIEl

func (*FeSpotLight) GetChild

func (e *FeSpotLight) GetChild(index int) UIEl

func (*FeSpotLight) GetID

func (e *FeSpotLight) GetID() string

func (*FeSpotLight) RemoveChild

func (e *FeSpotLight) RemoveChild(index int)

func (*FeSpotLight) Render

func (e *FeSpotLight) Render() string

type FeTile

type FeTile struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewFeTile

func NewFeTile(sess *Session, attr string, children ...UIEl) *FeTile

func (*FeTile) AppendChild

func (e *FeTile) AppendChild(child UIEl) int

func (*FeTile) Clone

func (e *FeTile) Clone() UIEl

func (*FeTile) GetChild

func (e *FeTile) GetChild(index int) UIEl

func (*FeTile) GetID

func (e *FeTile) GetID() string

func (*FeTile) RemoveChild

func (e *FeTile) RemoveChild(index int)

func (*FeTile) Render

func (e *FeTile) Render() string

type FeTurbulence

type FeTurbulence struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewFeTurbulence

func NewFeTurbulence(sess *Session, attr string, children ...UIEl) *FeTurbulence

func (*FeTurbulence) AppendChild

func (e *FeTurbulence) AppendChild(child UIEl) int

func (*FeTurbulence) Clone

func (e *FeTurbulence) Clone() UIEl

func (*FeTurbulence) GetChild

func (e *FeTurbulence) GetChild(index int) UIEl

func (*FeTurbulence) GetID

func (e *FeTurbulence) GetID() string

func (*FeTurbulence) RemoveChild

func (e *FeTurbulence) RemoveChild(index int)

func (*FeTurbulence) Render

func (e *FeTurbulence) Render() string

type Fencedframe

type Fencedframe struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewFencedframe

func NewFencedframe(sess *Session, attr string, children ...UIEl) *Fencedframe

func (*Fencedframe) AppendChild

func (e *Fencedframe) AppendChild(child UIEl) int

func (*Fencedframe) Clone

func (e *Fencedframe) Clone() UIEl

func (*Fencedframe) GetChild

func (e *Fencedframe) GetChild(index int) UIEl

func (*Fencedframe) GetID

func (e *Fencedframe) GetID() string

func (*Fencedframe) RemoveChild

func (e *Fencedframe) RemoveChild(index int)

func (*Fencedframe) Render

func (e *Fencedframe) Render() string

type Fieldset

type Fieldset struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewFieldset

func NewFieldset(sess *Session, attr string, children ...UIEl) *Fieldset

func (*Fieldset) AppendChild

func (e *Fieldset) AppendChild(child UIEl) int

func (*Fieldset) Clone

func (e *Fieldset) Clone() UIEl

func (*Fieldset) GetChild

func (e *Fieldset) GetChild(index int) UIEl

func (*Fieldset) GetID

func (e *Fieldset) GetID() string

func (*Fieldset) RemoveChild

func (e *Fieldset) RemoveChild(index int)

func (*Fieldset) Render

func (e *Fieldset) Render() string

type Figcaption

type Figcaption struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewFigcaption

func NewFigcaption(sess *Session, attr string, children ...UIEl) *Figcaption

func (*Figcaption) AppendChild

func (e *Figcaption) AppendChild(child UIEl) int

func (*Figcaption) Clone

func (e *Figcaption) Clone() UIEl

func (*Figcaption) GetChild

func (e *Figcaption) GetChild(index int) UIEl

func (*Figcaption) GetID

func (e *Figcaption) GetID() string

func (*Figcaption) RemoveChild

func (e *Figcaption) RemoveChild(index int)

func (*Figcaption) Render

func (e *Figcaption) Render() string

type Figure

type Figure struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewFigure

func NewFigure(sess *Session, attr string, children ...UIEl) *Figure

func (*Figure) AppendChild

func (e *Figure) AppendChild(child UIEl) int

func (*Figure) Clone

func (e *Figure) Clone() UIEl

func (*Figure) GetChild

func (e *Figure) GetChild(index int) UIEl

func (*Figure) GetID

func (e *Figure) GetID() string

func (*Figure) RemoveChild

func (e *Figure) RemoveChild(index int)

func (*Figure) Render

func (e *Figure) Render() string

type Filter

type Filter struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewFilter

func NewFilter(sess *Session, attr string, children ...UIEl) *Filter

func (*Filter) AppendChild

func (e *Filter) AppendChild(child UIEl) int

func (*Filter) Clone

func (e *Filter) Clone() UIEl

func (*Filter) GetChild

func (e *Filter) GetChild(index int) UIEl

func (*Filter) GetID

func (e *Filter) GetID() string

func (*Filter) RemoveChild

func (e *Filter) RemoveChild(index int)

func (*Filter) Render

func (e *Filter) Render() string

type Font

type Font struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewFont

func NewFont(sess *Session, attr string, children ...UIEl) *Font

func (*Font) AppendChild

func (e *Font) AppendChild(child UIEl) int

func (*Font) Clone

func (e *Font) Clone() UIEl

func (*Font) GetChild

func (e *Font) GetChild(index int) UIEl

func (*Font) GetID

func (e *Font) GetID() string

func (*Font) RemoveChild

func (e *Font) RemoveChild(index int)

func (*Font) Render

func (e *Font) Render() string
type Footer struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewFooter

func NewFooter(sess *Session, attr string, children ...UIEl) *Footer

func (*Footer) AppendChild

func (e *Footer) AppendChild(child UIEl) int

func (*Footer) Clone

func (e *Footer) Clone() UIEl

func (*Footer) GetChild

func (e *Footer) GetChild(index int) UIEl

func (*Footer) GetID

func (e *Footer) GetID() string

func (*Footer) RemoveChild

func (e *Footer) RemoveChild(index int)

func (*Footer) Render

func (e *Footer) Render() string

type ForeignObject

type ForeignObject struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewForeignObject

func NewForeignObject(sess *Session, attr string, children ...UIEl) *ForeignObject

func (*ForeignObject) AppendChild

func (e *ForeignObject) AppendChild(child UIEl) int

func (*ForeignObject) Clone

func (e *ForeignObject) Clone() UIEl

func (*ForeignObject) GetChild

func (e *ForeignObject) GetChild(index int) UIEl

func (*ForeignObject) GetID

func (e *ForeignObject) GetID() string

func (*ForeignObject) RemoveChild

func (e *ForeignObject) RemoveChild(index int)

func (*ForeignObject) Render

func (e *ForeignObject) Render() string

type Form

type Form struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
	OnSubmit *Signal[UIEl]
	OnReset  *Signal[UIEl]
}

func NewForm

func NewForm(sess *Session, attr string, children ...UIEl) *Form

func (*Form) AppendChild

func (e *Form) AppendChild(child UIEl) int

func (*Form) Clone

func (e *Form) Clone() UIEl

func (*Form) GetChild

func (e *Form) GetChild(index int) UIEl

func (*Form) GetID

func (e *Form) GetID() string

func (*Form) RemoveChild

func (e *Form) RemoveChild(index int)

func (*Form) Render

func (e *Form) Render() string

func (*Form) WithReset

func (e *Form) WithReset(sig *Signal[UIEl]) *Form

func (*Form) WithSubmit

func (e *Form) WithSubmit(sig *Signal[UIEl]) *Form

type Fragment

type Fragment struct {
	Children []UIEl
}

func NewFragment

func NewFragment(children ...UIEl) *Fragment

NewFragment creates a new Fragment instance.

func (*Fragment) AppendChild

func (f *Fragment) AppendChild(child UIEl) int

AppendChild adds a child to the Fragment.

func (*Fragment) Clone

func (f *Fragment) Clone() UIEl

Clone creates a deep copy of the Fragment.

func (*Fragment) GetChild

func (f *Fragment) GetChild(index int) UIEl

GetChild returns a child by index.

func (*Fragment) GetID

func (f *Fragment) GetID() string

GetID returns an empty string as a Fragment has no DOM identity.

func (*Fragment) RemoveChild

func (f *Fragment) RemoveChild(index int)

RemoveChild removes a child by index.

func (*Fragment) Render

func (f *Fragment) Render() string

Render concatenates the HTML of its children.

type Frame

type Frame struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewFrame

func NewFrame(sess *Session, attr string, children ...UIEl) *Frame

func (*Frame) AppendChild

func (e *Frame) AppendChild(child UIEl) int

func (*Frame) Clone

func (e *Frame) Clone() UIEl

func (*Frame) GetChild

func (e *Frame) GetChild(index int) UIEl

func (*Frame) GetID

func (e *Frame) GetID() string

func (*Frame) RemoveChild

func (e *Frame) RemoveChild(index int)

func (*Frame) Render

func (e *Frame) Render() string

type Frameset

type Frameset struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewFrameset

func NewFrameset(sess *Session, attr string, children ...UIEl) *Frameset

func (*Frameset) AppendChild

func (e *Frameset) AppendChild(child UIEl) int

func (*Frameset) Clone

func (e *Frameset) Clone() UIEl

func (*Frameset) GetChild

func (e *Frameset) GetChild(index int) UIEl

func (*Frameset) GetID

func (e *Frameset) GetID() string

func (*Frameset) RemoveChild

func (e *Frameset) RemoveChild(index int)

func (*Frameset) Render

func (e *Frameset) Render() string

type G

type G struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewG

func NewG(sess *Session, attr string, children ...UIEl) *G

func (*G) AppendChild

func (e *G) AppendChild(child UIEl) int

func (*G) Clone

func (e *G) Clone() UIEl

func (*G) GetChild

func (e *G) GetChild(index int) UIEl

func (*G) GetID

func (e *G) GetID() string

func (*G) RemoveChild

func (e *G) RemoveChild(index int)

func (*G) Render

func (e *G) Render() string

type H1

type H1 struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewH1

func NewH1(sess *Session, attr string, children ...UIEl) *H1

func (*H1) AppendChild

func (e *H1) AppendChild(child UIEl) int

func (*H1) Clone

func (e *H1) Clone() UIEl

func (*H1) GetChild

func (e *H1) GetChild(index int) UIEl

func (*H1) GetID

func (e *H1) GetID() string

func (*H1) RemoveChild

func (e *H1) RemoveChild(index int)

func (*H1) Render

func (e *H1) Render() string

type H2

type H2 struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewH2

func NewH2(sess *Session, attr string, children ...UIEl) *H2

func (*H2) AppendChild

func (e *H2) AppendChild(child UIEl) int

func (*H2) Clone

func (e *H2) Clone() UIEl

func (*H2) GetChild

func (e *H2) GetChild(index int) UIEl

func (*H2) GetID

func (e *H2) GetID() string

func (*H2) RemoveChild

func (e *H2) RemoveChild(index int)

func (*H2) Render

func (e *H2) Render() string

type H3

type H3 struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewH3

func NewH3(sess *Session, attr string, children ...UIEl) *H3

func (*H3) AppendChild

func (e *H3) AppendChild(child UIEl) int

func (*H3) Clone

func (e *H3) Clone() UIEl

func (*H3) GetChild

func (e *H3) GetChild(index int) UIEl

func (*H3) GetID

func (e *H3) GetID() string

func (*H3) RemoveChild

func (e *H3) RemoveChild(index int)

func (*H3) Render

func (e *H3) Render() string

type H4

type H4 struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewH4

func NewH4(sess *Session, attr string, children ...UIEl) *H4

func (*H4) AppendChild

func (e *H4) AppendChild(child UIEl) int

func (*H4) Clone

func (e *H4) Clone() UIEl

func (*H4) GetChild

func (e *H4) GetChild(index int) UIEl

func (*H4) GetID

func (e *H4) GetID() string

func (*H4) RemoveChild

func (e *H4) RemoveChild(index int)

func (*H4) Render

func (e *H4) Render() string

type H5

type H5 struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewH5

func NewH5(sess *Session, attr string, children ...UIEl) *H5

func (*H5) AppendChild

func (e *H5) AppendChild(child UIEl) int

func (*H5) Clone

func (e *H5) Clone() UIEl

func (*H5) GetChild

func (e *H5) GetChild(index int) UIEl

func (*H5) GetID

func (e *H5) GetID() string

func (*H5) RemoveChild

func (e *H5) RemoveChild(index int)

func (*H5) Render

func (e *H5) Render() string

type H6

type H6 struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewH6

func NewH6(sess *Session, attr string, children ...UIEl) *H6

func (*H6) AppendChild

func (e *H6) AppendChild(child UIEl) int

func (*H6) Clone

func (e *H6) Clone() UIEl

func (*H6) GetChild

func (e *H6) GetChild(index int) UIEl

func (*H6) GetID

func (e *H6) GetID() string

func (*H6) RemoveChild

func (e *H6) RemoveChild(index int)

func (*H6) Render

func (e *H6) Render() string
type Head struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewHead

func NewHead(sess *Session, attr string, children ...UIEl) *Head

func (*Head) AppendChild

func (e *Head) AppendChild(child UIEl) int

func (*Head) Clone

func (e *Head) Clone() UIEl

func (*Head) GetChild

func (e *Head) GetChild(index int) UIEl

func (*Head) GetID

func (e *Head) GetID() string

func (*Head) RemoveChild

func (e *Head) RemoveChild(index int)

func (*Head) Render

func (e *Head) Render() string
type Header struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewHeader

func NewHeader(sess *Session, attr string, children ...UIEl) *Header

func (*Header) AppendChild

func (e *Header) AppendChild(child UIEl) int

func (*Header) Clone

func (e *Header) Clone() UIEl

func (*Header) GetChild

func (e *Header) GetChild(index int) UIEl

func (*Header) GetID

func (e *Header) GetID() string

func (*Header) RemoveChild

func (e *Header) RemoveChild(index int)

func (*Header) Render

func (e *Header) Render() string

type Hgroup

type Hgroup struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewHgroup

func NewHgroup(sess *Session, attr string, children ...UIEl) *Hgroup

func (*Hgroup) AppendChild

func (e *Hgroup) AppendChild(child UIEl) int

func (*Hgroup) Clone

func (e *Hgroup) Clone() UIEl

func (*Hgroup) GetChild

func (e *Hgroup) GetChild(index int) UIEl

func (*Hgroup) GetID

func (e *Hgroup) GetID() string

func (*Hgroup) RemoveChild

func (e *Hgroup) RemoveChild(index int)

func (*Hgroup) Render

func (e *Hgroup) Render() string

type Hr

type Hr struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewHr

func NewHr(sess *Session, attr string, children ...UIEl) *Hr

func (*Hr) AppendChild

func (e *Hr) AppendChild(child UIEl) int

func (*Hr) Clone

func (e *Hr) Clone() UIEl

func (*Hr) GetChild

func (e *Hr) GetChild(index int) UIEl

func (*Hr) GetID

func (e *Hr) GetID() string

func (*Hr) RemoveChild

func (e *Hr) RemoveChild(index int)

func (*Hr) Render

func (e *Hr) Render() string

type Html

type Html struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewHtml

func NewHtml(sess *Session, attr string, children ...UIEl) *Html

func (*Html) AppendChild

func (e *Html) AppendChild(child UIEl) int

func (*Html) Clone

func (e *Html) Clone() UIEl

func (*Html) GetChild

func (e *Html) GetChild(index int) UIEl

func (*Html) GetID

func (e *Html) GetID() string

func (*Html) RemoveChild

func (e *Html) RemoveChild(index int)

func (*Html) Render

func (e *Html) Render() string

type I

type I struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewI

func NewI(sess *Session, attr string, children ...UIEl) *I

func (*I) AppendChild

func (e *I) AppendChild(child UIEl) int

func (*I) Clone

func (e *I) Clone() UIEl

func (*I) GetChild

func (e *I) GetChild(index int) UIEl

func (*I) GetID

func (e *I) GetID() string

func (*I) RemoveChild

func (e *I) RemoveChild(index int)

func (*I) Render

func (e *I) Render() string

type Iframe

type Iframe struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewIframe

func NewIframe(sess *Session, attr string, children ...UIEl) *Iframe

func (*Iframe) AppendChild

func (e *Iframe) AppendChild(child UIEl) int

func (*Iframe) Clone

func (e *Iframe) Clone() UIEl

func (*Iframe) GetChild

func (e *Iframe) GetChild(index int) UIEl

func (*Iframe) GetID

func (e *Iframe) GetID() string

func (*Iframe) RemoveChild

func (e *Iframe) RemoveChild(index int)

func (*Iframe) Render

func (e *Iframe) Render() string

type Image

type Image struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewImage

func NewImage(sess *Session, attr string, children ...UIEl) *Image

func (*Image) AppendChild

func (e *Image) AppendChild(child UIEl) int

func (*Image) Clone

func (e *Image) Clone() UIEl

func (*Image) GetChild

func (e *Image) GetChild(index int) UIEl

func (*Image) GetID

func (e *Image) GetID() string

func (*Image) RemoveChild

func (e *Image) RemoveChild(index int)

func (*Image) Render

func (e *Image) Render() string

type Img

type Img struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewImg

func NewImg(sess *Session, attr string, children ...UIEl) *Img

func (*Img) AppendChild

func (e *Img) AppendChild(child UIEl) int

func (*Img) Clone

func (e *Img) Clone() UIEl

func (*Img) GetChild

func (e *Img) GetChild(index int) UIEl

func (*Img) GetID

func (e *Img) GetID() string

func (*Img) RemoveChild

func (e *Img) RemoveChild(index int)

func (*Img) Render

func (e *Img) Render() string

type Input

type Input struct {
	Session   *Session
	Children  []UIEl
	Attr      string
	Id        string
	OnInput   *Signal[UIEl]
	OnChange  *Signal[UIEl]
	OnFocus   *Signal[UIEl]
	OnBlur    *Signal[UIEl]
	OnKeydown *Signal[UIEl]
	OnKeyup   *Signal[UIEl]
	Value     *Signal[string]
}

func NewInput

func NewInput(sess *Session, attr string, children ...UIEl) *Input

func (*Input) AppendChild

func (e *Input) AppendChild(child UIEl) int

func (*Input) Clone

func (e *Input) Clone() UIEl

func (*Input) GetChild

func (e *Input) GetChild(index int) UIEl

func (*Input) GetID

func (e *Input) GetID() string

func (*Input) GetValueSignal

func (e *Input) GetValueSignal() *Signal[string]

func (*Input) RemoveChild

func (e *Input) RemoveChild(index int)

func (*Input) Render

func (e *Input) Render() string

func (*Input) WithBlur

func (e *Input) WithBlur(sig *Signal[UIEl]) *Input

func (*Input) WithChange

func (e *Input) WithChange(sig *Signal[UIEl]) *Input

func (*Input) WithFocus

func (e *Input) WithFocus(sig *Signal[UIEl]) *Input

func (*Input) WithInput

func (e *Input) WithInput(sig *Signal[UIEl]) *Input

func (*Input) WithKeydown

func (e *Input) WithKeydown(sig *Signal[UIEl]) *Input

func (*Input) WithKeyup

func (e *Input) WithKeyup(sig *Signal[UIEl]) *Input

func (*Input) WithValue

func (e *Input) WithValue(sig *Signal[string]) *Input

type Ins

type Ins struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewIns

func NewIns(sess *Session, attr string, children ...UIEl) *Ins

func (*Ins) AppendChild

func (e *Ins) AppendChild(child UIEl) int

func (*Ins) Clone

func (e *Ins) Clone() UIEl

func (*Ins) GetChild

func (e *Ins) GetChild(index int) UIEl

func (*Ins) GetID

func (e *Ins) GetID() string

func (*Ins) RemoveChild

func (e *Ins) RemoveChild(index int)

func (*Ins) Render

func (e *Ins) Render() string

type Isindex

type Isindex struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewIsindex

func NewIsindex(sess *Session, attr string, children ...UIEl) *Isindex

func (*Isindex) AppendChild

func (e *Isindex) AppendChild(child UIEl) int

func (*Isindex) Clone

func (e *Isindex) Clone() UIEl

func (*Isindex) GetChild

func (e *Isindex) GetChild(index int) UIEl

func (*Isindex) GetID

func (e *Isindex) GetID() string

func (*Isindex) RemoveChild

func (e *Isindex) RemoveChild(index int)

func (*Isindex) Render

func (e *Isindex) Render() string

type Kbd

type Kbd struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewKbd

func NewKbd(sess *Session, attr string, children ...UIEl) *Kbd

func (*Kbd) AppendChild

func (e *Kbd) AppendChild(child UIEl) int

func (*Kbd) Clone

func (e *Kbd) Clone() UIEl

func (*Kbd) GetChild

func (e *Kbd) GetChild(index int) UIEl

func (*Kbd) GetID

func (e *Kbd) GetID() string

func (*Kbd) RemoveChild

func (e *Kbd) RemoveChild(index int)

func (*Kbd) Render

func (e *Kbd) Render() string

type Keygen

type Keygen struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewKeygen

func NewKeygen(sess *Session, attr string, children ...UIEl) *Keygen

func (*Keygen) AppendChild

func (e *Keygen) AppendChild(child UIEl) int

func (*Keygen) Clone

func (e *Keygen) Clone() UIEl

func (*Keygen) GetChild

func (e *Keygen) GetChild(index int) UIEl

func (*Keygen) GetID

func (e *Keygen) GetID() string

func (*Keygen) RemoveChild

func (e *Keygen) RemoveChild(index int)

func (*Keygen) Render

func (e *Keygen) Render() string

type Label

type Label struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewLabel

func NewLabel(sess *Session, attr string, children ...UIEl) *Label

func (*Label) AppendChild

func (e *Label) AppendChild(child UIEl) int

func (*Label) Clone

func (e *Label) Clone() UIEl

func (*Label) GetChild

func (e *Label) GetChild(index int) UIEl

func (*Label) GetID

func (e *Label) GetID() string

func (*Label) RemoveChild

func (e *Label) RemoveChild(index int)

func (*Label) Render

func (e *Label) Render() string

type Legend

type Legend struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewLegend

func NewLegend(sess *Session, attr string, children ...UIEl) *Legend

func (*Legend) AppendChild

func (e *Legend) AppendChild(child UIEl) int

func (*Legend) Clone

func (e *Legend) Clone() UIEl

func (*Legend) GetChild

func (e *Legend) GetChild(index int) UIEl

func (*Legend) GetID

func (e *Legend) GetID() string

func (*Legend) RemoveChild

func (e *Legend) RemoveChild(index int)

func (*Legend) Render

func (e *Legend) Render() string

type Li

type Li struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewLi

func NewLi(sess *Session, attr string, children ...UIEl) *Li

func (*Li) AppendChild

func (e *Li) AppendChild(child UIEl) int

func (*Li) Clone

func (e *Li) Clone() UIEl

func (*Li) GetChild

func (e *Li) GetChild(index int) UIEl

func (*Li) GetID

func (e *Li) GetID() string

func (*Li) RemoveChild

func (e *Li) RemoveChild(index int)

func (*Li) Render

func (e *Li) Render() string

type Line

type Line struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewLine

func NewLine(sess *Session, attr string, children ...UIEl) *Line

func (*Line) AppendChild

func (e *Line) AppendChild(child UIEl) int

func (*Line) Clone

func (e *Line) Clone() UIEl

func (*Line) GetChild

func (e *Line) GetChild(index int) UIEl

func (*Line) GetID

func (e *Line) GetID() string

func (*Line) RemoveChild

func (e *Line) RemoveChild(index int)

func (*Line) Render

func (e *Line) Render() string

type LinearGradient

type LinearGradient struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewLinearGradient

func NewLinearGradient(sess *Session, attr string, children ...UIEl) *LinearGradient

func (*LinearGradient) AppendChild

func (e *LinearGradient) AppendChild(child UIEl) int

func (*LinearGradient) Clone

func (e *LinearGradient) Clone() UIEl

func (*LinearGradient) GetChild

func (e *LinearGradient) GetChild(index int) UIEl

func (*LinearGradient) GetID

func (e *LinearGradient) GetID() string

func (*LinearGradient) RemoveChild

func (e *LinearGradient) RemoveChild(index int)

func (*LinearGradient) Render

func (e *LinearGradient) Render() string
type Link struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}
func NewLink(sess *Session, attr string, children ...UIEl) *Link

func (*Link) AppendChild

func (e *Link) AppendChild(child UIEl) int

func (*Link) Clone

func (e *Link) Clone() UIEl

func (*Link) GetChild

func (e *Link) GetChild(index int) UIEl

func (*Link) GetID

func (e *Link) GetID() string

func (*Link) RemoveChild

func (e *Link) RemoveChild(index int)

func (*Link) Render

func (e *Link) Render() string

type Listing

type Listing struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewListing

func NewListing(sess *Session, attr string, children ...UIEl) *Listing

func (*Listing) AppendChild

func (e *Listing) AppendChild(child UIEl) int

func (*Listing) Clone

func (e *Listing) Clone() UIEl

func (*Listing) GetChild

func (e *Listing) GetChild(index int) UIEl

func (*Listing) GetID

func (e *Listing) GetID() string

func (*Listing) RemoveChild

func (e *Listing) RemoveChild(index int)

func (*Listing) Render

func (e *Listing) Render() string

type Maction

type Maction struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewMaction

func NewMaction(sess *Session, attr string, children ...UIEl) *Maction

func (*Maction) AppendChild

func (e *Maction) AppendChild(child UIEl) int

func (*Maction) Clone

func (e *Maction) Clone() UIEl

func (*Maction) GetChild

func (e *Maction) GetChild(index int) UIEl

func (*Maction) GetID

func (e *Maction) GetID() string

func (*Maction) RemoveChild

func (e *Maction) RemoveChild(index int)

func (*Maction) Render

func (e *Maction) Render() string

type Main

type Main struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewMain

func NewMain(sess *Session, attr string, children ...UIEl) *Main

func (*Main) AppendChild

func (e *Main) AppendChild(child UIEl) int

func (*Main) Clone

func (e *Main) Clone() UIEl

func (*Main) GetChild

func (e *Main) GetChild(index int) UIEl

func (*Main) GetID

func (e *Main) GetID() string

func (*Main) RemoveChild

func (e *Main) RemoveChild(index int)

func (*Main) Render

func (e *Main) Render() string

type Map

type Map struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewMap

func NewMap(sess *Session, attr string, children ...UIEl) *Map

func (*Map) AppendChild

func (e *Map) AppendChild(child UIEl) int

func (*Map) Clone

func (e *Map) Clone() UIEl

func (*Map) GetChild

func (e *Map) GetChild(index int) UIEl

func (*Map) GetID

func (e *Map) GetID() string

func (*Map) RemoveChild

func (e *Map) RemoveChild(index int)

func (*Map) Render

func (e *Map) Render() string

type Mark

type Mark struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewMark

func NewMark(sess *Session, attr string, children ...UIEl) *Mark

func (*Mark) AppendChild

func (e *Mark) AppendChild(child UIEl) int

func (*Mark) Clone

func (e *Mark) Clone() UIEl

func (*Mark) GetChild

func (e *Mark) GetChild(index int) UIEl

func (*Mark) GetID

func (e *Mark) GetID() string

func (*Mark) RemoveChild

func (e *Mark) RemoveChild(index int)

func (*Mark) Render

func (e *Mark) Render() string

type Marker

type Marker struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewMarker

func NewMarker(sess *Session, attr string, children ...UIEl) *Marker

func (*Marker) AppendChild

func (e *Marker) AppendChild(child UIEl) int

func (*Marker) Clone

func (e *Marker) Clone() UIEl

func (*Marker) GetChild

func (e *Marker) GetChild(index int) UIEl

func (*Marker) GetID

func (e *Marker) GetID() string

func (*Marker) RemoveChild

func (e *Marker) RemoveChild(index int)

func (*Marker) Render

func (e *Marker) Render() string

type Marquee

type Marquee struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewMarquee

func NewMarquee(sess *Session, attr string, children ...UIEl) *Marquee

func (*Marquee) AppendChild

func (e *Marquee) AppendChild(child UIEl) int

func (*Marquee) Clone

func (e *Marquee) Clone() UIEl

func (*Marquee) GetChild

func (e *Marquee) GetChild(index int) UIEl

func (*Marquee) GetID

func (e *Marquee) GetID() string

func (*Marquee) RemoveChild

func (e *Marquee) RemoveChild(index int)

func (*Marquee) Render

func (e *Marquee) Render() string

type Mask

type Mask struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewMask

func NewMask(sess *Session, attr string, children ...UIEl) *Mask

func (*Mask) AppendChild

func (e *Mask) AppendChild(child UIEl) int

func (*Mask) Clone

func (e *Mask) Clone() UIEl

func (*Mask) GetChild

func (e *Mask) GetChild(index int) UIEl

func (*Mask) GetID

func (e *Mask) GetID() string

func (*Mask) RemoveChild

func (e *Mask) RemoveChild(index int)

func (*Mask) Render

func (e *Mask) Render() string

type Math

type Math struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewMath

func NewMath(sess *Session, attr string, children ...UIEl) *Math

func (*Math) AppendChild

func (e *Math) AppendChild(child UIEl) int

func (*Math) Clone

func (e *Math) Clone() UIEl

func (*Math) GetChild

func (e *Math) GetChild(index int) UIEl

func (*Math) GetID

func (e *Math) GetID() string

func (*Math) RemoveChild

func (e *Math) RemoveChild(index int)

func (*Math) Render

func (e *Math) Render() string
type Menu struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewMenu

func NewMenu(sess *Session, attr string, children ...UIEl) *Menu
func (e *Menu) AppendChild(child UIEl) int
func (e *Menu) Clone() UIEl
func (e *Menu) GetChild(index int) UIEl
func (e *Menu) GetID() string
func (e *Menu) RemoveChild(index int)
func (e *Menu) Render() string
type Menuitem struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewMenuitem

func NewMenuitem(sess *Session, attr string, children ...UIEl) *Menuitem
func (e *Menuitem) AppendChild(child UIEl) int
func (e *Menuitem) Clone() UIEl
func (e *Menuitem) GetChild(index int) UIEl
func (e *Menuitem) GetID() string
func (e *Menuitem) RemoveChild(index int)
func (e *Menuitem) Render() string

type Merror

type Merror struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewMerror

func NewMerror(sess *Session, attr string, children ...UIEl) *Merror

func (*Merror) AppendChild

func (e *Merror) AppendChild(child UIEl) int

func (*Merror) Clone

func (e *Merror) Clone() UIEl

func (*Merror) GetChild

func (e *Merror) GetChild(index int) UIEl

func (*Merror) GetID

func (e *Merror) GetID() string

func (*Merror) RemoveChild

func (e *Merror) RemoveChild(index int)

func (*Merror) Render

func (e *Merror) Render() string

type Meta

type Meta struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewMeta

func NewMeta(sess *Session, attr string, children ...UIEl) *Meta

func (*Meta) AppendChild

func (e *Meta) AppendChild(child UIEl) int

func (*Meta) Clone

func (e *Meta) Clone() UIEl

func (*Meta) GetChild

func (e *Meta) GetChild(index int) UIEl

func (*Meta) GetID

func (e *Meta) GetID() string

func (*Meta) RemoveChild

func (e *Meta) RemoveChild(index int)

func (*Meta) Render

func (e *Meta) Render() string

type Metadata

type Metadata struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewMetadata

func NewMetadata(sess *Session, attr string, children ...UIEl) *Metadata

func (*Metadata) AppendChild

func (e *Metadata) AppendChild(child UIEl) int

func (*Metadata) Clone

func (e *Metadata) Clone() UIEl

func (*Metadata) GetChild

func (e *Metadata) GetChild(index int) UIEl

func (*Metadata) GetID

func (e *Metadata) GetID() string

func (*Metadata) RemoveChild

func (e *Metadata) RemoveChild(index int)

func (*Metadata) Render

func (e *Metadata) Render() string

type Meter

type Meter struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewMeter

func NewMeter(sess *Session, attr string, children ...UIEl) *Meter

func (*Meter) AppendChild

func (e *Meter) AppendChild(child UIEl) int

func (*Meter) Clone

func (e *Meter) Clone() UIEl

func (*Meter) GetChild

func (e *Meter) GetChild(index int) UIEl

func (*Meter) GetID

func (e *Meter) GetID() string

func (*Meter) RemoveChild

func (e *Meter) RemoveChild(index int)

func (*Meter) Render

func (e *Meter) Render() string

type Mfrac

type Mfrac struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewMfrac

func NewMfrac(sess *Session, attr string, children ...UIEl) *Mfrac

func (*Mfrac) AppendChild

func (e *Mfrac) AppendChild(child UIEl) int

func (*Mfrac) Clone

func (e *Mfrac) Clone() UIEl

func (*Mfrac) GetChild

func (e *Mfrac) GetChild(index int) UIEl

func (*Mfrac) GetID

func (e *Mfrac) GetID() string

func (*Mfrac) RemoveChild

func (e *Mfrac) RemoveChild(index int)

func (*Mfrac) Render

func (e *Mfrac) Render() string

type Mi

type Mi struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewMi

func NewMi(sess *Session, attr string, children ...UIEl) *Mi

func (*Mi) AppendChild

func (e *Mi) AppendChild(child UIEl) int

func (*Mi) Clone

func (e *Mi) Clone() UIEl

func (*Mi) GetChild

func (e *Mi) GetChild(index int) UIEl

func (*Mi) GetID

func (e *Mi) GetID() string

func (*Mi) RemoveChild

func (e *Mi) RemoveChild(index int)

func (*Mi) Render

func (e *Mi) Render() string

type Mmultiscripts

type Mmultiscripts struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewMmultiscripts

func NewMmultiscripts(sess *Session, attr string, children ...UIEl) *Mmultiscripts

func (*Mmultiscripts) AppendChild

func (e *Mmultiscripts) AppendChild(child UIEl) int

func (*Mmultiscripts) Clone

func (e *Mmultiscripts) Clone() UIEl

func (*Mmultiscripts) GetChild

func (e *Mmultiscripts) GetChild(index int) UIEl

func (*Mmultiscripts) GetID

func (e *Mmultiscripts) GetID() string

func (*Mmultiscripts) RemoveChild

func (e *Mmultiscripts) RemoveChild(index int)

func (*Mmultiscripts) Render

func (e *Mmultiscripts) Render() string

type Mn

type Mn struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewMn

func NewMn(sess *Session, attr string, children ...UIEl) *Mn

func (*Mn) AppendChild

func (e *Mn) AppendChild(child UIEl) int

func (*Mn) Clone

func (e *Mn) Clone() UIEl

func (*Mn) GetChild

func (e *Mn) GetChild(index int) UIEl

func (*Mn) GetID

func (e *Mn) GetID() string

func (*Mn) RemoveChild

func (e *Mn) RemoveChild(index int)

func (*Mn) Render

func (e *Mn) Render() string

type Mo

type Mo struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewMo

func NewMo(sess *Session, attr string, children ...UIEl) *Mo

func (*Mo) AppendChild

func (e *Mo) AppendChild(child UIEl) int

func (*Mo) Clone

func (e *Mo) Clone() UIEl

func (*Mo) GetChild

func (e *Mo) GetChild(index int) UIEl

func (*Mo) GetID

func (e *Mo) GetID() string

func (*Mo) RemoveChild

func (e *Mo) RemoveChild(index int)

func (*Mo) Render

func (e *Mo) Render() string

type Model

type Model struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewModel

func NewModel(sess *Session, attr string, children ...UIEl) *Model

func (*Model) AppendChild

func (e *Model) AppendChild(child UIEl) int

func (*Model) Clone

func (e *Model) Clone() UIEl

func (*Model) GetChild

func (e *Model) GetChild(index int) UIEl

func (*Model) GetID

func (e *Model) GetID() string

func (*Model) RemoveChild

func (e *Model) RemoveChild(index int)

func (*Model) Render

func (e *Model) Render() string

type Mover

type Mover struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewMover

func NewMover(sess *Session, attr string, children ...UIEl) *Mover

func (*Mover) AppendChild

func (e *Mover) AppendChild(child UIEl) int

func (*Mover) Clone

func (e *Mover) Clone() UIEl

func (*Mover) GetChild

func (e *Mover) GetChild(index int) UIEl

func (*Mover) GetID

func (e *Mover) GetID() string

func (*Mover) RemoveChild

func (e *Mover) RemoveChild(index int)

func (*Mover) Render

func (e *Mover) Render() string

type Mpadded

type Mpadded struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewMpadded

func NewMpadded(sess *Session, attr string, children ...UIEl) *Mpadded

func (*Mpadded) AppendChild

func (e *Mpadded) AppendChild(child UIEl) int

func (*Mpadded) Clone

func (e *Mpadded) Clone() UIEl

func (*Mpadded) GetChild

func (e *Mpadded) GetChild(index int) UIEl

func (*Mpadded) GetID

func (e *Mpadded) GetID() string

func (*Mpadded) RemoveChild

func (e *Mpadded) RemoveChild(index int)

func (*Mpadded) Render

func (e *Mpadded) Render() string

type Mpath

type Mpath struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewMpath

func NewMpath(sess *Session, attr string, children ...UIEl) *Mpath

func (*Mpath) AppendChild

func (e *Mpath) AppendChild(child UIEl) int

func (*Mpath) Clone

func (e *Mpath) Clone() UIEl

func (*Mpath) GetChild

func (e *Mpath) GetChild(index int) UIEl

func (*Mpath) GetID

func (e *Mpath) GetID() string

func (*Mpath) RemoveChild

func (e *Mpath) RemoveChild(index int)

func (*Mpath) Render

func (e *Mpath) Render() string

type Mphantom

type Mphantom struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewMphantom

func NewMphantom(sess *Session, attr string, children ...UIEl) *Mphantom

func (*Mphantom) AppendChild

func (e *Mphantom) AppendChild(child UIEl) int

func (*Mphantom) Clone

func (e *Mphantom) Clone() UIEl

func (*Mphantom) GetChild

func (e *Mphantom) GetChild(index int) UIEl

func (*Mphantom) GetID

func (e *Mphantom) GetID() string

func (*Mphantom) RemoveChild

func (e *Mphantom) RemoveChild(index int)

func (*Mphantom) Render

func (e *Mphantom) Render() string

type Mprescripts

type Mprescripts struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewMprescripts

func NewMprescripts(sess *Session, attr string, children ...UIEl) *Mprescripts

func (*Mprescripts) AppendChild

func (e *Mprescripts) AppendChild(child UIEl) int

func (*Mprescripts) Clone

func (e *Mprescripts) Clone() UIEl

func (*Mprescripts) GetChild

func (e *Mprescripts) GetChild(index int) UIEl

func (*Mprescripts) GetID

func (e *Mprescripts) GetID() string

func (*Mprescripts) RemoveChild

func (e *Mprescripts) RemoveChild(index int)

func (*Mprescripts) Render

func (e *Mprescripts) Render() string

type Mroot

type Mroot struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewMroot

func NewMroot(sess *Session, attr string, children ...UIEl) *Mroot

func (*Mroot) AppendChild

func (e *Mroot) AppendChild(child UIEl) int

func (*Mroot) Clone

func (e *Mroot) Clone() UIEl

func (*Mroot) GetChild

func (e *Mroot) GetChild(index int) UIEl

func (*Mroot) GetID

func (e *Mroot) GetID() string

func (*Mroot) RemoveChild

func (e *Mroot) RemoveChild(index int)

func (*Mroot) Render

func (e *Mroot) Render() string

type Mrow

type Mrow struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewMrow

func NewMrow(sess *Session, attr string, children ...UIEl) *Mrow

func (*Mrow) AppendChild

func (e *Mrow) AppendChild(child UIEl) int

func (*Mrow) Clone

func (e *Mrow) Clone() UIEl

func (*Mrow) GetChild

func (e *Mrow) GetChild(index int) UIEl

func (*Mrow) GetID

func (e *Mrow) GetID() string

func (*Mrow) RemoveChild

func (e *Mrow) RemoveChild(index int)

func (*Mrow) Render

func (e *Mrow) Render() string

type Ms

type Ms struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewMs

func NewMs(sess *Session, attr string, children ...UIEl) *Ms

func (*Ms) AppendChild

func (e *Ms) AppendChild(child UIEl) int

func (*Ms) Clone

func (e *Ms) Clone() UIEl

func (*Ms) GetChild

func (e *Ms) GetChild(index int) UIEl

func (*Ms) GetID

func (e *Ms) GetID() string

func (*Ms) RemoveChild

func (e *Ms) RemoveChild(index int)

func (*Ms) Render

func (e *Ms) Render() string

type Mspace

type Mspace struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewMspace

func NewMspace(sess *Session, attr string, children ...UIEl) *Mspace

func (*Mspace) AppendChild

func (e *Mspace) AppendChild(child UIEl) int

func (*Mspace) Clone

func (e *Mspace) Clone() UIEl

func (*Mspace) GetChild

func (e *Mspace) GetChild(index int) UIEl

func (*Mspace) GetID

func (e *Mspace) GetID() string

func (*Mspace) RemoveChild

func (e *Mspace) RemoveChild(index int)

func (*Mspace) Render

func (e *Mspace) Render() string

type Msqrt

type Msqrt struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewMsqrt

func NewMsqrt(sess *Session, attr string, children ...UIEl) *Msqrt

func (*Msqrt) AppendChild

func (e *Msqrt) AppendChild(child UIEl) int

func (*Msqrt) Clone

func (e *Msqrt) Clone() UIEl

func (*Msqrt) GetChild

func (e *Msqrt) GetChild(index int) UIEl

func (*Msqrt) GetID

func (e *Msqrt) GetID() string

func (*Msqrt) RemoveChild

func (e *Msqrt) RemoveChild(index int)

func (*Msqrt) Render

func (e *Msqrt) Render() string

type Mstyle

type Mstyle struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewMstyle

func NewMstyle(sess *Session, attr string, children ...UIEl) *Mstyle

func (*Mstyle) AppendChild

func (e *Mstyle) AppendChild(child UIEl) int

func (*Mstyle) Clone

func (e *Mstyle) Clone() UIEl

func (*Mstyle) GetChild

func (e *Mstyle) GetChild(index int) UIEl

func (*Mstyle) GetID

func (e *Mstyle) GetID() string

func (*Mstyle) RemoveChild

func (e *Mstyle) RemoveChild(index int)

func (*Mstyle) Render

func (e *Mstyle) Render() string

type Msub

type Msub struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewMsub

func NewMsub(sess *Session, attr string, children ...UIEl) *Msub

func (*Msub) AppendChild

func (e *Msub) AppendChild(child UIEl) int

func (*Msub) Clone

func (e *Msub) Clone() UIEl

func (*Msub) GetChild

func (e *Msub) GetChild(index int) UIEl

func (*Msub) GetID

func (e *Msub) GetID() string

func (*Msub) RemoveChild

func (e *Msub) RemoveChild(index int)

func (*Msub) Render

func (e *Msub) Render() string

type Msubsup

type Msubsup struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewMsubsup

func NewMsubsup(sess *Session, attr string, children ...UIEl) *Msubsup

func (*Msubsup) AppendChild

func (e *Msubsup) AppendChild(child UIEl) int

func (*Msubsup) Clone

func (e *Msubsup) Clone() UIEl

func (*Msubsup) GetChild

func (e *Msubsup) GetChild(index int) UIEl

func (*Msubsup) GetID

func (e *Msubsup) GetID() string

func (*Msubsup) RemoveChild

func (e *Msubsup) RemoveChild(index int)

func (*Msubsup) Render

func (e *Msubsup) Render() string

type Msup

type Msup struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewMsup

func NewMsup(sess *Session, attr string, children ...UIEl) *Msup

func (*Msup) AppendChild

func (e *Msup) AppendChild(child UIEl) int

func (*Msup) Clone

func (e *Msup) Clone() UIEl

func (*Msup) GetChild

func (e *Msup) GetChild(index int) UIEl

func (*Msup) GetID

func (e *Msup) GetID() string

func (*Msup) RemoveChild

func (e *Msup) RemoveChild(index int)

func (*Msup) Render

func (e *Msup) Render() string

type Mtable

type Mtable struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewMtable

func NewMtable(sess *Session, attr string, children ...UIEl) *Mtable

func (*Mtable) AppendChild

func (e *Mtable) AppendChild(child UIEl) int

func (*Mtable) Clone

func (e *Mtable) Clone() UIEl

func (*Mtable) GetChild

func (e *Mtable) GetChild(index int) UIEl

func (*Mtable) GetID

func (e *Mtable) GetID() string

func (*Mtable) RemoveChild

func (e *Mtable) RemoveChild(index int)

func (*Mtable) Render

func (e *Mtable) Render() string

type Mtd

type Mtd struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewMtd

func NewMtd(sess *Session, attr string, children ...UIEl) *Mtd

func (*Mtd) AppendChild

func (e *Mtd) AppendChild(child UIEl) int

func (*Mtd) Clone

func (e *Mtd) Clone() UIEl

func (*Mtd) GetChild

func (e *Mtd) GetChild(index int) UIEl

func (*Mtd) GetID

func (e *Mtd) GetID() string

func (*Mtd) RemoveChild

func (e *Mtd) RemoveChild(index int)

func (*Mtd) Render

func (e *Mtd) Render() string

type Mtext

type Mtext struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewMtext

func NewMtext(sess *Session, attr string, children ...UIEl) *Mtext

func (*Mtext) AppendChild

func (e *Mtext) AppendChild(child UIEl) int

func (*Mtext) Clone

func (e *Mtext) Clone() UIEl

func (*Mtext) GetChild

func (e *Mtext) GetChild(index int) UIEl

func (*Mtext) GetID

func (e *Mtext) GetID() string

func (*Mtext) RemoveChild

func (e *Mtext) RemoveChild(index int)

func (*Mtext) Render

func (e *Mtext) Render() string

type Mtr

type Mtr struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewMtr

func NewMtr(sess *Session, attr string, children ...UIEl) *Mtr

func (*Mtr) AppendChild

func (e *Mtr) AppendChild(child UIEl) int

func (*Mtr) Clone

func (e *Mtr) Clone() UIEl

func (*Mtr) GetChild

func (e *Mtr) GetChild(index int) UIEl

func (*Mtr) GetID

func (e *Mtr) GetID() string

func (*Mtr) RemoveChild

func (e *Mtr) RemoveChild(index int)

func (*Mtr) Render

func (e *Mtr) Render() string

type Multicol

type Multicol struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewMulticol

func NewMulticol(sess *Session, attr string, children ...UIEl) *Multicol

func (*Multicol) AppendChild

func (e *Multicol) AppendChild(child UIEl) int

func (*Multicol) Clone

func (e *Multicol) Clone() UIEl

func (*Multicol) GetChild

func (e *Multicol) GetChild(index int) UIEl

func (*Multicol) GetID

func (e *Multicol) GetID() string

func (*Multicol) RemoveChild

func (e *Multicol) RemoveChild(index int)

func (*Multicol) Render

func (e *Multicol) Render() string

type Munder

type Munder struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewMunder

func NewMunder(sess *Session, attr string, children ...UIEl) *Munder

func (*Munder) AppendChild

func (e *Munder) AppendChild(child UIEl) int

func (*Munder) Clone

func (e *Munder) Clone() UIEl

func (*Munder) GetChild

func (e *Munder) GetChild(index int) UIEl

func (*Munder) GetID

func (e *Munder) GetID() string

func (*Munder) RemoveChild

func (e *Munder) RemoveChild(index int)

func (*Munder) Render

func (e *Munder) Render() string

type Munderover

type Munderover struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewMunderover

func NewMunderover(sess *Session, attr string, children ...UIEl) *Munderover

func (*Munderover) AppendChild

func (e *Munderover) AppendChild(child UIEl) int

func (*Munderover) Clone

func (e *Munderover) Clone() UIEl

func (*Munderover) GetChild

func (e *Munderover) GetChild(index int) UIEl

func (*Munderover) GetID

func (e *Munderover) GetID() string

func (*Munderover) RemoveChild

func (e *Munderover) RemoveChild(index int)

func (*Munderover) Render

func (e *Munderover) Render() string
type Nav struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewNav

func NewNav(sess *Session, attr string, children ...UIEl) *Nav
func (e *Nav) AppendChild(child UIEl) int
func (e *Nav) Clone() UIEl
func (e *Nav) GetChild(index int) UIEl
func (e *Nav) GetID() string
func (e *Nav) RemoveChild(index int)
func (e *Nav) Render() string

type Nextid

type Nextid struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewNextid

func NewNextid(sess *Session, attr string, children ...UIEl) *Nextid

func (*Nextid) AppendChild

func (e *Nextid) AppendChild(child UIEl) int

func (*Nextid) Clone

func (e *Nextid) Clone() UIEl

func (*Nextid) GetChild

func (e *Nextid) GetChild(index int) UIEl

func (*Nextid) GetID

func (e *Nextid) GetID() string

func (*Nextid) RemoveChild

func (e *Nextid) RemoveChild(index int)

func (*Nextid) Render

func (e *Nextid) Render() string

type Nobr

type Nobr struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewNobr

func NewNobr(sess *Session, attr string, children ...UIEl) *Nobr

func (*Nobr) AppendChild

func (e *Nobr) AppendChild(child UIEl) int

func (*Nobr) Clone

func (e *Nobr) Clone() UIEl

func (*Nobr) GetChild

func (e *Nobr) GetChild(index int) UIEl

func (*Nobr) GetID

func (e *Nobr) GetID() string

func (*Nobr) RemoveChild

func (e *Nobr) RemoveChild(index int)

func (*Nobr) Render

func (e *Nobr) Render() string

type Noembed

type Noembed struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewNoembed

func NewNoembed(sess *Session, attr string, children ...UIEl) *Noembed

func (*Noembed) AppendChild

func (e *Noembed) AppendChild(child UIEl) int

func (*Noembed) Clone

func (e *Noembed) Clone() UIEl

func (*Noembed) GetChild

func (e *Noembed) GetChild(index int) UIEl

func (*Noembed) GetID

func (e *Noembed) GetID() string

func (*Noembed) RemoveChild

func (e *Noembed) RemoveChild(index int)

func (*Noembed) Render

func (e *Noembed) Render() string

type Noframes

type Noframes struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewNoframes

func NewNoframes(sess *Session, attr string, children ...UIEl) *Noframes

func (*Noframes) AppendChild

func (e *Noframes) AppendChild(child UIEl) int

func (*Noframes) Clone

func (e *Noframes) Clone() UIEl

func (*Noframes) GetChild

func (e *Noframes) GetChild(index int) UIEl

func (*Noframes) GetID

func (e *Noframes) GetID() string

func (*Noframes) RemoveChild

func (e *Noframes) RemoveChild(index int)

func (*Noframes) Render

func (e *Noframes) Render() string

type Noscript

type Noscript struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewNoscript

func NewNoscript(sess *Session, attr string, children ...UIEl) *Noscript

func (*Noscript) AppendChild

func (e *Noscript) AppendChild(child UIEl) int

func (*Noscript) Clone

func (e *Noscript) Clone() UIEl

func (*Noscript) GetChild

func (e *Noscript) GetChild(index int) UIEl

func (*Noscript) GetID

func (e *Noscript) GetID() string

func (*Noscript) RemoveChild

func (e *Noscript) RemoveChild(index int)

func (*Noscript) Render

func (e *Noscript) Render() string

type Object

type Object struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewObject

func NewObject(sess *Session, attr string, children ...UIEl) *Object

func (*Object) AppendChild

func (e *Object) AppendChild(child UIEl) int

func (*Object) Clone

func (e *Object) Clone() UIEl

func (*Object) GetChild

func (e *Object) GetChild(index int) UIEl

func (*Object) GetID

func (e *Object) GetID() string

func (*Object) RemoveChild

func (e *Object) RemoveChild(index int)

func (*Object) Render

func (e *Object) Render() string

type Ol

type Ol struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewOl

func NewOl(sess *Session, attr string, children ...UIEl) *Ol

func (*Ol) AppendChild

func (e *Ol) AppendChild(child UIEl) int

func (*Ol) Clone

func (e *Ol) Clone() UIEl

func (*Ol) GetChild

func (e *Ol) GetChild(index int) UIEl

func (*Ol) GetID

func (e *Ol) GetID() string

func (*Ol) RemoveChild

func (e *Ol) RemoveChild(index int)

func (*Ol) Render

func (e *Ol) Render() string

type Optgroup

type Optgroup struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewOptgroup

func NewOptgroup(sess *Session, attr string, children ...UIEl) *Optgroup

func (*Optgroup) AppendChild

func (e *Optgroup) AppendChild(child UIEl) int

func (*Optgroup) Clone

func (e *Optgroup) Clone() UIEl

func (*Optgroup) GetChild

func (e *Optgroup) GetChild(index int) UIEl

func (*Optgroup) GetID

func (e *Optgroup) GetID() string

func (*Optgroup) RemoveChild

func (e *Optgroup) RemoveChild(index int)

func (*Optgroup) Render

func (e *Optgroup) Render() string

type Option

type Option struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewOption

func NewOption(sess *Session, attr string, children ...UIEl) *Option

func (*Option) AppendChild

func (e *Option) AppendChild(child UIEl) int

func (*Option) Clone

func (e *Option) Clone() UIEl

func (*Option) GetChild

func (e *Option) GetChild(index int) UIEl

func (*Option) GetID

func (e *Option) GetID() string

func (*Option) RemoveChild

func (e *Option) RemoveChild(index int)

func (*Option) Render

func (e *Option) Render() string

type Output

type Output struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewOutput

func NewOutput(sess *Session, attr string, children ...UIEl) *Output

func (*Output) AppendChild

func (e *Output) AppendChild(child UIEl) int

func (*Output) Clone

func (e *Output) Clone() UIEl

func (*Output) GetChild

func (e *Output) GetChild(index int) UIEl

func (*Output) GetID

func (e *Output) GetID() string

func (*Output) RemoveChild

func (e *Output) RemoveChild(index int)

func (*Output) Render

func (e *Output) Render() string

type P

type P struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewP

func NewP(sess *Session, attr string, children ...UIEl) *P

func (*P) AppendChild

func (e *P) AppendChild(child UIEl) int

func (*P) Clone

func (e *P) Clone() UIEl

func (*P) GetChild

func (e *P) GetChild(index int) UIEl

func (*P) GetID

func (e *P) GetID() string

func (*P) RemoveChild

func (e *P) RemoveChild(index int)

func (*P) Render

func (e *P) Render() string

type Param

type Param struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewParam

func NewParam(sess *Session, attr string, children ...UIEl) *Param

func (*Param) AppendChild

func (e *Param) AppendChild(child UIEl) int

func (*Param) Clone

func (e *Param) Clone() UIEl

func (*Param) GetChild

func (e *Param) GetChild(index int) UIEl

func (*Param) GetID

func (e *Param) GetID() string

func (*Param) RemoveChild

func (e *Param) RemoveChild(index int)

func (*Param) Render

func (e *Param) Render() string

type Path

type Path struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewPath

func NewPath(sess *Session, attr string, children ...UIEl) *Path

func (*Path) AppendChild

func (e *Path) AppendChild(child UIEl) int

func (*Path) Clone

func (e *Path) Clone() UIEl

func (*Path) GetChild

func (e *Path) GetChild(index int) UIEl

func (*Path) GetID

func (e *Path) GetID() string

func (*Path) RemoveChild

func (e *Path) RemoveChild(index int)

func (*Path) Render

func (e *Path) Render() string

type Pattern

type Pattern struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewPattern

func NewPattern(sess *Session, attr string, children ...UIEl) *Pattern

func (*Pattern) AppendChild

func (e *Pattern) AppendChild(child UIEl) int

func (*Pattern) Clone

func (e *Pattern) Clone() UIEl

func (*Pattern) GetChild

func (e *Pattern) GetChild(index int) UIEl

func (*Pattern) GetID

func (e *Pattern) GetID() string

func (*Pattern) RemoveChild

func (e *Pattern) RemoveChild(index int)

func (*Pattern) Render

func (e *Pattern) Render() string

type Picture

type Picture struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewPicture

func NewPicture(sess *Session, attr string, children ...UIEl) *Picture

func (*Picture) AppendChild

func (e *Picture) AppendChild(child UIEl) int

func (*Picture) Clone

func (e *Picture) Clone() UIEl

func (*Picture) GetChild

func (e *Picture) GetChild(index int) UIEl

func (*Picture) GetID

func (e *Picture) GetID() string

func (*Picture) RemoveChild

func (e *Picture) RemoveChild(index int)

func (*Picture) Render

func (e *Picture) Render() string

type Plaintext

type Plaintext struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewPlaintext

func NewPlaintext(sess *Session, attr string, children ...UIEl) *Plaintext

func (*Plaintext) AppendChild

func (e *Plaintext) AppendChild(child UIEl) int

func (*Plaintext) Clone

func (e *Plaintext) Clone() UIEl

func (*Plaintext) GetChild

func (e *Plaintext) GetChild(index int) UIEl

func (*Plaintext) GetID

func (e *Plaintext) GetID() string

func (*Plaintext) RemoveChild

func (e *Plaintext) RemoveChild(index int)

func (*Plaintext) Render

func (e *Plaintext) Render() string

type Polygon

type Polygon struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewPolygon

func NewPolygon(sess *Session, attr string, children ...UIEl) *Polygon

func (*Polygon) AppendChild

func (e *Polygon) AppendChild(child UIEl) int

func (*Polygon) Clone

func (e *Polygon) Clone() UIEl

func (*Polygon) GetChild

func (e *Polygon) GetChild(index int) UIEl

func (*Polygon) GetID

func (e *Polygon) GetID() string

func (*Polygon) RemoveChild

func (e *Polygon) RemoveChild(index int)

func (*Polygon) Render

func (e *Polygon) Render() string

type Polyline

type Polyline struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewPolyline

func NewPolyline(sess *Session, attr string, children ...UIEl) *Polyline

func (*Polyline) AppendChild

func (e *Polyline) AppendChild(child UIEl) int

func (*Polyline) Clone

func (e *Polyline) Clone() UIEl

func (*Polyline) GetChild

func (e *Polyline) GetChild(index int) UIEl

func (*Polyline) GetID

func (e *Polyline) GetID() string

func (*Polyline) RemoveChild

func (e *Polyline) RemoveChild(index int)

func (*Polyline) Render

func (e *Polyline) Render() string

type Portal

type Portal struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewPortal

func NewPortal(sess *Session, attr string, children ...UIEl) *Portal

func (*Portal) AppendChild

func (e *Portal) AppendChild(child UIEl) int

func (*Portal) Clone

func (e *Portal) Clone() UIEl

func (*Portal) GetChild

func (e *Portal) GetChild(index int) UIEl

func (*Portal) GetID

func (e *Portal) GetID() string

func (*Portal) RemoveChild

func (e *Portal) RemoveChild(index int)

func (*Portal) Render

func (e *Portal) Render() string

type Pre

type Pre struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewPre

func NewPre(sess *Session, attr string, children ...UIEl) *Pre

func (*Pre) AppendChild

func (e *Pre) AppendChild(child UIEl) int

func (*Pre) Clone

func (e *Pre) Clone() UIEl

func (*Pre) GetChild

func (e *Pre) GetChild(index int) UIEl

func (*Pre) GetID

func (e *Pre) GetID() string

func (*Pre) RemoveChild

func (e *Pre) RemoveChild(index int)

func (*Pre) Render

func (e *Pre) Render() string

type Progress

type Progress struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewProgress

func NewProgress(sess *Session, attr string, children ...UIEl) *Progress

func (*Progress) AppendChild

func (e *Progress) AppendChild(child UIEl) int

func (*Progress) Clone

func (e *Progress) Clone() UIEl

func (*Progress) GetChild

func (e *Progress) GetChild(index int) UIEl

func (*Progress) GetID

func (e *Progress) GetID() string

func (*Progress) RemoveChild

func (e *Progress) RemoveChild(index int)

func (*Progress) Render

func (e *Progress) Render() string

type Q

type Q struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewQ

func NewQ(sess *Session, attr string, children ...UIEl) *Q

func (*Q) AppendChild

func (e *Q) AppendChild(child UIEl) int

func (*Q) Clone

func (e *Q) Clone() UIEl

func (*Q) GetChild

func (e *Q) GetChild(index int) UIEl

func (*Q) GetID

func (e *Q) GetID() string

func (*Q) RemoveChild

func (e *Q) RemoveChild(index int)

func (*Q) Render

func (e *Q) Render() string

type RadialGradient

type RadialGradient struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewRadialGradient

func NewRadialGradient(sess *Session, attr string, children ...UIEl) *RadialGradient

func (*RadialGradient) AppendChild

func (e *RadialGradient) AppendChild(child UIEl) int

func (*RadialGradient) Clone

func (e *RadialGradient) Clone() UIEl

func (*RadialGradient) GetChild

func (e *RadialGradient) GetChild(index int) UIEl

func (*RadialGradient) GetID

func (e *RadialGradient) GetID() string

func (*RadialGradient) RemoveChild

func (e *RadialGradient) RemoveChild(index int)

func (*RadialGradient) Render

func (e *RadialGradient) Render() string

type Rb

type Rb struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewRb

func NewRb(sess *Session, attr string, children ...UIEl) *Rb

func (*Rb) AppendChild

func (e *Rb) AppendChild(child UIEl) int

func (*Rb) Clone

func (e *Rb) Clone() UIEl

func (*Rb) GetChild

func (e *Rb) GetChild(index int) UIEl

func (*Rb) GetID

func (e *Rb) GetID() string

func (*Rb) RemoveChild

func (e *Rb) RemoveChild(index int)

func (*Rb) Render

func (e *Rb) Render() string

type Rect

type Rect struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewRect

func NewRect(sess *Session, attr string, children ...UIEl) *Rect

func (*Rect) AppendChild

func (e *Rect) AppendChild(child UIEl) int

func (*Rect) Clone

func (e *Rect) Clone() UIEl

func (*Rect) GetChild

func (e *Rect) GetChild(index int) UIEl

func (*Rect) GetID

func (e *Rect) GetID() string

func (*Rect) RemoveChild

func (e *Rect) RemoveChild(index int)

func (*Rect) Render

func (e *Rect) Render() string

type Router

type Router struct {
	*fiber.App
}

func New

func New() *Router

func (*Router) Listen

func (r *Router) Listen(addr string) error

type Rp

type Rp struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewRp

func NewRp(sess *Session, attr string, children ...UIEl) *Rp

func (*Rp) AppendChild

func (e *Rp) AppendChild(child UIEl) int

func (*Rp) Clone

func (e *Rp) Clone() UIEl

func (*Rp) GetChild

func (e *Rp) GetChild(index int) UIEl

func (*Rp) GetID

func (e *Rp) GetID() string

func (*Rp) RemoveChild

func (e *Rp) RemoveChild(index int)

func (*Rp) Render

func (e *Rp) Render() string

type Rt

type Rt struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewRt

func NewRt(sess *Session, attr string, children ...UIEl) *Rt

func (*Rt) AppendChild

func (e *Rt) AppendChild(child UIEl) int

func (*Rt) Clone

func (e *Rt) Clone() UIEl

func (*Rt) GetChild

func (e *Rt) GetChild(index int) UIEl

func (*Rt) GetID

func (e *Rt) GetID() string

func (*Rt) RemoveChild

func (e *Rt) RemoveChild(index int)

func (*Rt) Render

func (e *Rt) Render() string

type Rtc

type Rtc struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewRtc

func NewRtc(sess *Session, attr string, children ...UIEl) *Rtc

func (*Rtc) AppendChild

func (e *Rtc) AppendChild(child UIEl) int

func (*Rtc) Clone

func (e *Rtc) Clone() UIEl

func (*Rtc) GetChild

func (e *Rtc) GetChild(index int) UIEl

func (*Rtc) GetID

func (e *Rtc) GetID() string

func (*Rtc) RemoveChild

func (e *Rtc) RemoveChild(index int)

func (*Rtc) Render

func (e *Rtc) Render() string

type Ruby

type Ruby struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewRuby

func NewRuby(sess *Session, attr string, children ...UIEl) *Ruby

func (*Ruby) AppendChild

func (e *Ruby) AppendChild(child UIEl) int

func (*Ruby) Clone

func (e *Ruby) Clone() UIEl

func (*Ruby) GetChild

func (e *Ruby) GetChild(index int) UIEl

func (*Ruby) GetID

func (e *Ruby) GetID() string

func (*Ruby) RemoveChild

func (e *Ruby) RemoveChild(index int)

func (*Ruby) Render

func (e *Ruby) Render() string

type S

type S struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewS

func NewS(sess *Session, attr string, children ...UIEl) *S

func (*S) AppendChild

func (e *S) AppendChild(child UIEl) int

func (*S) Clone

func (e *S) Clone() UIEl

func (*S) GetChild

func (e *S) GetChild(index int) UIEl

func (*S) GetID

func (e *S) GetID() string

func (*S) RemoveChild

func (e *S) RemoveChild(index int)

func (*S) Render

func (e *S) Render() string

type Samp

type Samp struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewSamp

func NewSamp(sess *Session, attr string, children ...UIEl) *Samp

func (*Samp) AppendChild

func (e *Samp) AppendChild(child UIEl) int

func (*Samp) Clone

func (e *Samp) Clone() UIEl

func (*Samp) GetChild

func (e *Samp) GetChild(index int) UIEl

func (*Samp) GetID

func (e *Samp) GetID() string

func (*Samp) RemoveChild

func (e *Samp) RemoveChild(index int)

func (*Samp) Render

func (e *Samp) Render() string

type Script

type Script struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewScript

func NewScript(sess *Session, attr string, children ...UIEl) *Script

func (*Script) AppendChild

func (e *Script) AppendChild(child UIEl) int

func (*Script) Clone

func (e *Script) Clone() UIEl

func (*Script) GetChild

func (e *Script) GetChild(index int) UIEl

func (*Script) GetID

func (e *Script) GetID() string

func (*Script) RemoveChild

func (e *Script) RemoveChild(index int)

func (*Script) Render

func (e *Script) Render() string
type Search struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewSearch

func NewSearch(sess *Session, attr string, children ...UIEl) *Search

func (*Search) AppendChild

func (e *Search) AppendChild(child UIEl) int

func (*Search) Clone

func (e *Search) Clone() UIEl

func (*Search) GetChild

func (e *Search) GetChild(index int) UIEl

func (*Search) GetID

func (e *Search) GetID() string

func (*Search) RemoveChild

func (e *Search) RemoveChild(index int)

func (*Search) Render

func (e *Search) Render() string

type Section

type Section struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewSection

func NewSection(sess *Session, attr string, children ...UIEl) *Section

func (*Section) AppendChild

func (e *Section) AppendChild(child UIEl) int

func (*Section) Clone

func (e *Section) Clone() UIEl

func (*Section) GetChild

func (e *Section) GetChild(index int) UIEl

func (*Section) GetID

func (e *Section) GetID() string

func (*Section) RemoveChild

func (e *Section) RemoveChild(index int)

func (*Section) Render

func (e *Section) Render() string

type Select

type Select struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
	OnChange *Signal[UIEl]
	OnFocus  *Signal[UIEl]
	OnBlur   *Signal[UIEl]
	Value    *Signal[string]
}

func NewSelect

func NewSelect(sess *Session, attr string, children ...UIEl) *Select

func (*Select) AppendChild

func (e *Select) AppendChild(child UIEl) int

func (*Select) Clone

func (e *Select) Clone() UIEl

func (*Select) GetChild

func (e *Select) GetChild(index int) UIEl

func (*Select) GetID

func (e *Select) GetID() string

func (*Select) GetValueSignal

func (e *Select) GetValueSignal() *Signal[string]

func (*Select) RemoveChild

func (e *Select) RemoveChild(index int)

func (*Select) Render

func (e *Select) Render() string

func (*Select) WithBlur

func (e *Select) WithBlur(sig *Signal[UIEl]) *Select

func (*Select) WithChange

func (e *Select) WithChange(sig *Signal[UIEl]) *Select

func (*Select) WithFocus

func (e *Select) WithFocus(sig *Signal[UIEl]) *Select

func (*Select) WithValue

func (e *Select) WithValue(sig *Signal[string]) *Select

type Selectedcontent

type Selectedcontent struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewSelectedcontent

func NewSelectedcontent(sess *Session, attr string, children ...UIEl) *Selectedcontent

func (*Selectedcontent) AppendChild

func (e *Selectedcontent) AppendChild(child UIEl) int

func (*Selectedcontent) Clone

func (e *Selectedcontent) Clone() UIEl

func (*Selectedcontent) GetChild

func (e *Selectedcontent) GetChild(index int) UIEl

func (*Selectedcontent) GetID

func (e *Selectedcontent) GetID() string

func (*Selectedcontent) RemoveChild

func (e *Selectedcontent) RemoveChild(index int)

func (*Selectedcontent) Render

func (e *Selectedcontent) Render() string

type Semantics

type Semantics struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewSemantics

func NewSemantics(sess *Session, attr string, children ...UIEl) *Semantics

func (*Semantics) AppendChild

func (e *Semantics) AppendChild(child UIEl) int

func (*Semantics) Clone

func (e *Semantics) Clone() UIEl

func (*Semantics) GetChild

func (e *Semantics) GetChild(index int) UIEl

func (*Semantics) GetID

func (e *Semantics) GetID() string

func (*Semantics) RemoveChild

func (e *Semantics) RemoveChild(index int)

func (*Semantics) Render

func (e *Semantics) Render() string

type Session

type Session struct {
	ID             string
	UIRegistry     map[string]UIEl
	SignalRegistry map[string]map[string]*Signal[UIEl]
	LastAccessed   time.Time
}

func NewSession

func NewSession() *Session

type Set

type Set struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewSet

func NewSet(sess *Session, attr string, children ...UIEl) *Set

func (*Set) AppendChild

func (e *Set) AppendChild(child UIEl) int

func (*Set) Clone

func (e *Set) Clone() UIEl

func (*Set) GetChild

func (e *Set) GetChild(index int) UIEl

func (*Set) GetID

func (e *Set) GetID() string

func (*Set) RemoveChild

func (e *Set) RemoveChild(index int)

func (*Set) Render

func (e *Set) Render() string

type Signal

type Signal[T comparable] struct {
	// contains filtered or unexported fields
}

func NewSignal

func NewSignal[T comparable](initial T) *Signal[T]

func (*Signal[T]) AsyncSubscribe

func (s *Signal[T]) AsyncSubscribe(f func(*sync.WaitGroup) T)

func (*Signal[T]) Emit

func (s *Signal[T]) Emit() []T

func (*Signal[T]) Get

func (s *Signal[T]) Get() T

func (*Signal[T]) Set

func (s *Signal[T]) Set(newValue T)

func (*Signal[T]) Subscribe

func (s *Signal[T]) Subscribe(f func() T)

type Slot

type Slot struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewSlot

func NewSlot(sess *Session, attr string, children ...UIEl) *Slot

func (*Slot) AppendChild

func (e *Slot) AppendChild(child UIEl) int

func (*Slot) Clone

func (e *Slot) Clone() UIEl

func (*Slot) GetChild

func (e *Slot) GetChild(index int) UIEl

func (*Slot) GetID

func (e *Slot) GetID() string

func (*Slot) RemoveChild

func (e *Slot) RemoveChild(index int)

func (*Slot) Render

func (e *Slot) Render() string

type Small

type Small struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewSmall

func NewSmall(sess *Session, attr string, children ...UIEl) *Small

func (*Small) AppendChild

func (e *Small) AppendChild(child UIEl) int

func (*Small) Clone

func (e *Small) Clone() UIEl

func (*Small) GetChild

func (e *Small) GetChild(index int) UIEl

func (*Small) GetID

func (e *Small) GetID() string

func (*Small) RemoveChild

func (e *Small) RemoveChild(index int)

func (*Small) Render

func (e *Small) Render() string

type Source

type Source struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewSource

func NewSource(sess *Session, attr string, children ...UIEl) *Source

func (*Source) AppendChild

func (e *Source) AppendChild(child UIEl) int

func (*Source) Clone

func (e *Source) Clone() UIEl

func (*Source) GetChild

func (e *Source) GetChild(index int) UIEl

func (*Source) GetID

func (e *Source) GetID() string

func (*Source) RemoveChild

func (e *Source) RemoveChild(index int)

func (*Source) Render

func (e *Source) Render() string

type Spacer

type Spacer struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewSpacer

func NewSpacer(sess *Session, attr string, children ...UIEl) *Spacer

func (*Spacer) AppendChild

func (e *Spacer) AppendChild(child UIEl) int

func (*Spacer) Clone

func (e *Spacer) Clone() UIEl

func (*Spacer) GetChild

func (e *Spacer) GetChild(index int) UIEl

func (*Spacer) GetID

func (e *Spacer) GetID() string

func (*Spacer) RemoveChild

func (e *Spacer) RemoveChild(index int)

func (*Spacer) Render

func (e *Spacer) Render() string

type Span

type Span struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewSpan

func NewSpan(sess *Session, attr string, children ...UIEl) *Span

func (*Span) AppendChild

func (e *Span) AppendChild(child UIEl) int

func (*Span) Clone

func (e *Span) Clone() UIEl

func (*Span) GetChild

func (e *Span) GetChild(index int) UIEl

func (*Span) GetID

func (e *Span) GetID() string

func (*Span) RemoveChild

func (e *Span) RemoveChild(index int)

func (*Span) Render

func (e *Span) Render() string

type Stop

type Stop struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewStop

func NewStop(sess *Session, attr string, children ...UIEl) *Stop

func (*Stop) AppendChild

func (e *Stop) AppendChild(child UIEl) int

func (*Stop) Clone

func (e *Stop) Clone() UIEl

func (*Stop) GetChild

func (e *Stop) GetChild(index int) UIEl

func (*Stop) GetID

func (e *Stop) GetID() string

func (*Stop) RemoveChild

func (e *Stop) RemoveChild(index int)

func (*Stop) Render

func (e *Stop) Render() string

type Strike

type Strike struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewStrike

func NewStrike(sess *Session, attr string, children ...UIEl) *Strike

func (*Strike) AppendChild

func (e *Strike) AppendChild(child UIEl) int

func (*Strike) Clone

func (e *Strike) Clone() UIEl

func (*Strike) GetChild

func (e *Strike) GetChild(index int) UIEl

func (*Strike) GetID

func (e *Strike) GetID() string

func (*Strike) RemoveChild

func (e *Strike) RemoveChild(index int)

func (*Strike) Render

func (e *Strike) Render() string

type String

type String struct {
	Content string
}

func NewString

func NewString(text string) *String

func (*String) AppendChild

func (t *String) AppendChild(child UIEl) int

func (*String) Clone

func (t *String) Clone() UIEl

func (*String) GetChild

func (t *String) GetChild(index int) UIEl

func (*String) GetID

func (t *String) GetID() string

func (*String) RemoveChild

func (t *String) RemoveChild(index int)

func (*String) Render

func (t *String) Render() string

type Strong

type Strong struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewStrong

func NewStrong(sess *Session, attr string, children ...UIEl) *Strong

func (*Strong) AppendChild

func (e *Strong) AppendChild(child UIEl) int

func (*Strong) Clone

func (e *Strong) Clone() UIEl

func (*Strong) GetChild

func (e *Strong) GetChild(index int) UIEl

func (*Strong) GetID

func (e *Strong) GetID() string

func (*Strong) RemoveChild

func (e *Strong) RemoveChild(index int)

func (*Strong) Render

func (e *Strong) Render() string

type Style

type Style struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewStyle

func NewStyle(sess *Session, attr string, children ...UIEl) *Style

func (*Style) AppendChild

func (e *Style) AppendChild(child UIEl) int

func (*Style) Clone

func (e *Style) Clone() UIEl

func (*Style) GetChild

func (e *Style) GetChild(index int) UIEl

func (*Style) GetID

func (e *Style) GetID() string

func (*Style) RemoveChild

func (e *Style) RemoveChild(index int)

func (*Style) Render

func (e *Style) Render() string

type Sub

type Sub struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewSub

func NewSub(sess *Session, attr string, children ...UIEl) *Sub

func (*Sub) AppendChild

func (e *Sub) AppendChild(child UIEl) int

func (*Sub) Clone

func (e *Sub) Clone() UIEl

func (*Sub) GetChild

func (e *Sub) GetChild(index int) UIEl

func (*Sub) GetID

func (e *Sub) GetID() string

func (*Sub) RemoveChild

func (e *Sub) RemoveChild(index int)

func (*Sub) Render

func (e *Sub) Render() string

type Summary

type Summary struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewSummary

func NewSummary(sess *Session, attr string, children ...UIEl) *Summary

func (*Summary) AppendChild

func (e *Summary) AppendChild(child UIEl) int

func (*Summary) Clone

func (e *Summary) Clone() UIEl

func (*Summary) GetChild

func (e *Summary) GetChild(index int) UIEl

func (*Summary) GetID

func (e *Summary) GetID() string

func (*Summary) RemoveChild

func (e *Summary) RemoveChild(index int)

func (*Summary) Render

func (e *Summary) Render() string

type Sup

type Sup struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewSup

func NewSup(sess *Session, attr string, children ...UIEl) *Sup

func (*Sup) AppendChild

func (e *Sup) AppendChild(child UIEl) int

func (*Sup) Clone

func (e *Sup) Clone() UIEl

func (*Sup) GetChild

func (e *Sup) GetChild(index int) UIEl

func (*Sup) GetID

func (e *Sup) GetID() string

func (*Sup) RemoveChild

func (e *Sup) RemoveChild(index int)

func (*Sup) Render

func (e *Sup) Render() string

type Svg

type Svg struct {
	Session     *Session
	Children    []UIEl
	Attr        string
	Id          string
	OnClick     *Signal[UIEl]
	OnMousemove *Signal[UIEl]
	OnFocus     *Signal[UIEl]
	OnBlur      *Signal[UIEl]
}

func NewSvg

func NewSvg(sess *Session, attr string, children ...UIEl) *Svg

func (*Svg) AppendChild

func (e *Svg) AppendChild(child UIEl) int

func (*Svg) Clone

func (e *Svg) Clone() UIEl

func (*Svg) GetChild

func (e *Svg) GetChild(index int) UIEl

func (*Svg) GetID

func (e *Svg) GetID() string

func (*Svg) RemoveChild

func (e *Svg) RemoveChild(index int)

func (*Svg) Render

func (e *Svg) Render() string

func (*Svg) WithBlur

func (e *Svg) WithBlur(sig *Signal[UIEl]) *Svg

func (*Svg) WithClick

func (e *Svg) WithClick(sig *Signal[UIEl]) *Svg

func (*Svg) WithFocus

func (e *Svg) WithFocus(sig *Signal[UIEl]) *Svg

func (*Svg) WithMousemove

func (e *Svg) WithMousemove(sig *Signal[UIEl]) *Svg

type Switch

type Switch struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewSwitch

func NewSwitch(sess *Session, attr string, children ...UIEl) *Switch

func (*Switch) AppendChild

func (e *Switch) AppendChild(child UIEl) int

func (*Switch) Clone

func (e *Switch) Clone() UIEl

func (*Switch) GetChild

func (e *Switch) GetChild(index int) UIEl

func (*Switch) GetID

func (e *Switch) GetID() string

func (*Switch) RemoveChild

func (e *Switch) RemoveChild(index int)

func (*Switch) Render

func (e *Switch) Render() string

type Symbol

type Symbol struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewSymbol

func NewSymbol(sess *Session, attr string, children ...UIEl) *Symbol

func (*Symbol) AppendChild

func (e *Symbol) AppendChild(child UIEl) int

func (*Symbol) Clone

func (e *Symbol) Clone() UIEl

func (*Symbol) GetChild

func (e *Symbol) GetChild(index int) UIEl

func (*Symbol) GetID

func (e *Symbol) GetID() string

func (*Symbol) RemoveChild

func (e *Symbol) RemoveChild(index int)

func (*Symbol) Render

func (e *Symbol) Render() string

type TArgs

type TArgs map[string]*Signal[string]

type Table

type Table struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewTable

func NewTable(sess *Session, attr string, children ...UIEl) *Table

func (*Table) AppendChild

func (e *Table) AppendChild(child UIEl) int

func (*Table) Clone

func (e *Table) Clone() UIEl

func (*Table) GetChild

func (e *Table) GetChild(index int) UIEl

func (*Table) GetID

func (e *Table) GetID() string

func (*Table) RemoveChild

func (e *Table) RemoveChild(index int)

func (*Table) Render

func (e *Table) Render() string

type Tbody

type Tbody struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewTbody

func NewTbody(sess *Session, attr string, children ...UIEl) *Tbody

func (*Tbody) AppendChild

func (e *Tbody) AppendChild(child UIEl) int

func (*Tbody) Clone

func (e *Tbody) Clone() UIEl

func (*Tbody) GetChild

func (e *Tbody) GetChild(index int) UIEl

func (*Tbody) GetID

func (e *Tbody) GetID() string

func (*Tbody) RemoveChild

func (e *Tbody) RemoveChild(index int)

func (*Tbody) Render

func (e *Tbody) Render() string

type Td

type Td struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewTd

func NewTd(sess *Session, attr string, children ...UIEl) *Td

func (*Td) AppendChild

func (e *Td) AppendChild(child UIEl) int

func (*Td) Clone

func (e *Td) Clone() UIEl

func (*Td) GetChild

func (e *Td) GetChild(index int) UIEl

func (*Td) GetID

func (e *Td) GetID() string

func (*Td) RemoveChild

func (e *Td) RemoveChild(index int)

func (*Td) Render

func (e *Td) Render() string

type Template

type Template struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewTemplate

func NewTemplate(sess *Session, attr string, children ...UIEl) *Template

func (*Template) AppendChild

func (e *Template) AppendChild(child UIEl) int

func (*Template) Clone

func (e *Template) Clone() UIEl

func (*Template) GetChild

func (e *Template) GetChild(index int) UIEl

func (*Template) GetID

func (e *Template) GetID() string

func (*Template) RemoveChild

func (e *Template) RemoveChild(index int)

func (*Template) Render

func (e *Template) Render() string

type Text

type Text struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewText

func NewText(sess *Session, attr string, children ...UIEl) *Text

func (*Text) AppendChild

func (e *Text) AppendChild(child UIEl) int

func (*Text) Clone

func (e *Text) Clone() UIEl

func (*Text) GetChild

func (e *Text) GetChild(index int) UIEl

func (*Text) GetID

func (e *Text) GetID() string

func (*Text) RemoveChild

func (e *Text) RemoveChild(index int)

func (*Text) Render

func (e *Text) Render() string

type TextPath

type TextPath struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewTextPath

func NewTextPath(sess *Session, attr string, children ...UIEl) *TextPath

func (*TextPath) AppendChild

func (e *TextPath) AppendChild(child UIEl) int

func (*TextPath) Clone

func (e *TextPath) Clone() UIEl

func (*TextPath) GetChild

func (e *TextPath) GetChild(index int) UIEl

func (*TextPath) GetID

func (e *TextPath) GetID() string

func (*TextPath) RemoveChild

func (e *TextPath) RemoveChild(index int)

func (*TextPath) Render

func (e *TextPath) Render() string

type Textarea

type Textarea struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
	OnInput  *Signal[UIEl]
	OnChange *Signal[UIEl]
	OnFocus  *Signal[UIEl]
	OnBlur   *Signal[UIEl]
	Value    *Signal[string]
}

func NewTextarea

func NewTextarea(sess *Session, attr string, children ...UIEl) *Textarea

func (*Textarea) AppendChild

func (e *Textarea) AppendChild(child UIEl) int

func (*Textarea) Clone

func (e *Textarea) Clone() UIEl

func (*Textarea) GetChild

func (e *Textarea) GetChild(index int) UIEl

func (*Textarea) GetID

func (e *Textarea) GetID() string

func (*Textarea) GetValueSignal

func (e *Textarea) GetValueSignal() *Signal[string]

func (*Textarea) RemoveChild

func (e *Textarea) RemoveChild(index int)

func (*Textarea) Render

func (e *Textarea) Render() string

func (*Textarea) WithBlur

func (e *Textarea) WithBlur(sig *Signal[UIEl]) *Textarea

func (*Textarea) WithChange

func (e *Textarea) WithChange(sig *Signal[UIEl]) *Textarea

func (*Textarea) WithFocus

func (e *Textarea) WithFocus(sig *Signal[UIEl]) *Textarea

func (*Textarea) WithInput

func (e *Textarea) WithInput(sig *Signal[UIEl]) *Textarea

func (*Textarea) WithValue

func (e *Textarea) WithValue(sig *Signal[string]) *Textarea

type Tfoot

type Tfoot struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewTfoot

func NewTfoot(sess *Session, attr string, children ...UIEl) *Tfoot

func (*Tfoot) AppendChild

func (e *Tfoot) AppendChild(child UIEl) int

func (*Tfoot) Clone

func (e *Tfoot) Clone() UIEl

func (*Tfoot) GetChild

func (e *Tfoot) GetChild(index int) UIEl

func (*Tfoot) GetID

func (e *Tfoot) GetID() string

func (*Tfoot) RemoveChild

func (e *Tfoot) RemoveChild(index int)

func (*Tfoot) Render

func (e *Tfoot) Render() string

type Th

type Th struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewTh

func NewTh(sess *Session, attr string, children ...UIEl) *Th

func (*Th) AppendChild

func (e *Th) AppendChild(child UIEl) int

func (*Th) Clone

func (e *Th) Clone() UIEl

func (*Th) GetChild

func (e *Th) GetChild(index int) UIEl

func (*Th) GetID

func (e *Th) GetID() string

func (*Th) RemoveChild

func (e *Th) RemoveChild(index int)

func (*Th) Render

func (e *Th) Render() string

type Thead

type Thead struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewThead

func NewThead(sess *Session, attr string, children ...UIEl) *Thead

func (*Thead) AppendChild

func (e *Thead) AppendChild(child UIEl) int

func (*Thead) Clone

func (e *Thead) Clone() UIEl

func (*Thead) GetChild

func (e *Thead) GetChild(index int) UIEl

func (*Thead) GetID

func (e *Thead) GetID() string

func (*Thead) RemoveChild

func (e *Thead) RemoveChild(index int)

func (*Thead) Render

func (e *Thead) Render() string

type Time

type Time struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewTime

func NewTime(sess *Session, attr string, children ...UIEl) *Time

func (*Time) AppendChild

func (e *Time) AppendChild(child UIEl) int

func (*Time) Clone

func (e *Time) Clone() UIEl

func (*Time) GetChild

func (e *Time) GetChild(index int) UIEl

func (*Time) GetID

func (e *Time) GetID() string

func (*Time) RemoveChild

func (e *Time) RemoveChild(index int)

func (*Time) Render

func (e *Time) Render() string

type Title

type Title struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewTitle

func NewTitle(sess *Session, attr string, children ...UIEl) *Title

func (*Title) AppendChild

func (e *Title) AppendChild(child UIEl) int

func (*Title) Clone

func (e *Title) Clone() UIEl

func (*Title) GetChild

func (e *Title) GetChild(index int) UIEl

func (*Title) GetID

func (e *Title) GetID() string

func (*Title) RemoveChild

func (e *Title) RemoveChild(index int)

func (*Title) Render

func (e *Title) Render() string

type Tr

type Tr struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewTr

func NewTr(sess *Session, attr string, children ...UIEl) *Tr

func (*Tr) AppendChild

func (e *Tr) AppendChild(child UIEl) int

func (*Tr) Clone

func (e *Tr) Clone() UIEl

func (*Tr) GetChild

func (e *Tr) GetChild(index int) UIEl

func (*Tr) GetID

func (e *Tr) GetID() string

func (*Tr) RemoveChild

func (e *Tr) RemoveChild(index int)

func (*Tr) Render

func (e *Tr) Render() string

type Track

type Track struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewTrack

func NewTrack(sess *Session, attr string, children ...UIEl) *Track

func (*Track) AppendChild

func (e *Track) AppendChild(child UIEl) int

func (*Track) Clone

func (e *Track) Clone() UIEl

func (*Track) GetChild

func (e *Track) GetChild(index int) UIEl

func (*Track) GetID

func (e *Track) GetID() string

func (*Track) RemoveChild

func (e *Track) RemoveChild(index int)

func (*Track) Render

func (e *Track) Render() string

type Tspan

type Tspan struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewTspan

func NewTspan(sess *Session, attr string, children ...UIEl) *Tspan

func (*Tspan) AppendChild

func (e *Tspan) AppendChild(child UIEl) int

func (*Tspan) Clone

func (e *Tspan) Clone() UIEl

func (*Tspan) GetChild

func (e *Tspan) GetChild(index int) UIEl

func (*Tspan) GetID

func (e *Tspan) GetID() string

func (*Tspan) RemoveChild

func (e *Tspan) RemoveChild(index int)

func (*Tspan) Render

func (e *Tspan) Render() string

type Tt

type Tt struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewTt

func NewTt(sess *Session, attr string, children ...UIEl) *Tt

func (*Tt) AppendChild

func (e *Tt) AppendChild(child UIEl) int

func (*Tt) Clone

func (e *Tt) Clone() UIEl

func (*Tt) GetChild

func (e *Tt) GetChild(index int) UIEl

func (*Tt) GetID

func (e *Tt) GetID() string

func (*Tt) RemoveChild

func (e *Tt) RemoveChild(index int)

func (*Tt) Render

func (e *Tt) Render() string

type U

type U struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewU

func NewU(sess *Session, attr string, children ...UIEl) *U

func (*U) AppendChild

func (e *U) AppendChild(child UIEl) int

func (*U) Clone

func (e *U) Clone() UIEl

func (*U) GetChild

func (e *U) GetChild(index int) UIEl

func (*U) GetID

func (e *U) GetID() string

func (*U) RemoveChild

func (e *U) RemoveChild(index int)

func (*U) Render

func (e *U) Render() string

type UIEl

type UIEl interface {
	Render() string
	Clone() UIEl
	GetID() string
	AppendChild(UIEl) int
	RemoveChild(int)
	GetChild(int) UIEl
}

type Ul

type Ul struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewUl

func NewUl(sess *Session, attr string, children ...UIEl) *Ul

func (*Ul) AppendChild

func (e *Ul) AppendChild(child UIEl) int

func (*Ul) Clone

func (e *Ul) Clone() UIEl

func (*Ul) GetChild

func (e *Ul) GetChild(index int) UIEl

func (*Ul) GetID

func (e *Ul) GetID() string

func (*Ul) RemoveChild

func (e *Ul) RemoveChild(index int)

func (*Ul) Render

func (e *Ul) Render() string

type Use

type Use struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewUse

func NewUse(sess *Session, attr string, children ...UIEl) *Use

func (*Use) AppendChild

func (e *Use) AppendChild(child UIEl) int

func (*Use) Clone

func (e *Use) Clone() UIEl

func (*Use) GetChild

func (e *Use) GetChild(index int) UIEl

func (*Use) GetID

func (e *Use) GetID() string

func (*Use) RemoveChild

func (e *Use) RemoveChild(index int)

func (*Use) Render

func (e *Use) Render() string

type ValueHolder

type ValueHolder interface {
	GetValueSignal() *Signal[string]
	GetID() string
}

type Var

type Var struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewVar

func NewVar(sess *Session, attr string, children ...UIEl) *Var

func (*Var) AppendChild

func (e *Var) AppendChild(child UIEl) int

func (*Var) Clone

func (e *Var) Clone() UIEl

func (*Var) GetChild

func (e *Var) GetChild(index int) UIEl

func (*Var) GetID

func (e *Var) GetID() string

func (*Var) RemoveChild

func (e *Var) RemoveChild(index int)

func (*Var) Render

func (e *Var) Render() string

type Video

type Video struct {
	Session        *Session
	Children       []UIEl
	Attr           string
	Id             string
	OnPlay         *Signal[UIEl]
	OnPause        *Signal[UIEl]
	OnEnded        *Signal[UIEl]
	OnTimeupdate   *Signal[UIEl]
	OnSeeking      *Signal[UIEl]
	OnVolumechange *Signal[UIEl]
}

func NewVideo

func NewVideo(sess *Session, attr string, children ...UIEl) *Video

func (*Video) AppendChild

func (e *Video) AppendChild(child UIEl) int

func (*Video) Clone

func (e *Video) Clone() UIEl

func (*Video) GetChild

func (e *Video) GetChild(index int) UIEl

func (*Video) GetID

func (e *Video) GetID() string

func (*Video) RemoveChild

func (e *Video) RemoveChild(index int)

func (*Video) Render

func (e *Video) Render() string

func (*Video) WithEnded

func (e *Video) WithEnded(sig *Signal[UIEl]) *Video

func (*Video) WithPause

func (e *Video) WithPause(sig *Signal[UIEl]) *Video

func (*Video) WithPlay

func (e *Video) WithPlay(sig *Signal[UIEl]) *Video

func (*Video) WithSeeking

func (e *Video) WithSeeking(sig *Signal[UIEl]) *Video

func (*Video) WithTimeupdate

func (e *Video) WithTimeupdate(sig *Signal[UIEl]) *Video

func (*Video) WithVolumechange

func (e *Video) WithVolumechange(sig *Signal[UIEl]) *Video

type View

type View struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewView

func NewView(sess *Session, attr string, children ...UIEl) *View

func (*View) AppendChild

func (e *View) AppendChild(child UIEl) int

func (*View) Clone

func (e *View) Clone() UIEl

func (*View) GetChild

func (e *View) GetChild(index int) UIEl

func (*View) GetID

func (e *View) GetID() string

func (*View) RemoveChild

func (e *View) RemoveChild(index int)

func (*View) Render

func (e *View) Render() string

type Wbr

type Wbr struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewWbr

func NewWbr(sess *Session, attr string, children ...UIEl) *Wbr

func (*Wbr) AppendChild

func (e *Wbr) AppendChild(child UIEl) int

func (*Wbr) Clone

func (e *Wbr) Clone() UIEl

func (*Wbr) GetChild

func (e *Wbr) GetChild(index int) UIEl

func (*Wbr) GetID

func (e *Wbr) GetID() string

func (*Wbr) RemoveChild

func (e *Wbr) RemoveChild(index int)

func (*Wbr) Render

func (e *Wbr) Render() string

type Xmp

type Xmp struct {
	Session  *Session
	Children []UIEl
	Attr     string
	Id       string
}

func NewXmp

func NewXmp(sess *Session, attr string, children ...UIEl) *Xmp

func (*Xmp) AppendChild

func (e *Xmp) AppendChild(child UIEl) int

func (*Xmp) Clone

func (e *Xmp) Clone() UIEl

func (*Xmp) GetChild

func (e *Xmp) GetChild(index int) UIEl

func (*Xmp) GetID

func (e *Xmp) GetID() string

func (*Xmp) RemoveChild

func (e *Xmp) RemoveChild(index int)

func (*Xmp) Render

func (e *Xmp) Render() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL