hkit

package module
Version: v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2021 License: MIT Imports: 7 Imported by: 0

README

hkit

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Render

func Render(c Component) ([]byte, error)

Render .

func RenderWithContext added in v0.2.0

func RenderWithContext(ctx Context, c Component) ([]byte, error)

RenderWithContext .

Types

type AAttrs

type AAttrs struct {
	GlobalAttrs
	ID             string
	Class          string
	Style          string
	Href           string
	Target         string
	Download       string
	Ping           string
	Rel            string
	Hreflang       string
	Type           string
	Referrerpolicy string
}

AAttrs .

type AbbrAttrs

type AbbrAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

AbbrAttrs .

type AddressAttrs

type AddressAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

AddressAttrs .

type AreaAttrs

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

AreaAttrs .

type ArticleAttrs

type ArticleAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

ArticleAttrs .

type AsideAttrs

type AsideAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

AsideAttrs .

type AudioAttrs

type AudioAttrs struct {
	GlobalAttrs
	ID          string
	Class       string
	Style       string
	Src         string
	Crossorigin string
	Preload     string
	Autoplay    string
	Loop        string
	Muted       string
	Controls    string
}

AudioAttrs .

type BAttrs

type BAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

BAttrs .

type BaseAttrs

type BaseAttrs struct {
	GlobalAttrs
	ID     string
	Class  string
	Style  string
	Href   string
	Target string
}

BaseAttrs .

type BdiAttrs

type BdiAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

BdiAttrs .

type BdoAttrs

type BdoAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

BdoAttrs .

type BlockquoteAttrs

type BlockquoteAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
	Cite  string
}

BlockquoteAttrs .

type BodyAttrs

type BodyAttrs struct {
	GlobalAttrs
	ID                   string
	Class                string
	Style                string
	Onafterprint         string
	Onbeforeprint        string
	Onbeforeunload       string
	Onhashchange         string
	Onlanguagechange     string
	Onmessage            string
	Onmessageerror       string
	Onoffline            string
	Ononline             string
	Onpagehide           string
	Onpageshow           string
	Onpopstate           string
	Onrejectionhandled   string
	Onstorage            string
	Onunhandledrejection string
	Onunload             string
}

BodyAttrs .

type BrAttrs

type BrAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

BrAttrs .

type ButtonAttrs

type ButtonAttrs struct {
	GlobalAttrs
	ID             string
	Class          string
	Style          string
	Disabled       string
	Form           string
	Formaction     string
	Formenctype    string
	Formmethod     string
	Formnovalidate string
	Formtarget     string
	Name           string
	Type           string
	Value          string
}

ButtonAttrs .

type CanvasAttrs

type CanvasAttrs struct {
	GlobalAttrs
	ID     string
	Class  string
	Style  string
	Width  string
	Height string
}

CanvasAttrs .

type CaptionAttrs

type CaptionAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

CaptionAttrs .

type CiteAttrs

type CiteAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

CiteAttrs .

type CodeAttrs

type CodeAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

CodeAttrs .

type ColAttrs

type ColAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
	Span  string
}

ColAttrs .

type ColgroupAttrs

type ColgroupAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
	Span  string
}

ColgroupAttrs .

type Component

type Component func(ctx Context) Element

Component .

func A

func A(attrs *AAttrs, children ...Component) Component

A HTML element.

func Abbr

func Abbr(attrs *AbbrAttrs, children ...Component) Component

Abbr HTML element.

func Address

func Address(attrs *AddressAttrs, children ...Component) Component

Address HTML element.

func Area

func Area(attrs *AreaAttrs, children ...Component) Component

Area HTML element.

func Article

func Article(attrs *ArticleAttrs, children ...Component) Component

Article HTML element.

func Aside

func Aside(attrs *AsideAttrs, children ...Component) Component

Aside HTML element.

func Audio

func Audio(attrs *AudioAttrs, children ...Component) Component

Audio HTML element.

func B

func B(attrs *BAttrs, children ...Component) Component

B HTML element.

func Base

func Base(attrs *BaseAttrs, children ...Component) Component

Base HTML element.

func Bdi

func Bdi(attrs *BdiAttrs, children ...Component) Component

Bdi HTML element.

func Bdo

func Bdo(attrs *BdoAttrs, children ...Component) Component

Bdo HTML element.

func Blockquote

func Blockquote(attrs *BlockquoteAttrs, children ...Component) Component

Blockquote HTML element.

func Body

func Body(attrs *BodyAttrs, children ...Component) Component

Body HTML element.

func Br

func Br(attrs *BrAttrs, children ...Component) Component

Br HTML element.

func Button

func Button(attrs *ButtonAttrs, children ...Component) Component

Button HTML element.

func Canvas

func Canvas(attrs *CanvasAttrs, children ...Component) Component

Canvas HTML element.

func Caption

func Caption(attrs *CaptionAttrs, children ...Component) Component

Caption HTML element.

func Cite

func Cite(attrs *CiteAttrs, children ...Component) Component

Cite HTML element.

func Code

func Code(attrs *CodeAttrs, children ...Component) Component

Code HTML element.

func Col

func Col(attrs *ColAttrs, children ...Component) Component

Col HTML element.

func Colgroup

func Colgroup(attrs *ColgroupAttrs, children ...Component) Component

Colgroup HTML element.

func Data

func Data(attrs *DataAttrs, children ...Component) Component

Data HTML element.

func Datalist

func Datalist(attrs *DatalistAttrs, children ...Component) Component

Datalist HTML element.

func Dd

func Dd(attrs *DdAttrs, children ...Component) Component

Dd HTML element.

func Del

func Del(attrs *DelAttrs, children ...Component) Component

Del HTML element.

func Details

func Details(attrs *DetailsAttrs, children ...Component) Component

Details HTML element.

func Dfn

func Dfn(attrs *DfnAttrs, children ...Component) Component

Dfn HTML element.

func Dialog

func Dialog(attrs *DialogAttrs, children ...Component) Component

Dialog HTML element.

func Div

func Div(attrs *DivAttrs, children ...Component) Component

Div HTML element.

func Dl

func Dl(attrs *DlAttrs, children ...Component) Component

Dl HTML element.

func Dt

func Dt(attrs *DtAttrs, children ...Component) Component

Dt HTML element.

func Em

func Em(attrs *EmAttrs, children ...Component) Component

Em HTML element.

func Embed

func Embed(attrs *EmbedAttrs, children ...Component) Component

Embed HTML element.

func Fieldset

func Fieldset(attrs *FieldsetAttrs, children ...Component) Component

Fieldset HTML element.

func Figcaption

func Figcaption(attrs *FigcaptionAttrs, children ...Component) Component

Figcaption HTML element.

func Figure

func Figure(attrs *FigureAttrs, children ...Component) Component

Figure HTML element.

func Footer(attrs *FooterAttrs, children ...Component) Component

Footer HTML element.

func Form

func Form(attrs *FormAttrs, children ...Component) Component

Form HTML element.

func H1

func H1(attrs *H1Attrs, children ...Component) Component

H1 HTML element.

func H2

func H2(attrs *H2Attrs, children ...Component) Component

H2 HTML element.

func H3

func H3(attrs *H3Attrs, children ...Component) Component

H3 HTML element.

func H4

func H4(attrs *H4Attrs, children ...Component) Component

H4 HTML element.

func H5

func H5(attrs *H5Attrs, children ...Component) Component

H5 HTML element.

func H6

func H6(attrs *H6Attrs, children ...Component) Component

H6 HTML element.

func Head(attrs *HeadAttrs, children ...Component) Component

Head HTML element.

func Header(attrs *HeaderAttrs, children ...Component) Component

Header HTML element.

func Hgroup

func Hgroup(attrs *HgroupAttrs, children ...Component) Component

Hgroup HTML element.

func Hr

func Hr(attrs *HrAttrs, children ...Component) Component

Hr HTML element.

func Html

func Html(attrs *HtmlAttrs, children ...Component) Component

Html HTML element.

func I

func I(attrs *IAttrs, children ...Component) Component

I HTML element.

func If

func If(cond bool, a, b Component) Component

If .

func Iframe

func Iframe(attrs *IframeAttrs, children ...Component) Component

Iframe HTML element.

func Img

func Img(attrs *ImgAttrs, children ...Component) Component

Img HTML element.

func Input

func Input(attrs *InputAttrs, children ...Component) Component

Input HTML element.

func Ins

func Ins(attrs *InsAttrs, children ...Component) Component

Ins HTML element.

func Kbd

func Kbd(attrs *KbdAttrs, children ...Component) Component

Kbd HTML element.

func Label

func Label(attrs *LabelAttrs, children ...Component) Component

Label HTML element.

func Legend

func Legend(attrs *LegendAttrs, children ...Component) Component

Legend HTML element.

func Li

func Li(attrs *LiAttrs, children ...Component) Component

Li HTML element.

func Link(attrs *LinkAttrs, children ...Component) Component

Link HTML element.

func Main

func Main(attrs *MainAttrs, children ...Component) Component

Main HTML element.

func Map

func Map(attrs *MapAttrs, children ...Component) Component

Map HTML element.

func Mark

func Mark(attrs *MarkAttrs, children ...Component) Component

Mark HTML element.

func Menu(attrs *MenuAttrs, children ...Component) Component

Menu HTML element.

func Meta

func Meta(attrs *MetaAttrs, children ...Component) Component

Meta HTML element.

func Meter

func Meter(attrs *MeterAttrs, children ...Component) Component

Meter HTML element.

func Nav(attrs *NavAttrs, children ...Component) Component

Nav HTML element.

func Noscript

func Noscript(attrs *NoscriptAttrs, children ...Component) Component

Noscript HTML element.

func Object

func Object(attrs *ObjectAttrs, children ...Component) Component

Object HTML element.

func Ol

func Ol(attrs *OlAttrs, children ...Component) Component

Ol HTML element.

func Optgroup

func Optgroup(attrs *OptgroupAttrs, children ...Component) Component

Optgroup HTML element.

func Option

func Option(attrs *OptionAttrs, children ...Component) Component

Option HTML element.

func Output

func Output(attrs *OutputAttrs, children ...Component) Component

Output HTML element.

func P

func P(attrs *PAttrs, children ...Component) Component

P HTML element.

func Param

func Param(attrs *ParamAttrs, children ...Component) Component

Param HTML element.

func Picture

func Picture(attrs *PictureAttrs, children ...Component) Component

Picture HTML element.

func Pre

func Pre(attrs *PreAttrs, children ...Component) Component

Pre HTML element.

func Progress

func Progress(attrs *ProgressAttrs, children ...Component) Component

Progress HTML element.

func Q

func Q(attrs *QAttrs, children ...Component) Component

Q HTML element.

func Rp

func Rp(attrs *RpAttrs, children ...Component) Component

Rp HTML element.

func Rt

func Rt(attrs *RtAttrs, children ...Component) Component

Rt HTML element.

func Ruby

func Ruby(attrs *RubyAttrs, children ...Component) Component

Ruby HTML element.

func S

func S(attrs *SAttrs, children ...Component) Component

S HTML element.

func Samp

func Samp(attrs *SampAttrs, children ...Component) Component

Samp HTML element.

func Script

func Script(attrs *ScriptAttrs, children ...Component) Component

Script HTML element.

func Section

func Section(attrs *SectionAttrs, children ...Component) Component

Section HTML element.

func Select

func Select(attrs *SelectAttrs, children ...Component) Component

Select HTML element.

func Slot

func Slot(attrs *SlotAttrs, children ...Component) Component

Slot HTML element.

func Small

func Small(attrs *SmallAttrs, children ...Component) Component

Small HTML element.

func Source

func Source(attrs *SourceAttrs, children ...Component) Component

Source HTML element.

func Span

func Span(attrs *SpanAttrs, children ...Component) Component

Span HTML element.

func Strong

func Strong(attrs *StrongAttrs, children ...Component) Component

Strong HTML element.

func Style

func Style(attrs *StyleAttrs, children ...Component) Component

Style HTML element.

func Sub

func Sub(attrs *SubAttrs, children ...Component) Component

Sub HTML element.

func Summary

func Summary(attrs *SummaryAttrs, children ...Component) Component

Summary HTML element.

func Sup

func Sup(attrs *SupAttrs, children ...Component) Component

Sup HTML element.

func Table

func Table(attrs *TableAttrs, children ...Component) Component

Table HTML element.

func Tbody

func Tbody(attrs *TbodyAttrs, children ...Component) Component

Tbody HTML element.

func Td

func Td(attrs *TdAttrs, children ...Component) Component

Td HTML element.

func Template

func Template(attrs *TemplateAttrs, children ...Component) Component

Template HTML element.

func Text

func Text(t ...string) Component

Text .

func Textarea

func Textarea(attrs *TextareaAttrs, children ...Component) Component

Textarea HTML element.

func Tfoot

func Tfoot(attrs *TfootAttrs, children ...Component) Component

Tfoot HTML element.

func Th

func Th(attrs *ThAttrs, children ...Component) Component

Th HTML element.

func Thead

func Thead(attrs *TheadAttrs, children ...Component) Component

Thead HTML element.

func Time

func Time(attrs *TimeAttrs, children ...Component) Component

Time HTML element.

func Title

func Title(attrs *TitleAttrs, children ...Component) Component

Title HTML element.

func Tr

func Tr(attrs *TrAttrs, children ...Component) Component

Tr HTML element.

func Track

func Track(attrs *TrackAttrs, children ...Component) Component

Track HTML element.

func U

func U(attrs *UAttrs, children ...Component) Component

U HTML element.

func Ul

func Ul(attrs *UlAttrs, children ...Component) Component

Ul HTML element.

func Var

func Var(attrs *VarAttrs, children ...Component) Component

Var HTML element.

func Video

func Video(attrs *VideoAttrs, children ...Component) Component

Video HTML element.

func Wbr

func Wbr(attrs *WbrAttrs, children ...Component) Component

Wbr HTML element.

type Context added in v0.2.0

type Context interface {
	Get(k string) interface{}
	Set(k string, v interface{})
}

Context .

func NewContext added in v0.2.0

func NewContext() Context

NewContext .

type DataAttrs

type DataAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
	Value string
}

DataAttrs .

type DatalistAttrs

type DatalistAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

DatalistAttrs .

type DdAttrs

type DdAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

DdAttrs .

type DelAttrs

type DelAttrs struct {
	GlobalAttrs
	ID       string
	Class    string
	Style    string
	Cite     string
	Datetime string
}

DelAttrs .

type DetailsAttrs

type DetailsAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
	Open  string
}

DetailsAttrs .

type DfnAttrs

type DfnAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

DfnAttrs .

type DialogAttrs

type DialogAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
	Open  string
}

DialogAttrs .

type DivAttrs

type DivAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

DivAttrs .

type DlAttrs

type DlAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

DlAttrs .

type DtAttrs

type DtAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

DtAttrs .

type Element added in v0.2.0

type Element interface{}

Element .

type EmAttrs

type EmAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

EmAttrs .

type EmbedAttrs

type EmbedAttrs struct {
	GlobalAttrs
	ID     string
	Class  string
	Style  string
	Src    string
	Type   string
	Width  string
	Height string
	Any    string
}

EmbedAttrs .

type FieldsetAttrs

type FieldsetAttrs struct {
	GlobalAttrs
	ID       string
	Class    string
	Style    string
	Disabled string
	Form     string
	Name     string
}

FieldsetAttrs .

type FigcaptionAttrs

type FigcaptionAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

FigcaptionAttrs .

type FigureAttrs

type FigureAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

FigureAttrs .

type FooterAttrs

type FooterAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

FooterAttrs .

type FormAttrs

type FormAttrs struct {
	GlobalAttrs
	ID            string
	Class         string
	Style         string
	AcceptCharset string
	Action        string
	Autocomplete  string
	Enctype       string
	Method        string
	Name          string
	Novalidate    string
	Target        string
}

FormAttrs .

type GlobalAttrs

type GlobalAttrs struct {
	Accesskey       string
	Autocapitalize  string
	Autofocus       string
	Contenteditable string
	Dir             string
	Draggable       string
	Enterkeyhint    string
	Hidden          string
	Inputmode       string
	Is              string
	Itemid          string
	Itemprop        string
	Itemref         string
	Itemscope       string
	Itemtype        string
	Lang            string
	Nonce           string
	Spellcheck      string
	Tabindex        string
	Title           string
	Translate       string
}

GlobalAttrs .

type H1Attrs

type H1Attrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

H1Attrs .

type H2Attrs

type H2Attrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

H2Attrs .

type H3Attrs

type H3Attrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

H3Attrs .

type H4Attrs

type H4Attrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

H4Attrs .

type H5Attrs

type H5Attrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

H5Attrs .

type H6Attrs

type H6Attrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

H6Attrs .

type HeadAttrs

type HeadAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

HeadAttrs .

type HeaderAttrs

type HeaderAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

HeaderAttrs .

type HgroupAttrs

type HgroupAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

HgroupAttrs .

type HrAttrs

type HrAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

HrAttrs .

type HtmlAttrs

type HtmlAttrs struct {
	GlobalAttrs
	ID       string
	Class    string
	Style    string
	Manifest string
}

HtmlAttrs .

type IAttrs

type IAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

IAttrs .

type IframeAttrs

type IframeAttrs struct {
	GlobalAttrs
	ID              string
	Class           string
	Style           string
	Src             string
	Srcdoc          string
	Name            string
	Sandbox         string
	Allow           string
	Allowfullscreen string
	Width           string
	Height          string
	Referrerpolicy  string
	Loading         string
}

IframeAttrs .

type ImgAttrs

type ImgAttrs struct {
	GlobalAttrs
	ID             string
	Class          string
	Style          string
	Alt            string
	Src            string
	Srcset         string
	Sizes          string
	Crossorigin    string
	Usemap         string
	Ismap          string
	Width          string
	Height         string
	Referrerpolicy string
	Decoding       string
	Loading        string
}

ImgAttrs .

type InputAttrs

type InputAttrs struct {
	GlobalAttrs
	ID             string
	Class          string
	Style          string
	Accept         string
	Alt            string
	Autocomplete   string
	Checked        string
	Dirname        string
	Disabled       string
	Form           string
	Formaction     string
	Formenctype    string
	Formmethod     string
	Formnovalidate string
	Formtarget     string
	Height         string
	List           string
	Max            string
	Maxlength      string
	Min            string
	Minlength      string
	Multiple       string
	Name           string
	Pattern        string
	Placeholder    string
	Readonly       string
	Required       string
	Size           string
	Src            string
	Step           string
	Type           string
	Value          string
	Width          string
}

InputAttrs .

type InsAttrs

type InsAttrs struct {
	GlobalAttrs
	ID       string
	Class    string
	Style    string
	Cite     string
	Datetime string
}

InsAttrs .

type KbdAttrs

type KbdAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

KbdAttrs .

type LabelAttrs

type LabelAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
	For   string
}

LabelAttrs .

type LegendAttrs

type LegendAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

LegendAttrs .

type LiAttrs

type LiAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
	Value string
}

LiAttrs .

type LinkAttrs

type LinkAttrs struct {
	GlobalAttrs
	ID             string
	Class          string
	Style          string
	Href           string
	Crossorigin    string
	Rel            string
	As             string
	Media          string
	Hreflang       string
	Type           string
	Sizes          string
	Imagesrcset    string
	Imagesizes     string
	Referrerpolicy string
	Integrity      string
	Color          string
	Disabled       string
}

LinkAttrs .

type MainAttrs

type MainAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

MainAttrs .

type MapAttrs

type MapAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
	Name  string
}

MapAttrs .

type MarkAttrs

type MarkAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

MarkAttrs .

type MenuAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

MenuAttrs .

type MetaAttrs

type MetaAttrs struct {
	GlobalAttrs
	ID        string
	Class     string
	Style     string
	Name      string
	HttpEquiv string
	Content   string
	Charset   string
}

MetaAttrs .

type MeterAttrs

type MeterAttrs struct {
	GlobalAttrs
	ID      string
	Class   string
	Style   string
	Value   string
	Min     string
	Max     string
	Low     string
	High    string
	Optimum string
}

MeterAttrs .

type NavAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

NavAttrs .

type NoscriptAttrs

type NoscriptAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

NoscriptAttrs .

type ObjectAttrs

type ObjectAttrs struct {
	GlobalAttrs
	ID     string
	Class  string
	Style  string
	Data   string
	Type   string
	Name   string
	Form   string
	Width  string
	Height string
}

ObjectAttrs .

type OlAttrs

type OlAttrs struct {
	GlobalAttrs
	ID       string
	Class    string
	Style    string
	Reversed string
	Start    string
	Type     string
}

OlAttrs .

type OptgroupAttrs

type OptgroupAttrs struct {
	GlobalAttrs
	ID       string
	Class    string
	Style    string
	Disabled string
	Label    string
}

OptgroupAttrs .

type OptionAttrs

type OptionAttrs struct {
	GlobalAttrs
	ID       string
	Class    string
	Style    string
	Disabled string
	Label    string
	Selected string
	Value    string
}

OptionAttrs .

type OutputAttrs

type OutputAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
	For   string
	Form  string
	Name  string
}

OutputAttrs .

type PAttrs

type PAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

PAttrs .

type ParamAttrs

type ParamAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
	Name  string
	Value string
}

ParamAttrs .

type PictureAttrs

type PictureAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

PictureAttrs .

type PreAttrs

type PreAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

PreAttrs .

type ProgressAttrs

type ProgressAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
	Value string
	Max   string
}

ProgressAttrs .

type QAttrs

type QAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
	Cite  string
}

QAttrs .

type Renderable added in v0.3.0

type Renderable interface {
	HTML() *html.Node
}

Renderable .

type RpAttrs

type RpAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

RpAttrs .

type RtAttrs

type RtAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

RtAttrs .

type RubyAttrs

type RubyAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

RubyAttrs .

type SAttrs

type SAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

SAttrs .

type SampAttrs

type SampAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

SampAttrs .

type ScriptAttrs

type ScriptAttrs struct {
	GlobalAttrs
	ID             string
	Class          string
	Style          string
	Src            string
	Type           string
	Async          string
	Defer          string
	Crossorigin    string
	Integrity      string
	Referrerpolicy string
}

ScriptAttrs .

type SectionAttrs

type SectionAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

SectionAttrs .

type SelectAttrs

type SelectAttrs struct {
	GlobalAttrs
	ID           string
	Class        string
	Style        string
	Autocomplete string
	Disabled     string
	Form         string
	Multiple     string
	Name         string
	Required     string
	Size         string
}

SelectAttrs .

type SlotAttrs

type SlotAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
	Name  string
}

SlotAttrs .

type SmallAttrs

type SmallAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

SmallAttrs .

type SourceAttrs

type SourceAttrs struct {
	GlobalAttrs
	ID     string
	Class  string
	Style  string
	Src    string
	Type   string
	Srcset string
	Sizes  string
	Media  string
	Width  string
	Height string
}

SourceAttrs .

type SpanAttrs

type SpanAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

SpanAttrs .

type StrongAttrs

type StrongAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

StrongAttrs .

type StyleAttrs

type StyleAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
	Media string
}

StyleAttrs .

type SubAttrs

type SubAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

SubAttrs .

type SummaryAttrs

type SummaryAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

SummaryAttrs .

type SupAttrs

type SupAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

SupAttrs .

type TableAttrs

type TableAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

TableAttrs .

type TbodyAttrs

type TbodyAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

TbodyAttrs .

type TdAttrs

type TdAttrs struct {
	GlobalAttrs
	ID      string
	Class   string
	Style   string
	Colspan string
	Rowspan string
	Headers string
}

TdAttrs .

type TemplateAttrs

type TemplateAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

TemplateAttrs .

type TextareaAttrs

type TextareaAttrs struct {
	GlobalAttrs
	ID          string
	Class       string
	Style       string
	Cols        string
	Dirname     string
	Disabled    string
	Form        string
	Maxlength   string
	Minlength   string
	Name        string
	Placeholder string
	Readonly    string
	Required    string
	Rows        string
	Wrap        string
}

TextareaAttrs .

type TfootAttrs

type TfootAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

TfootAttrs .

type ThAttrs

type ThAttrs struct {
	GlobalAttrs
	ID      string
	Class   string
	Style   string
	Colspan string
	Rowspan string
	Headers string
	Scope   string
	Abbr    string
}

ThAttrs .

type TheadAttrs

type TheadAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

TheadAttrs .

type TimeAttrs

type TimeAttrs struct {
	GlobalAttrs
	ID       string
	Class    string
	Style    string
	Datetime string
}

TimeAttrs .

type TitleAttrs

type TitleAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

TitleAttrs .

type TrAttrs

type TrAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

TrAttrs .

type TrackAttrs

type TrackAttrs struct {
	GlobalAttrs
	ID      string
	Class   string
	Style   string
	Default string
	Kind    string
	Label   string
	Src     string
	Srclang string
}

TrackAttrs .

type UAttrs

type UAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

UAttrs .

type UlAttrs

type UlAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

UlAttrs .

type VarAttrs

type VarAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

VarAttrs .

type VideoAttrs

type VideoAttrs struct {
	GlobalAttrs
	ID          string
	Class       string
	Style       string
	Src         string
	Crossorigin string
	Poster      string
	Preload     string
	Autoplay    string
	Playsinline string
	Loop        string
	Muted       string
	Controls    string
	Width       string
	Height      string
}

VideoAttrs .

type WbrAttrs

type WbrAttrs struct {
	GlobalAttrs
	ID    string
	Class string
	Style string
}

WbrAttrs .

Directories

Path Synopsis
examples

Jump to

Keyboard shortcuts

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