attr

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2025 License: MIT Imports: 2 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Action

func Action(value string) html.Node

func Alt

func Alt(value string) html.Node

func AriaControls

func AriaControls(value string) html.Node

func AriaExpanded

func AriaExpanded(value string) html.Node

func AriaHaspopup

func AriaHaspopup(value string) html.Node

func AriaHidden

func AriaHidden(value string) html.Node

func AriaLabel

func AriaLabel(value string) html.Node

func AriaLabelledby

func AriaLabelledby(value string) html.Node

func As

func As(value string) html.Node

func Charset

func Charset(value string) html.Node

func Checked

func Checked() html.Node

func Class

func Class(value string) html.Node

func Content

func Content(value string) html.Node

func Crossorigin

func Crossorigin(value string) html.Node

func Cx

func Cx(value string) html.Node

func Cy

func Cy(value string) html.Node

func D

func D(value string) html.Node

func DataPopover

func DataPopover(value string) html.Node

func DataSide

func DataSide(value string) html.Node

func DataTooltip

func DataTooltip(value string) html.Node

func Defer

func Defer() html.Node

func Disabled

func Disabled() html.Node

func Fill

func Fill(value string) html.Node

func For

func For(value string) html.Node

func Height

func Height(value string) html.Node

func Href

func Href(value string) html.Node

func Id

func Id(value string) html.Node

func Label

func Label(value string) html.Node

func Lang

func Lang(value string) html.Node

func Method

func Method(value string) html.Node

func Name

func Name(value string) html.Node

func Onchange

func Onchange(value string) html.Node

func Onclick

func Onclick(value string) html.Node

func Placeholder

func Placeholder(value string) html.Node

func Points

func Points(value string) html.Node

func R

func R(value string) html.Node

func Readonly

func Readonly() html.Node

func Rel

func Rel(value string) html.Node

func Required

func Required() html.Node

func Role

func Role(value string) html.Node

func Rx

func Rx(value string) html.Node

func Ry

func Ry(value string) html.Node

func Selected

func Selected(value bool) html.Node

func Src

func Src(value string) html.Node

func Stroke

func Stroke(value string) html.Node

func StrokeLinecap

func StrokeLinecap(value string) html.Node

func StrokeLinejoin

func StrokeLinejoin(value string) html.Node

func StrokeWidth

func StrokeWidth(value string) html.Node

func Target

func Target(value string) html.Node

func Type

func Type(value string) html.Node

func Value

func Value(value string) html.Node

func ViewBox

func ViewBox(value string) html.Node

func Width

func Width(value string) html.Node

func X

func X(value string) html.Node

func X1

func X1(value string) html.Node

func X2

func X2(value string) html.Node

func Xmlns

func Xmlns(value string) html.Node

func Y

func Y(value string) html.Node

func Y1

func Y1(value string) html.Node

func Y2

func Y2(value string) html.Node

Types

type Attribute

type Attribute struct {
	Key   string
	Value string
}

func (Attribute) GetAttribute

func (a Attribute) GetAttribute() (key, value string)

func (Attribute) Render

func (a Attribute) Render(w http.ResponseWriter, r *http.Request) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL