Documentation
¶
Index ¶
- type Abbr
- func (a *Abbr) AddStyle(k, v string) *Abbr
- func (a *Abbr) AddStyles(m StyleMap) *Abbr
- func (a *Abbr) Bytes() []byte
- func (a *Abbr) HTML() string
- func (a *Abbr) IsBodyElement()
- func (a *Abbr) Prepare()
- func (a *Abbr) Render() []byte
- func (a *Abbr) String() string
- func (a *Abbr) Style(m StyleMap) *Abbr
- func (a *Abbr) Text(s string) *Abbr
- func (a *Abbr) Title(s string) *Abbr
- type Address
- func (ad *Address) Add(e Element) *Address
- func (ad *Address) AddStyle(k, v string) *Address
- func (ad *Address) AddStyles(mp StyleMap) *Address
- func (ad *Address) Bytes() []byte
- func (a *Address) HTML() string
- func (ad *Address) IsBodyElement()
- func (ad *Address) Prepare()
- func (a *Address) Render() []byte
- func (a *Address) String() string
- func (ad *Address) Style(mp StyleMap) *Address
- type Anchor
- func (a *Anchor) AddStyle(k, v string) *Anchor
- func (a *Anchor) Bytes() []byte
- func (a *Anchor) HTML() string
- func (a *Anchor) IsBodyElement()
- func (a *Anchor) Link(s string) *Anchor
- func (a *Anchor) Prepare()
- func (a *Anchor) Render() []byte
- func (a *Anchor) String() string
- func (a *Anchor) Style(m StyleMap) *Anchor
- func (a *Anchor) Text(s string) *Anchor
- type Area
- func (a *Area) AddStyle(k, v string) *Area
- func (a *Area) AddStyles(m StyleMap) *Area
- func (a *Area) Alt(alt string) *Area
- func (a *Area) Bytes() []byte
- func (a *Area) Coords(coords string) *Area
- func (a *Area) HTML() string
- func (a *Area) Href(href string) *Area
- func (a *Area) IsBodyElement()
- func (a *Area) Prepare()
- func (a *Area) Render() []byte
- func (a *Area) Shape(shape string) *Area
- func (a *Area) String() string
- func (a *Area) Style(m StyleMap) *Area
- func (a *Area) Target(target string) *Area
- type Article
- func (a *Article) Add(e Element) *Article
- func (a *Article) AddStyle(k, v string) *Article
- func (a *Article) AddStyles(mp StyleMap) *Article
- func (a *Article) Bytes() []byte
- func (a *Article) HTML() string
- func (a *Article) IsBodyElement()
- func (a *Article) Prepare()
- func (a *Article) Render() []byte
- func (a *Article) String() string
- func (a *Article) Style(mp StyleMap) *Article
- type Aside
- func (as *Aside) Add(e Element) *Aside
- func (as *Aside) AddStyle(k, v string) *Aside
- func (as *Aside) AddStyles(mp StyleMap) *Aside
- func (as *Aside) Bytes() []byte
- func (a *Aside) HTML() string
- func (as *Aside) IsBodyElement()
- func (as *Aside) Prepare()
- func (a *Aside) Render() []byte
- func (a *Aside) String() string
- func (as *Aside) Style(mp StyleMap) *Aside
- type Audio
- func (a *Audio) Add(e Element) *Audio
- func (a *Audio) AddStyle(k, v string) *Audio
- func (a *Audio) AddStyles(m StyleMap) *Audio
- func (a *Audio) Autoplay(autoplay bool) *Audio
- func (a *Audio) Bytes() []byte
- func (a *Audio) Controls(controls bool) *Audio
- func (a *Audio) HTML() string
- func (a *Audio) IsBodyElement()
- func (a *Audio) Loop(loop bool) *Audio
- func (a *Audio) Muted(muted bool) *Audio
- func (a *Audio) Preload(preload string) *Audio
- func (a *Audio) Prepare()
- func (a *Audio) Render() []byte
- func (a *Audio) Src(src string) *Audio
- func (a *Audio) String() string
- func (a *Audio) Style(m StyleMap) *Audio
- type B
- type Base
- func (b *Base) AddStyle(k, v string) *Base
- func (b *Base) AddStyles(m StyleMap) *Base
- func (b *Base) Bytes() []byte
- func (b *Base) HTML() string
- func (b *Base) Href(href string) *Base
- func (b *Base) IsHeadElement()
- func (b *Base) Prepare()
- func (b *Base) Render() []byte
- func (b *Base) String() string
- func (b *Base) Style(m StyleMap) *Base
- func (b *Base) Target(target string) *Base
- type Bdi
- func (d *Bdi) AddStyle(k, v string) *Bdi
- func (d *Bdi) AddStyles(m StyleMap) *Bdi
- func (d *Bdi) Bytes() []byte
- func (b *Bdi) HTML() string
- func (d *Bdi) IsBodyElement()
- func (d *Bdi) Prepare()
- func (b *Bdi) Render() []byte
- func (b *Bdi) String() string
- func (d *Bdi) Style(m StyleMap) *Bdi
- func (d *Bdi) Text(s string) *Bdi
- type Bdo
- func (d *Bdo) AddStyle(k, v string) *Bdo
- func (d *Bdo) AddStyles(m StyleMap) *Bdo
- func (d *Bdo) Bytes() []byte
- func (b *Bdo) HTML() string
- func (d *Bdo) IsBodyElement()
- func (d *Bdo) Prepare()
- func (b *Bdo) Render() []byte
- func (b *Bdo) String() string
- func (d *Bdo) Style(m StyleMap) *Bdo
- func (d *Bdo) Text(s string) *Bdo
- type Blockquote
- func (b *Blockquote) AddStyle(k, v string) *Blockquote
- func (b *Blockquote) AddStyles(m StyleMap) *Blockquote
- func (b *Blockquote) Bytes() []byte
- func (b *Blockquote) Cite(c string) *Blockquote
- func (b *Blockquote) HTML() string
- func (b *Blockquote) IsBodyElement()
- func (b *Blockquote) Prepare()
- func (b *Blockquote) Render() []byte
- func (b *Blockquote) String() string
- func (b *Blockquote) Style(m StyleMap) *Blockquote
- func (b *Blockquote) Text(str string) *Blockquote
- type Body
- func (b *Body) Add(e Element) *Body
- func (b *Body) AddStyle(k, v string) *Body
- func (b *Body) AddStyles(m StyleMap) *Body
- func (b *Body) Bytes() []byte
- func (b *Body) HTML() string
- func (b *Body) IsBodyElement()
- func (b *Body) OnLoad(onLoad string) *Body
- func (b *Body) OnUnload(onUnload string) *Body
- func (b *Body) Prepare()
- func (b *Body) Render() []byte
- func (b *Body) String() string
- func (b *Body) Style(m StyleMap) *Body
- type BodyElement
- type Br
- type Button
- func (b *Button) Add(e Element) *Button
- func (b *Button) AddStyle(k, v string) *Button
- func (b *Button) AddStyles(m StyleMap) *Button
- func (b *Button) Autofocus(autofocus bool) *Button
- func (b *Button) Bytes() []byte
- func (b *Button) Disabled(disabled bool) *Button
- func (b *Button) Form(form string) *Button
- func (b *Button) FormAction(formAction string) *Button
- func (b *Button) FormEnctype(formEnctype string) *Button
- func (b *Button) FormMethod(formMethod string) *Button
- func (b *Button) FormNovalidate(formNovalidate bool) *Button
- func (b *Button) FormTarget(formTarget string) *Button
- func (b *Button) HTML() string
- func (b *Button) IsBodyElement()
- func (b *Button) Name(name string) *Button
- func (b *Button) Prepare()
- func (b *Button) Render() []byte
- func (b *Button) String() string
- func (b *Button) Style(m StyleMap) *Button
- func (b *Button) Text(text string) *Button
- func (b *Button) Type(buttonType string) *Button
- func (b *Button) Value(value string) *Button
- type CSSRule
- type Canvas
- func (c *Canvas) Add(e Element) *Canvas
- func (c *Canvas) AddStyle(k, v string) *Canvas
- func (c *Canvas) AddStyles(m StyleMap) *Canvas
- func (c *Canvas) Bytes() []byte
- func (c *Canvas) HTML() string
- func (c *Canvas) Height(height string) *Canvas
- func (c *Canvas) IsBodyElement()
- func (c *Canvas) Prepare()
- func (c *Canvas) Render() []byte
- func (c *Canvas) String() string
- func (c *Canvas) Style(m StyleMap) *Canvas
- func (c *Canvas) Width(width string) *Canvas
- type Caption
- func (c *Caption) AddClass(s string) *Caption
- func (c *Caption) AddClasses(s []string) *Caption
- func (c *Caption) AddId(s string) *Caption
- func (c *Caption) AddStyle(k, v string) *Caption
- func (c *Caption) AddStyles(m StyleMap) *Caption
- func (c *Caption) Bytes() []byte
- func (c *Caption) Class(s []string) *Caption
- func (c *Caption) HTML() string
- func (c *Caption) Id(s string) *Caption
- func (c *Caption) IsBodyElement()
- func (c *Caption) Prepare()
- func (c *Caption) Render() []byte
- func (c *Caption) String() string
- func (c *Caption) Styles(m StyleMap) *Caption
- func (c *Caption) Text(text string) *Caption
- type CharsetRule
- type Cite
- func (c *Cite) AddStyle(k, v string) *Cite
- func (c *Cite) AddStyles(m StyleMap) *Cite
- func (c *Cite) Bytes() []byte
- func (c *Cite) HTML() string
- func (c *Cite) IsBodyElement()
- func (c *Cite) Prepare()
- func (c *Cite) Render() []byte
- func (c *Cite) String() string
- func (c *Cite) Style(m StyleMap) *Cite
- func (c *Cite) Text(s string) *Cite
- type Code
- func (c *Code) AddStyle(k, v string) *Code
- func (c *Code) AddStyles(m StyleMap) *Code
- func (c *Code) Bytes() []byte
- func (c *Code) HTML() string
- func (c *Code) IsBodyElement()
- func (c *Code) Prepare()
- func (c *Code) Render() []byte
- func (c *Code) String() string
- func (c *Code) Style(m StyleMap) *Code
- func (c *Code) Text(s string) *Code
- type Col
- func (col *Col) AddClass(s string) *Col
- func (col *Col) AddClasses(s []string) *Col
- func (col *Col) AddId(s string) *Col
- func (col *Col) AddStyle(k, v string) *Col
- func (col *Col) AddStyles(m StyleMap) *Col
- func (col *Col) Bytes() []byte
- func (col *Col) Class(s []string) *Col
- func (c *Col) HTML() string
- func (col *Col) Id(s string) *Col
- func (col *Col) IsBodyElement()
- func (col *Col) Prepare()
- func (c *Col) Render() []byte
- func (col *Col) Span(s int) *Col
- func (c *Col) String() string
- func (col *Col) Styles(m StyleMap) *Col
- type Colgroup
- func (cg *Colgroup) Add(e Element) *Colgroup
- func (cg *Colgroup) AddClass(s string) *Colgroup
- func (cg *Colgroup) AddClasses(s []string) *Colgroup
- func (cg *Colgroup) AddId(s string) *Colgroup
- func (cg *Colgroup) AddStyle(k, v string) *Colgroup
- func (cg *Colgroup) AddStyles(m StyleMap) *Colgroup
- func (cg *Colgroup) Bytes() []byte
- func (cg *Colgroup) Class(s []string) *Colgroup
- func (c *Colgroup) HTML() string
- func (cg *Colgroup) Id(s string) *Colgroup
- func (cg *Colgroup) IsBodyElement()
- func (cg *Colgroup) Prepare()
- func (c *Colgroup) Render() []byte
- func (cg *Colgroup) Span(s int) *Colgroup
- func (c *Colgroup) String() string
- func (cg *Colgroup) Styles(m StyleMap) *Colgroup
- type Comment
- type Data
- func (d *Data) AddStyle(k, v string) *Data
- func (d *Data) AddStyles(m StyleMap) *Data
- func (d *Data) Bytes() []byte
- func (d *Data) HTML() string
- func (d *Data) IsBodyElement()
- func (d *Data) Prepare()
- func (d *Data) Render() []byte
- func (d *Data) String() string
- func (d *Data) Style(m StyleMap) *Data
- func (d *Data) Text(s string) *Data
- func (d *Data) Value(s string) *Data
- type Datalist
- func (d *Datalist) Add(e Element) *Datalist
- func (d *Datalist) AddStyle(k, v string) *Datalist
- func (d *Datalist) AddStyles(m StyleMap) *Datalist
- func (d *Datalist) Bytes() []byte
- func (d *Datalist) HTML() string
- func (d *Datalist) Id(id string) *Datalist
- func (d *Datalist) IsBodyElement()
- func (d *Datalist) Prepare()
- func (d *Datalist) Render() []byte
- func (d *Datalist) String() string
- func (d *Datalist) Style(m StyleMap) *Datalist
- type Dd
- func (d *Dd) Add(e Element) *Dd
- func (d *Dd) AddStyle(k, v string) *Dd
- func (d *Dd) AddStyles(m StyleMap) *Dd
- func (d *Dd) Bytes() []byte
- func (d *Dd) HTML() string
- func (d *Dd) IsBodyElement()
- func (d *Dd) Prepare()
- func (d *Dd) Render() []byte
- func (d *Dd) String() string
- func (d *Dd) Style(m StyleMap) *Dd
- type Del
- func (d *Del) Add(e Element) *Del
- func (d *Del) AddStyle(k, v string) *Del
- func (d *Del) AddStyles(m StyleMap) *Del
- func (d *Del) Bytes() []byte
- func (d *Del) Cite(url string) *Del
- func (d *Del) Datetime(datetime string) *Del
- func (d *Del) HTML() string
- func (d *Del) IsBodyElement()
- func (d *Del) Prepare()
- func (d *Del) Render() []byte
- func (d *Del) String() string
- func (d *Del) Style(m StyleMap) *Del
- type Details
- func (d *Details) Add(e Element) *Details
- func (d *Details) AddStyle(k, v string) *Details
- func (d *Details) AddStyles(m StyleMap) *Details
- func (d *Details) Bytes() []byte
- func (d *Details) HTML() string
- func (d *Details) IsBodyElement()
- func (d *Details) Open(open bool) *Details
- func (d *Details) Prepare()
- func (d *Details) Render() []byte
- func (d *Details) String() string
- func (d *Details) Style(m StyleMap) *Details
- type Dfn
- func (d *Dfn) AddStyle(k, v string) *Dfn
- func (d *Dfn) AddStyles(m StyleMap) *Dfn
- func (d *Dfn) Bytes() []byte
- func (d *Dfn) HTML() string
- func (d *Dfn) IsBodyElement()
- func (d *Dfn) Prepare()
- func (d *Dfn) Render() []byte
- func (d *Dfn) String() string
- func (d *Dfn) Style(m StyleMap) *Dfn
- func (d *Dfn) Text(s string) *Dfn
- func (d *Dfn) Title(s string) *Dfn
- type Dialog
- func (d *Dialog) Add(e Element) *Dialog
- func (d *Dialog) AddStyle(k, v string) *Dialog
- func (d *Dialog) AddStyles(m StyleMap) *Dialog
- func (d *Dialog) Bytes() []byte
- func (d *Dialog) HTML() string
- func (d *Dialog) IsBodyElement()
- func (d *Dialog) Open(open bool) *Dialog
- func (d *Dialog) Prepare()
- func (d *Dialog) Render() []byte
- func (d *Dialog) String() string
- func (d *Dialog) Style(m StyleMap) *Dialog
- type Div
- type Dl
- func (d *Dl) Add(e Element) *Dl
- func (d *Dl) AddStyle(k, v string) *Dl
- func (d *Dl) AddStyles(m StyleMap) *Dl
- func (d *Dl) Bytes() []byte
- func (d *Dl) HTML() string
- func (d *Dl) IsBodyElement()
- func (d *Dl) Prepare()
- func (d *Dl) Render() []byte
- func (d *Dl) String() string
- func (d *Dl) Style(m StyleMap) *Dl
- type Dt
- func (d *Dt) Add(e Element) *Dt
- func (d *Dt) AddStyle(k, v string) *Dt
- func (d *Dt) AddStyles(m StyleMap) *Dt
- func (d *Dt) Bytes() []byte
- func (d *Dt) HTML() string
- func (d *Dt) IsBodyElement()
- func (d *Dt) Prepare()
- func (d *Dt) Render() []byte
- func (d *Dt) String() string
- func (d *Dt) Style(m StyleMap) *Dt
- type Element
- type Em
- func (e *Em) AddStyle(k, v string) *Em
- func (e *Em) AddStyles(m StyleMap) *Em
- func (e *Em) Bytes() []byte
- func (e *Em) HTML() string
- func (e *Em) IsBodyElement()
- func (e *Em) Prepare()
- func (e *Em) Render() []byte
- func (e *Em) String() string
- func (e *Em) Style(m StyleMap) *Em
- func (e *Em) Text(s string) *Em
- type Embed
- func (e *Embed) AddStyle(k, v string) *Embed
- func (e *Embed) AddStyles(m StyleMap) *Embed
- func (e *Embed) Bytes() []byte
- func (e *Embed) HTML() string
- func (e *Embed) Height(height string) *Embed
- func (e *Embed) IsBodyElement()
- func (e *Embed) Prepare()
- func (e *Embed) Render() []byte
- func (e *Embed) Src(src string) *Embed
- func (e *Embed) String() string
- func (e *Embed) Style(m StyleMap) *Embed
- func (e *Embed) Type(embedType string) *Embed
- func (e *Embed) Width(width string) *Embed
- type Fieldset
- func (f *Fieldset) Add(e Element) *Fieldset
- func (f *Fieldset) AddStyle(k, v string) *Fieldset
- func (f *Fieldset) AddStyles(m StyleMap) *Fieldset
- func (f *Fieldset) Bytes() []byte
- func (f *Fieldset) Disabled(disabled bool) *Fieldset
- func (f *Fieldset) Form(form string) *Fieldset
- func (f *Fieldset) HTML() string
- func (f *Fieldset) IsBodyElement()
- func (f *Fieldset) Name(name string) *Fieldset
- func (f *Fieldset) Prepare()
- func (f *Fieldset) Render() []byte
- func (f *Fieldset) String() string
- func (f *Fieldset) Style(m StyleMap) *Fieldset
- type Figcaption
- func (f *Figcaption) Add(e Element) *Figcaption
- func (f *Figcaption) AddStyle(k, v string) *Figcaption
- func (f *Figcaption) AddStyles(m StyleMap) *Figcaption
- func (f *Figcaption) Bytes() []byte
- func (f *Figcaption) HTML() string
- func (f *Figcaption) IsBodyElement()
- func (f *Figcaption) Prepare()
- func (f *Figcaption) Render() []byte
- func (f *Figcaption) String() string
- func (f *Figcaption) Style(m StyleMap) *Figcaption
- type Figure
- func (f *Figure) Add(e Element) *Figure
- func (f *Figure) AddStyle(k, v string) *Figure
- func (f *Figure) AddStyles(m StyleMap) *Figure
- func (f *Figure) Bytes() []byte
- func (f *Figure) HTML() string
- func (f *Figure) IsBodyElement()
- func (f *Figure) Prepare()
- func (f *Figure) Render() []byte
- func (f *Figure) String() string
- func (f *Figure) Style(m StyleMap) *Figure
- type FontFaceRule
- func (f *FontFaceRule) AddStyle(k, v string) *FontFaceRule
- func (f *FontFaceRule) AddStyles(styles StyleMap) *FontFaceRule
- func (f *FontFaceRule) Bytes() []byte
- func (f *FontFaceRule) HTML() string
- func (f *FontFaceRule) IsCSSRule()
- func (f *FontFaceRule) Prepare()
- func (f *FontFaceRule) Render() []byte
- func (f *FontFaceRule) String() string
- func (f *FontFaceRule) Style(styles StyleMap) *FontFaceRule
- type FontFeatureValuesRule
- func (f *FontFeatureValuesRule) Bytes() []byte
- func (f *FontFeatureValuesRule) HTML() string
- func (f *FontFeatureValuesRule) IsCSSRule()
- func (f *FontFeatureValuesRule) Prepare()
- func (f *FontFeatureValuesRule) Render() []byte
- func (f *FontFeatureValuesRule) String() string
- func (f *FontFeatureValuesRule) Text(content string) *FontFeatureValuesRule
- type Footer
- func (f *Footer) Add(e Element) *Footer
- func (f *Footer) AddStyle(k, v string) *Footer
- func (f *Footer) AddStyles(mp StyleMap) *Footer
- func (f *Footer) Bytes() []byte
- func (f *Footer) HTML() string
- func (f *Footer) IsBodyElement()
- func (f *Footer) Prepare()
- func (f *Footer) Render() []byte
- func (f *Footer) String() string
- func (f *Footer) Style(mp StyleMap) *Footer
- type Form
- func (f *Form) AcceptCharset(acceptcharset string) *Form
- func (f *Form) Action(action string) *Form
- func (f *Form) Add(e Element) *Form
- func (f *Form) AddStyle(k, v string) *Form
- func (f *Form) AddStyles(m StyleMap) *Form
- func (f *Form) Autocomplete(autocomplete string) *Form
- func (f *Form) Bytes() []byte
- func (f *Form) Enctype(enctype string) *Form
- func (f *Form) HTML() string
- func (f *Form) IsBodyElement()
- func (f *Form) Method(method string) *Form
- func (f *Form) Name(name string) *Form
- func (f *Form) Novalidate(novalidate bool) *Form
- func (f *Form) Prepare()
- func (f *Form) Render() []byte
- func (f *Form) String() string
- func (f *Form) Style(m StyleMap) *Form
- func (f *Form) Target(target string) *Form
- type H1
- type H2
- type H3
- type H4
- type H5
- type H6
- type Head
- func (h *Head) Add(e Element) *Head
- func (h *Head) AddStyle(k, v string) *Head
- func (h *Head) AddStyles(m StyleMap) *Head
- func (h *Head) Bytes() []byte
- func (h *Head) HTML() string
- func (h *Head) Prepare()
- func (h *Head) Render() []byte
- func (h *Head) String() string
- func (h *Head) Style(m StyleMap) *Head
- type HeadElement
- type Header
- func (h *Header) Add(e Element) *Header
- func (h *Header) AddStyle(k, v string) *Header
- func (h *Header) AddStyles(m StyleMap) *Header
- func (h *Header) Bytes() []byte
- func (h *Header) HTML() string
- func (h *Header) IsBodyElement()
- func (h *Header) Prepare()
- func (h *Header) Render() []byte
- func (h *Header) String() string
- func (h *Header) Style(m StyleMap) *Header
- type Hgroup
- func (h *Hgroup) Add(e Element) *Hgroup
- func (h *Hgroup) AddStyle(k, v string) *Hgroup
- func (h *Hgroup) AddStyles(m StyleMap) *Hgroup
- func (h *Hgroup) Bytes() []byte
- func (h *Hgroup) HTML() string
- func (h *Hgroup) IsBodyElement()
- func (h *Hgroup) Prepare()
- func (h *Hgroup) Render() []byte
- func (h *Hgroup) String() string
- func (h *Hgroup) Style(m StyleMap) *Hgroup
- type Hr
- type HtmlFile
- func (h *HtmlFile) Add(e Element) *HtmlFile
- func (h *HtmlFile) AddStyle(k, v string) *HtmlFile
- func (h *HtmlFile) AddStyles(m StyleMap) *HtmlFile
- func (h *HtmlFile) AddToBody(e Element) *HtmlFile
- func (h *HtmlFile) AddToHead(e Element) *HtmlFile
- func (h *HtmlFile) Bytes() []byte
- func (h *HtmlFile) ContextMenu(contextMenu string) *HtmlFile
- func (h *HtmlFile) Dir(dir string) *HtmlFile
- func (h *HtmlFile) Err() error
- func (h *HtmlFile) Lang(lang string) *HtmlFile
- func (h *HtmlFile) Manifest(manifest string) *HtmlFile
- func (h *HtmlFile) Prepare()
- func (h *HtmlFile) Render() ([]byte, error)
- func (h *HtmlFile) RenderFormatted() ([]byte, error)
- func (h *HtmlFile) RenderFormattedString() (string, error)
- func (h *HtmlFile) RenderString() (string, error)
- func (h *HtmlFile) Style(m StyleMap) *HtmlFile
- func (h *HtmlFile) WriteToFile(path string) error
- func (h *HtmlFile) XmlLang(xmlLang string) *HtmlFile
- func (h *HtmlFile) Xmlns(xmlns string) *HtmlFile
- type I
- type Iframe
- func (i *Iframe) AddStyle(k, v string) *Iframe
- func (i *Iframe) AddStyles(m StyleMap) *Iframe
- func (i *Iframe) Allow(allow string) *Iframe
- func (i *Iframe) Allowfullscreen(allowfullscreen bool) *Iframe
- func (i *Iframe) Bytes() []byte
- func (i *Iframe) HTML() string
- func (i *Iframe) Height(height string) *Iframe
- func (i *Iframe) IsBodyElement()
- func (i *Iframe) Loading(loading string) *Iframe
- func (i *Iframe) Name(name string) *Iframe
- func (i *Iframe) Prepare()
- func (i *Iframe) Referrerpolicy(referrerpolicy string) *Iframe
- func (i *Iframe) Render() []byte
- func (i *Iframe) Sandbox(sandbox string) *Iframe
- func (i *Iframe) Src(src string) *Iframe
- func (i *Iframe) Srcdoc(srcdoc string) *Iframe
- func (i *Iframe) String() string
- func (i *Iframe) Style(m StyleMap) *Iframe
- func (i *Iframe) Width(width string) *Iframe
- type Img
- func (i *Img) AddStyle(k, v string) *Img
- func (i *Img) AddStyles(m StyleMap) *Img
- func (i *Img) Alt(alt string) *Img
- func (i *Img) Bytes() []byte
- func (i *Img) HTML() string
- func (i *Img) Height(height string) *Img
- func (i *Img) IsBodyElement()
- func (i *Img) Prepare()
- func (i *Img) Render() []byte
- func (i *Img) Src(src string) *Img
- func (i *Img) String() string
- func (i *Img) Style(m StyleMap) *Img
- func (i *Img) Title(title string) *Img
- func (i *Img) Width(width string) *Img
- type ImportRule
- func (i *ImportRule) Bytes() []byte
- func (i *ImportRule) Condition(condition string) *ImportRule
- func (i *ImportRule) ConditionsList(conditions []string) *ImportRule
- func (i *ImportRule) HTML() string
- func (i *ImportRule) IsCSSRule()
- func (i *ImportRule) Prepare()
- func (i *ImportRule) Render() []byte
- func (i *ImportRule) String() string
- type Input
- func (i *Input) Accept(accept string) *Input
- func (i *Input) AddStyle(k, v string) *Input
- func (i *Input) AddStyles(m StyleMap) *Input
- func (i *Input) Autocomplete(autocomplete string) *Input
- func (i *Input) Autofocus(autofocus bool) *Input
- func (i *Input) Bytes() []byte
- func (i *Input) Checked(checked bool) *Input
- func (i *Input) Disabled(disabled bool) *Input
- func (i *Input) Form(form string) *Input
- func (i *Input) HTML() string
- func (i *Input) Id(id string) *Input
- func (i *Input) IsBodyElement()
- func (i *Input) Max(max string) *Input
- func (i *Input) Maxlength(maxlength string) *Input
- func (i *Input) Min(min string) *Input
- func (i *Input) Minlength(minlength string) *Input
- func (i *Input) Multiple(multiple bool) *Input
- func (i *Input) Name(name string) *Input
- func (i *Input) Pattern(pattern string) *Input
- func (i *Input) Placeholder(placeholder string) *Input
- func (i *Input) Prepare()
- func (i *Input) Readonly(readonly bool) *Input
- func (i *Input) Render() []byte
- func (i *Input) Required(required bool) *Input
- func (i *Input) Size(size string) *Input
- func (i *Input) Step(step string) *Input
- func (i *Input) String() string
- func (i *Input) Style(m StyleMap) *Input
- func (i *Input) Type(inputtype string) *Input
- func (i *Input) Value(value string) *Input
- type Ins
- func (i *Ins) Add(e Element) *Ins
- func (i *Ins) AddStyle(k, v string) *Ins
- func (i *Ins) AddStyles(m StyleMap) *Ins
- func (i *Ins) Bytes() []byte
- func (i *Ins) Cite(url string) *Ins
- func (i *Ins) Datetime(datetime string) *Ins
- func (i *Ins) HTML() string
- func (i *Ins) IsBodyElement()
- func (i *Ins) Prepare()
- func (i *Ins) Render() []byte
- func (i *Ins) String() string
- func (i *Ins) Style(m StyleMap) *Ins
- type Kbd
- func (k *Kbd) AddStyle(key, v string) *Kbd
- func (k *Kbd) AddStyles(m StyleMap) *Kbd
- func (k *Kbd) Bytes() []byte
- func (k *Kbd) HTML() string
- func (k *Kbd) IsBodyElement()
- func (k *Kbd) Prepare()
- func (k *Kbd) Render() []byte
- func (k *Kbd) String() string
- func (k *Kbd) Style(m StyleMap) *Kbd
- func (k *Kbd) Text(s string) *Kbd
- type KeyframeBlock
- func (k *KeyframeBlock) AddStyle(prop, value string) *KeyframeBlock
- func (k *KeyframeBlock) AddStyles(styles StyleMap) *KeyframeBlock
- func (k *KeyframeBlock) Bytes() []byte
- func (k *KeyframeBlock) HTML() string
- func (k *KeyframeBlock) Prepare()
- func (k *KeyframeBlock) Render() []byte
- func (k *KeyframeBlock) String() string
- func (k *KeyframeBlock) Style(styles StyleMap) *KeyframeBlock
- type KeyframesRule
- func (k *KeyframesRule) AddBlock(frame *KeyframeBlock) *KeyframesRule
- func (k *KeyframesRule) AddFrame(selector string, props StyleMap) *KeyframesRule
- func (k *KeyframesRule) Bytes() []byte
- func (k *KeyframesRule) HTML() string
- func (k *KeyframesRule) IsCSSRule()
- func (k *KeyframesRule) Prepare()
- func (k *KeyframesRule) Render() []byte
- func (k *KeyframesRule) String() string
- type Label
- func (l *Label) Add(e Element) *Label
- func (l *Label) AddStyle(k, v string) *Label
- func (l *Label) AddStyles(m StyleMap) *Label
- func (l *Label) Bytes() []byte
- func (l *Label) For(forattr string) *Label
- func (l *Label) Form(form string) *Label
- func (l *Label) HTML() string
- func (l *Label) IsBodyElement()
- func (l *Label) Prepare()
- func (l *Label) Render() []byte
- func (l *Label) String() string
- func (l *Label) Style(m StyleMap) *Label
- func (l *Label) Text(text string) *Label
- type Legend
- func (l *Legend) Add(e Element) *Legend
- func (l *Legend) AddStyle(k, v string) *Legend
- func (l *Legend) AddStyles(m StyleMap) *Legend
- func (l *Legend) Bytes() []byte
- func (l *Legend) HTML() string
- func (l *Legend) IsBodyElement()
- func (l *Legend) Prepare()
- func (l *Legend) Render() []byte
- func (l *Legend) String() string
- func (l *Legend) Style(m StyleMap) *Legend
- func (l *Legend) Text(text string) *Legend
- type Li
- func (l *Li) Add(e Element) *Li
- func (l *Li) AddStyle(k, v string) *Li
- func (l *Li) AddStyles(m StyleMap) *Li
- func (l *Li) Bytes() []byte
- func (l *Li) HTML() string
- func (l *Li) IsBodyElement()
- func (l *Li) Prepare()
- func (l *Li) Render() []byte
- func (l *Li) String() string
- func (l *Li) Style(m StyleMap) *Li
- func (l *Li) Value(v int) *Li
- type Link
- func (l *Link) AddStyle(k, v string) *Link
- func (l *Link) AddStyles(m StyleMap) *Link
- func (l *Link) Bytes() []byte
- func (l *Link) CrossOrigin(crossOrigin string) *Link
- func (l *Link) HTML() string
- func (l *Link) Href(href string) *Link
- func (l *Link) Hreflang(hreflang string) *Link
- func (l *Link) Integrity(integrity string) *Link
- func (l *Link) IsHeadElement()
- func (l *Link) Media(media string) *Link
- func (l *Link) Prepare()
- func (l *Link) ReferrerPolicy(referrerPolicy string) *Link
- func (l *Link) Rel(rel string) *Link
- func (l *Link) Render() []byte
- func (l *Link) Sizes(sizes string) *Link
- func (l *Link) String() string
- func (l *Link) Style(m StyleMap) *Link
- func (l *Link) Type(linkType string) *Link
- type Main
- func (m *Main) Add(e Element) *Main
- func (m *Main) AddStyle(k, v string) *Main
- func (m *Main) AddStyles(mp StyleMap) *Main
- func (m *Main) Bytes() []byte
- func (m *Main) HTML() string
- func (m *Main) IsBodyElement()
- func (m *Main) Prepare()
- func (m *Main) Render() []byte
- func (m *Main) String() string
- func (m *Main) Style(mp StyleMap) *Main
- type Map
- func (m *Map) Add(e Element) *Map
- func (m *Map) AddStyle(k, v string) *Map
- func (m *Map) AddStyles(ms StyleMap) *Map
- func (m *Map) Bytes() []byte
- func (m *Map) HTML() string
- func (m *Map) IsBodyElement()
- func (m *Map) Name(name string) *Map
- func (m *Map) Prepare()
- func (m *Map) Render() []byte
- func (m *Map) String() string
- func (m *Map) Style(ms StyleMap) *Map
- type Mark
- func (m *Mark) AddStyle(k, v string) *Mark
- func (m *Mark) AddStyles(ms StyleMap) *Mark
- func (m *Mark) Bytes() []byte
- func (m *Mark) HTML() string
- func (m *Mark) IsBodyElement()
- func (m *Mark) Prepare()
- func (m *Mark) Render() []byte
- func (m *Mark) String() string
- func (m *Mark) Style(ms StyleMap) *Mark
- func (m *Mark) Text(s string) *Mark
- type Math
- func (m *Math) Add(e Element) *Math
- func (m *Math) AddStyle(k, v string) *Math
- func (m *Math) AddStyles(ms StyleMap) *Math
- func (m *Math) Bytes() []byte
- func (m *Math) Display(display string) *Math
- func (m *Math) HTML() string
- func (m *Math) IsBodyElement()
- func (m *Math) Prepare()
- func (m *Math) Render() []byte
- func (m *Math) String() string
- func (m *Math) Style(ms StyleMap) *Math
- func (m *Math) Xmlns(xmlns string) *Math
- type MediaRule
- func (m *MediaRule) Add(e Element) *MediaRule
- func (m *MediaRule) AddRule(rule CSSRule) *MediaRule
- func (m *MediaRule) Bytes() []byte
- func (m *MediaRule) HTML() string
- func (m *MediaRule) IsCSSRule()
- func (m *MediaRule) Prepare()
- func (m *MediaRule) Render() []byte
- func (m *MediaRule) String() string
- type Menu
- func (m *Menu) Add(e Element) *Menu
- func (m *Menu) AddStyle(k, v string) *Menu
- func (m *Menu) AddStyles(ms StyleMap) *Menu
- func (m *Menu) Bytes() []byte
- func (m *Menu) HTML() string
- func (m *Menu) IsBodyElement()
- func (m *Menu) Label(l string) *Menu
- func (m *Menu) Prepare()
- func (m *Menu) Render() []byte
- func (m *Menu) String() string
- func (m *Menu) Style(ms StyleMap) *Menu
- func (m *Menu) Type(t string) *Menu
- type Meta
- func (m *Meta) AddStyle(k, v string) *Meta
- func (m *Meta) AddStyles(m2 StyleMap) *Meta
- func (m *Meta) Bytes() []byte
- func (m *Meta) Charset(charset string) *Meta
- func (m *Meta) Content(content string) *Meta
- func (m *Meta) HTML() string
- func (m *Meta) HttpEquiv(httpequiv string) *Meta
- func (m *Meta) IsHeadElement()
- func (m *Meta) Name(name string) *Meta
- func (m *Meta) Prepare()
- func (m *Meta) Property(property string) *Meta
- func (m *Meta) Render() []byte
- func (m *Meta) Scheme(scheme string) *Meta
- func (m *Meta) String() string
- func (m *Meta) Style(m2 StyleMap) *Meta
- type Meter
- func (m *Meter) Add(e Element) *Meter
- func (m *Meter) AddStyle(k, v string) *Meter
- func (m *Meter) AddStyles(ma StyleMap) *Meter
- func (m *Meter) Bytes() []byte
- func (m *Meter) Form(form string) *Meter
- func (m *Meter) HTML() string
- func (m *Meter) High(high string) *Meter
- func (m *Meter) IsBodyElement()
- func (m *Meter) Low(low string) *Meter
- func (m *Meter) Max(max string) *Meter
- func (m *Meter) Min(min string) *Meter
- func (m *Meter) Optimum(optimum string) *Meter
- func (m *Meter) Prepare()
- func (m *Meter) Render() []byte
- func (m *Meter) String() string
- func (m *Meter) Style(ma StyleMap) *Meter
- func (m *Meter) Text(text string) *Meter
- func (m *Meter) Value(value string) *Meter
- type Nav
- func (n *Nav) Add(e Element) *Nav
- func (n *Nav) AddStyle(k, v string) *Nav
- func (n *Nav) AddStyles(m StyleMap) *Nav
- func (n *Nav) Bytes() []byte
- func (n *Nav) HTML() string
- func (n *Nav) IsBodyElement()
- func (n *Nav) Prepare()
- func (n *Nav) Render() []byte
- func (n *Nav) Role(r string) *Nav
- func (n *Nav) String() string
- func (n *Nav) Style(m StyleMap) *Nav
- type Noscript
- func (n *Noscript) Add(e Element) *Noscript
- func (n *Noscript) AddStyle(k, v string) *Noscript
- func (n *Noscript) AddStyles(m StyleMap) *Noscript
- func (n *Noscript) Bytes() []byte
- func (n *Noscript) HTML() string
- func (n *Noscript) IsBodyElement()
- func (n *Noscript) IsHeadElement()
- func (n *Noscript) Prepare()
- func (n *Noscript) Render() []byte
- func (n *Noscript) String() string
- func (n *Noscript) Style(m StyleMap) *Noscript
- type Object
- func (o *Object) Add(e Element) *Object
- func (o *Object) AddStyle(k, v string) *Object
- func (o *Object) AddStyles(m StyleMap) *Object
- func (o *Object) Bytes() []byte
- func (o *Object) Data(data string) *Object
- func (o *Object) Form(form string) *Object
- func (o *Object) HTML() string
- func (o *Object) Height(height string) *Object
- func (o *Object) IsBodyElement()
- func (o *Object) Name(name string) *Object
- func (o *Object) Prepare()
- func (o *Object) Render() []byte
- func (o *Object) String() string
- func (o *Object) Style(m StyleMap) *Object
- func (o *Object) Type(objType string) *Object
- func (o *Object) Usemap(usemap string) *Object
- func (o *Object) Width(width string) *Object
- type Ol
- func (o *Ol) Add(e Element) *Ol
- func (o *Ol) AddStyle(k, v string) *Ol
- func (o *Ol) AddStyles(m StyleMap) *Ol
- func (o *Ol) Bytes() []byte
- func (o *Ol) HTML() string
- func (o *Ol) IsBodyElement()
- func (o *Ol) Prepare()
- func (o *Ol) Render() []byte
- func (o *Ol) Reversed(r bool) *Ol
- func (o *Ol) Start(s int) *Ol
- func (o *Ol) String() string
- func (o *Ol) Style(m StyleMap) *Ol
- func (o *Ol) Type(t string) *Ol
- type Optgroup
- func (o *Optgroup) Add(e Element) *Optgroup
- func (o *Optgroup) AddStyle(k, v string) *Optgroup
- func (o *Optgroup) AddStyles(m StyleMap) *Optgroup
- func (o *Optgroup) Bytes() []byte
- func (o *Optgroup) Disabled(disabled bool) *Optgroup
- func (o *Optgroup) HTML() string
- func (o *Optgroup) IsBodyElement()
- func (o *Optgroup) Label(label string) *Optgroup
- func (o *Optgroup) Prepare()
- func (o *Optgroup) Render() []byte
- func (o *Optgroup) String() string
- func (o *Optgroup) Style(m StyleMap) *Optgroup
- type Option
- func (o *Option) Add(e Element) *Option
- func (o *Option) AddStyle(k, v string) *Option
- func (o *Option) AddStyles(m StyleMap) *Option
- func (o *Option) Bytes() []byte
- func (o *Option) Disabled(disabled bool) *Option
- func (o *Option) HTML() string
- func (o *Option) IsBodyElement()
- func (o *Option) Label(label string) *Option
- func (o *Option) Prepare()
- func (o *Option) Render() []byte
- func (o *Option) Selected(selected bool) *Option
- func (o *Option) String() string
- func (o *Option) Style(m StyleMap) *Option
- func (o *Option) Text(text string) *Option
- func (o *Option) Value(value string) *Option
- type Output
- func (o *Output) Add(e Element) *Output
- func (o *Output) AddStyle(k, v string) *Output
- func (o *Output) AddStyles(m StyleMap) *Output
- func (o *Output) Bytes() []byte
- func (o *Output) For(forattr string) *Output
- func (o *Output) Form(form string) *Output
- func (o *Output) HTML() string
- func (o *Output) IsBodyElement()
- func (o *Output) Name(name string) *Output
- func (o *Output) Prepare()
- func (o *Output) Render() []byte
- func (o *Output) String() string
- func (o *Output) Style(m StyleMap) *Output
- func (o *Output) Text(text string) *Output
- type P
- type Picture
- func (p *Picture) Add(e Element) *Picture
- func (p *Picture) AddStyle(k, v string) *Picture
- func (p *Picture) AddStyles(m StyleMap) *Picture
- func (p *Picture) Bytes() []byte
- func (p *Picture) HTML() string
- func (p *Picture) IsBodyElement()
- func (p *Picture) Prepare()
- func (p *Picture) Render() []byte
- func (p *Picture) String() string
- func (p *Picture) Style(m StyleMap) *Picture
- type Portal
- func (p *Portal) AddStyle(k, v string) *Portal
- func (p *Portal) AddStyles(m StyleMap) *Portal
- func (p *Portal) Bytes() []byte
- func (p *Portal) HTML() string
- func (p *Portal) IsBodyElement()
- func (p *Portal) Prepare()
- func (p *Portal) Referrerpolicy(referrerpolicy string) *Portal
- func (p *Portal) Render() []byte
- func (p *Portal) Src(src string) *Portal
- func (p *Portal) String() string
- func (p *Portal) Style(m StyleMap) *Portal
- type Pre
- func (p *Pre) AddStyle(k, v string) *Pre
- func (p *Pre) AddStyles(m StyleMap) *Pre
- func (p *Pre) Bytes() []byte
- func (p *Pre) HTML() string
- func (p *Pre) IsBodyElement()
- func (p *Pre) Prepare()
- func (p *Pre) Render() []byte
- func (p *Pre) String() string
- func (p *Pre) Style(m StyleMap) *Pre
- func (p *Pre) Text(str string) *Pre
- type Progress
- func (p *Progress) Add(e Element) *Progress
- func (p *Progress) AddStyle(k, v string) *Progress
- func (p *Progress) AddStyles(m StyleMap) *Progress
- func (p *Progress) Bytes() []byte
- func (p *Progress) Form(form string) *Progress
- func (p *Progress) HTML() string
- func (p *Progress) IsBodyElement()
- func (p *Progress) Max(max string) *Progress
- func (p *Progress) Prepare()
- func (p *Progress) Render() []byte
- func (p *Progress) String() string
- func (p *Progress) Style(m StyleMap) *Progress
- func (p *Progress) Text(text string) *Progress
- func (p *Progress) Value(value string) *Progress
- type Q
- func (q *Q) AddStyle(k, v string) *Q
- func (q *Q) AddStyles(m StyleMap) *Q
- func (q *Q) Bytes() []byte
- func (q *Q) Cite(s string) *Q
- func (q *Q) HTML() string
- func (q *Q) IsBodyElement()
- func (q *Q) Prepare()
- func (q *Q) Render() []byte
- func (q *Q) String() string
- func (q *Q) Style(m StyleMap) *Q
- func (q *Q) Text(s string) *Q
- type RawCSSRule
- type Rb
- func (rb *Rb) AddStyle(k, v string) *Rb
- func (rb *Rb) AddStyles(m StyleMap) *Rb
- func (rb *Rb) Bytes() []byte
- func (r *Rb) HTML() string
- func (rb *Rb) IsBodyElement()
- func (rb *Rb) Prepare()
- func (r *Rb) Render() []byte
- func (r *Rb) String() string
- func (rb *Rb) Style(m StyleMap) *Rb
- func (rb *Rb) Text(s string) *Rb
- type Rp
- func (rp *Rp) AddStyle(k, v string) *Rp
- func (rp *Rp) AddStyles(m StyleMap) *Rp
- func (rp *Rp) Bytes() []byte
- func (r *Rp) HTML() string
- func (rp *Rp) IsBodyElement()
- func (rp *Rp) Prepare()
- func (r *Rp) Render() []byte
- func (r *Rp) String() string
- func (rp *Rp) Style(m StyleMap) *Rp
- func (rp *Rp) Text(s string) *Rp
- type Rt
- func (rt *Rt) AddStyle(k, v string) *Rt
- func (rt *Rt) AddStyles(m StyleMap) *Rt
- func (rt *Rt) Bytes() []byte
- func (r *Rt) HTML() string
- func (rt *Rt) IsBodyElement()
- func (rt *Rt) Prepare()
- func (r *Rt) Render() []byte
- func (r *Rt) String() string
- func (rt *Rt) Style(m StyleMap) *Rt
- func (rt *Rt) Text(s string) *Rt
- type Rtc
- func (rtc *Rtc) Add(e Element) *Rtc
- func (rtc *Rtc) AddStyle(k, v string) *Rtc
- func (rtc *Rtc) AddStyles(m StyleMap) *Rtc
- func (rtc *Rtc) Bytes() []byte
- func (r *Rtc) HTML() string
- func (rtc *Rtc) IsBodyElement()
- func (rtc *Rtc) Prepare()
- func (r *Rtc) Render() []byte
- func (r *Rtc) String() string
- func (rtc *Rtc) Style(m StyleMap) *Rtc
- type Ruby
- func (r *Ruby) Add(e Element) *Ruby
- func (r *Ruby) AddStyle(k, v string) *Ruby
- func (r *Ruby) AddStyles(m StyleMap) *Ruby
- func (r *Ruby) Bytes() []byte
- func (r *Ruby) HTML() string
- func (r *Ruby) IsBodyElement()
- func (r *Ruby) Prepare()
- func (r *Ruby) Render() []byte
- func (r *Ruby) String() string
- func (r *Ruby) Style(m StyleMap) *Ruby
- type S
- type Samp
- func (s *Samp) AddStyle(k, v string) *Samp
- func (s *Samp) AddStyles(m StyleMap) *Samp
- func (s *Samp) Bytes() []byte
- func (s *Samp) HTML() string
- func (s *Samp) IsBodyElement()
- func (s *Samp) Prepare()
- func (s *Samp) Render() []byte
- func (s *Samp) String() string
- func (s *Samp) Style(m StyleMap) *Samp
- func (s *Samp) Text(str string) *Samp
- type Script
- func (s *Script) AddStyle(k, v string) *Script
- func (s *Script) AddStyles(m StyleMap) *Script
- func (s *Script) Async(async bool) *Script
- func (s *Script) Bytes() []byte
- func (s *Script) Crossorigin(crossorigin string) *Script
- func (s *Script) Defer(deferScript bool) *Script
- func (s *Script) HTML() string
- func (s *Script) Integrity(integrity string) *Script
- func (s *Script) IsBodyElement()
- func (s *Script) IsHeadElement()
- func (s *Script) Nomodule(nomodule bool) *Script
- func (s *Script) Prepare()
- func (s *Script) Referrerpolicy(referrerpolicy string) *Script
- func (s *Script) Render() []byte
- func (s *Script) Src(src string) *Script
- func (s *Script) String() string
- func (s *Script) Style(m StyleMap) *Script
- func (s *Script) Text(text string) *Script
- func (s *Script) Type(scriptType string) *Script
- type Search
- func (s *Search) Add(e Element) *Search
- func (s *Search) AddStyle(k, v string) *Search
- func (s *Search) AddStyles(m StyleMap) *Search
- func (s *Search) Bytes() []byte
- func (s *Search) HTML() string
- func (s *Search) IsBodyElement()
- func (s *Search) Prepare()
- func (s *Search) Render() []byte
- func (s *Search) String() string
- func (s *Search) Style(m StyleMap) *Search
- type Section
- func (s *Section) Add(e Element) *Section
- func (s *Section) AddStyle(k, v string) *Section
- func (s *Section) AddStyles(m StyleMap) *Section
- func (s *Section) AriaLabel(label string) *Section
- func (s *Section) Bytes() []byte
- func (s *Section) HTML() string
- func (s *Section) IsBodyElement()
- func (s *Section) Prepare()
- func (s *Section) Render() []byte
- func (s *Section) String() string
- func (s *Section) Style(m StyleMap) *Section
- type Select
- func (s *Select) Add(e Element) *Select
- func (s *Select) AddStyle(k, v string) *Select
- func (s *Select) AddStyles(m StyleMap) *Select
- func (s *Select) AutoComplete(autoComplete string) *Select
- func (s *Select) Autofocus(autofocus bool) *Select
- func (s *Select) Bytes() []byte
- func (s *Select) Disabled(disabled bool) *Select
- func (s *Select) Form(form string) *Select
- func (s *Select) HTML() string
- func (s *Select) IsBodyElement()
- func (s *Select) Multiple(multiple bool) *Select
- func (s *Select) Name(name string) *Select
- func (s *Select) Prepare()
- func (s *Select) Render() []byte
- func (s *Select) Required(required bool) *Select
- func (s *Select) Size(size string) *Select
- func (s *Select) String() string
- func (s *Select) Style(m StyleMap) *Select
- type Slot
- func (s *Slot) Add(e Element) *Slot
- func (s *Slot) AddStyle(k, v string) *Slot
- func (s *Slot) AddStyles(m StyleMap) *Slot
- func (s *Slot) Bytes() []byte
- func (s *Slot) HTML() string
- func (s *Slot) IsBodyElement()
- func (s *Slot) Name(n string) *Slot
- func (s *Slot) Prepare()
- func (s *Slot) Render() []byte
- func (s *Slot) String() string
- func (s *Slot) Style(m StyleMap) *Slot
- type Small
- func (s *Small) AddStyle(k, v string) *Small
- func (s *Small) AddStyles(m StyleMap) *Small
- func (s *Small) Bytes() []byte
- func (s *Small) HTML() string
- func (s *Small) IsBodyElement()
- func (s *Small) Prepare()
- func (s *Small) Render() []byte
- func (s *Small) String() string
- func (s *Small) Style(m StyleMap) *Small
- func (s *Small) Text(str string) *Small
- type Source
- func (s *Source) AddStyle(k, v string) *Source
- func (s *Source) AddStyles(m StyleMap) *Source
- func (s *Source) Bytes() []byte
- func (s *Source) HTML() string
- func (s *Source) IsBodyElement()
- func (s *Source) Media(media string) *Source
- func (s *Source) Prepare()
- func (s *Source) Render() []byte
- func (s *Source) Sizes(sizes string) *Source
- func (s *Source) Src(src string) *Source
- func (s *Source) Srcset(srcset string) *Source
- func (s *Source) String() string
- func (s *Source) Style(m StyleMap) *Source
- func (s *Source) Type(srcType string) *Source
- type Span
- func (s *Span) AddStyle(k, v string) *Span
- func (s *Span) AddStyles(m StyleMap) *Span
- func (s *Span) Bytes() []byte
- func (s *Span) HTML() string
- func (s *Span) IsBodyElement()
- func (s *Span) Prepare()
- func (s *Span) Render() []byte
- func (s *Span) String() string
- func (s *Span) Style(m StyleMap) *Span
- func (s *Span) Text(str string) *Span
- type Strong
- func (s *Strong) AddStyle(k, v string) *Strong
- func (s *Strong) AddStyles(m StyleMap) *Strong
- func (s *Strong) Bytes() []byte
- func (s *Strong) HTML() string
- func (s *Strong) IsBodyElement()
- func (s *Strong) Prepare()
- func (s *Strong) Render() []byte
- func (s *Strong) String() string
- func (s *Strong) Style(m StyleMap) *Strong
- func (s *Strong) Text(str string) *Strong
- type Style
- func (s *Style) AddStyle(k, v string) *Style
- func (s *Style) AddStyles(styles StyleMap) *Style
- func (s *Style) Bytes() []byte
- func (s *Style) HTML() string
- func (s *Style) IsHeadElement()
- func (s *Style) Prepare()
- func (s *Style) Render() []byte
- func (s *Style) String() string
- func (s *Style) Style(styles StyleMap) *Style
- type StyleElement
- func (s *StyleElement) Add(e Element) *StyleElement
- func (s *StyleElement) AddRule(rule CSSRule) *StyleElement
- func (s *StyleElement) AddStyle(k, v string) *StyleElement
- func (s *StyleElement) AddStyles(m StyleMap) *StyleElement
- func (s *StyleElement) Bytes() []byte
- func (s *StyleElement) HTML() string
- func (s *StyleElement) IsBodyElement()
- func (s *StyleElement) IsHeadElement()
- func (s *StyleElement) Media(media string) *StyleElement
- func (s *StyleElement) Prepare()
- func (s *StyleElement) Render() []byte
- func (s *StyleElement) String() string
- func (s *StyleElement) Style(m StyleMap) *StyleElement
- func (s *StyleElement) Text(text string) *StyleElement
- func (s *StyleElement) Type(styleType string) *StyleElement
- type StyleMap
- type StyleRule
- func (s *StyleRule) AddStyle(k, v string) *StyleRule
- func (s *StyleRule) AddStyles(styles StyleMap) *StyleRule
- func (s *StyleRule) Bytes() []byte
- func (s *StyleRule) HTML() string
- func (s *StyleRule) IsCSSRule()
- func (s *StyleRule) Prepare()
- func (s *StyleRule) Render() []byte
- func (s *StyleRule) String() string
- func (s *StyleRule) Style(styles StyleMap) *StyleRule
- type Sub
- func (s *Sub) AddStyle(k, v string) *Sub
- func (s *Sub) AddStyles(m StyleMap) *Sub
- func (s *Sub) Bytes() []byte
- func (s *Sub) HTML() string
- func (s *Sub) IsBodyElement()
- func (s *Sub) Prepare()
- func (s *Sub) Render() []byte
- func (s *Sub) String() string
- func (s *Sub) Style(m StyleMap) *Sub
- func (s *Sub) Text(str string) *Sub
- type Summary
- func (s *Summary) Add(e Element) *Summary
- func (s *Summary) AddStyle(k, v string) *Summary
- func (s *Summary) AddStyles(m StyleMap) *Summary
- func (s *Summary) Bytes() []byte
- func (s *Summary) HTML() string
- func (s *Summary) IsBodyElement()
- func (s *Summary) Prepare()
- func (s *Summary) Render() []byte
- func (s *Summary) String() string
- func (s *Summary) Style(m StyleMap) *Summary
- type Sup
- func (s *Sup) AddStyle(k, v string) *Sup
- func (s *Sup) AddStyles(m StyleMap) *Sup
- func (s *Sup) Bytes() []byte
- func (s *Sup) HTML() string
- func (s *Sup) IsBodyElement()
- func (s *Sup) Prepare()
- func (s *Sup) Render() []byte
- func (s *Sup) String() string
- func (s *Sup) Style(m StyleMap) *Sup
- func (s *Sup) Text(str string) *Sup
- type Svg
- func (s *Svg) Add(e Element) *Svg
- func (s *Svg) AddStyle(k, v string) *Svg
- func (s *Svg) AddStyles(m StyleMap) *Svg
- func (s *Svg) BaseProfile(baseProfile string) *Svg
- func (s *Svg) Bytes() []byte
- func (s *Svg) HTML() string
- func (s *Svg) Height(height string) *Svg
- func (s *Svg) IsBodyElement()
- func (s *Svg) Prepare()
- func (s *Svg) PreserveAspectRatio(preserveAspectRatio string) *Svg
- func (s *Svg) Render() []byte
- func (s *Svg) String() string
- func (s *Svg) Style(m StyleMap) *Svg
- func (s *Svg) Version(version string) *Svg
- func (s *Svg) ViewBox(viewBox string) *Svg
- func (s *Svg) Width(width string) *Svg
- func (s *Svg) Xmlns(xmlns string) *Svg
- type Table
- func (t *Table) AddCaption(c *Caption) *Table
- func (t *Table) AddClass(s string) *Table
- func (t *Table) AddClasses(s []string) *Table
- func (t *Table) AddHeader(s string) *Table
- func (t *Table) AddHeaders(s []string) *Table
- func (t *Table) AddId(s string) *Table
- func (t *Table) AddRow(s []string) *Table
- func (t *Table) AddRows(s [][]string) *Table
- func (t *Table) AddStyle(k, v string) *Table
- func (t *Table) AddStyles(m StyleMap) *Table
- func (t *Table) AddTbody(tb *Tbody) *Table
- func (t *Table) AddTfoot(tf *Tfoot) *Table
- func (t *Table) AddThead(th *Thead) *Table
- func (t *Table) AddTr(tr *Tr) *Table
- func (t *Table) Bytes() []byte
- func (t *Table) Class(s []string) *Table
- func (t *Table) HTML() string
- func (t *Table) Headers(s []string) *Table
- func (t *Table) Id(s string) *Table
- func (t *Table) IsBodyElement()
- func (t *Table) Prepare()
- func (t *Table) Render() []byte
- func (t *Table) Rows(s [][]string) *Table
- func (t *Table) String() string
- func (t *Table) Styles(m StyleMap) *Table
- type Tbody
- func (tb *Tbody) AddClass(s string) *Tbody
- func (tb *Tbody) AddClasses(s []string) *Tbody
- func (tb *Tbody) AddId(s string) *Tbody
- func (tb *Tbody) AddStyle(k, v string) *Tbody
- func (tb *Tbody) AddStyles(m StyleMap) *Tbody
- func (tb *Tbody) AddTr(tr *Tr) *Tbody
- func (tb *Tbody) Bytes() []byte
- func (tb *Tbody) Class(s []string) *Tbody
- func (t *Tbody) HTML() string
- func (tb *Tbody) Id(s string) *Tbody
- func (tb *Tbody) IsBodyElement()
- func (tb *Tbody) Prepare()
- func (t *Tbody) Render() []byte
- func (t *Tbody) String() string
- func (tb *Tbody) Styles(m StyleMap) *Tbody
- type Td
- func (td *Td) Add(e Element) *Td
- func (td *Td) AddClass(s string) *Td
- func (td *Td) AddClasses(s []string) *Td
- func (td *Td) AddId(s string) *Td
- func (td *Td) AddStyle(k, v string) *Td
- func (td *Td) AddStyles(m StyleMap) *Td
- func (td *Td) Bytes() []byte
- func (td *Td) Class(s []string) *Td
- func (td *Td) Colspan(c int) *Td
- func (t *Td) HTML() string
- func (td *Td) Id(s string) *Td
- func (td *Td) IsBodyElement()
- func (td *Td) Prepare()
- func (t *Td) Render() []byte
- func (td *Td) Rowspan(r int) *Td
- func (t *Td) String() string
- func (td *Td) Styles(m StyleMap) *Td
- type Template
- func (t *Template) Add(e Element) *Template
- func (t *Template) AddStyle(k, v string) *Template
- func (t *Template) AddStyles(m StyleMap) *Template
- func (t *Template) Bytes() []byte
- func (t *Template) HTML() string
- func (t *Template) Id(i string) *Template
- func (t *Template) IsBodyElement()
- func (t *Template) IsHeadElement()
- func (t *Template) Prepare()
- func (t *Template) Render() []byte
- func (t *Template) String() string
- func (t *Template) Style(m StyleMap) *Template
- type Textarea
- func (t *Textarea) Add(e Element) *Textarea
- func (t *Textarea) AddStyle(k, v string) *Textarea
- func (t *Textarea) AddStyles(m StyleMap) *Textarea
- func (t *Textarea) AutoComplete(autoComplete string) *Textarea
- func (t *Textarea) Autofocus(autofocus bool) *Textarea
- func (t *Textarea) Bytes() []byte
- func (t *Textarea) Cols(cols string) *Textarea
- func (t *Textarea) Disabled(disabled bool) *Textarea
- func (t *Textarea) Form(form string) *Textarea
- func (t *Textarea) HTML() string
- func (t *Textarea) IsBodyElement()
- func (t *Textarea) MaxLength(maxLength string) *Textarea
- func (t *Textarea) MinLength(minLength string) *Textarea
- func (t *Textarea) Name(name string) *Textarea
- func (t *Textarea) Placeholder(placeholder string) *Textarea
- func (t *Textarea) Prepare()
- func (t *Textarea) Readonly(readonly bool) *Textarea
- func (t *Textarea) Render() []byte
- func (t *Textarea) Required(required bool) *Textarea
- func (t *Textarea) Rows(rows string) *Textarea
- func (t *Textarea) Spellcheck(spellcheck string) *Textarea
- func (t *Textarea) String() string
- func (t *Textarea) Style(m StyleMap) *Textarea
- func (t *Textarea) Text(text string) *Textarea
- func (t *Textarea) Wrap(wrap string) *Textarea
- type Tfoot
- func (tf *Tfoot) AddClass(s string) *Tfoot
- func (tf *Tfoot) AddClasses(s []string) *Tfoot
- func (tf *Tfoot) AddId(s string) *Tfoot
- func (tf *Tfoot) AddStyle(k, v string) *Tfoot
- func (tf *Tfoot) AddStyles(m StyleMap) *Tfoot
- func (tf *Tfoot) AddTr(tr *Tr) *Tfoot
- func (tf *Tfoot) Bytes() []byte
- func (tf *Tfoot) Class(s []string) *Tfoot
- func (t *Tfoot) HTML() string
- func (tf *Tfoot) Id(s string) *Tfoot
- func (tf *Tfoot) IsBodyElement()
- func (tf *Tfoot) Prepare()
- func (t *Tfoot) Render() []byte
- func (t *Tfoot) String() string
- func (tf *Tfoot) Styles(m StyleMap) *Tfoot
- type Th
- func (th *Th) Add(e Element) *Th
- func (th *Th) AddClass(s string) *Th
- func (th *Th) AddClasses(s []string) *Th
- func (th *Th) AddId(s string) *Th
- func (th *Th) AddStyle(k, v string) *Th
- func (th *Th) AddStyles(m StyleMap) *Th
- func (th *Th) Bytes() []byte
- func (th *Th) Class(s []string) *Th
- func (th *Th) Colspan(c int) *Th
- func (t *Th) HTML() string
- func (th *Th) Id(s string) *Th
- func (th *Th) IsBodyElement()
- func (th *Th) Prepare()
- func (t *Th) Render() []byte
- func (th *Th) Rowspan(r int) *Th
- func (th *Th) Scope(s string) *Th
- func (t *Th) String() string
- func (th *Th) Styles(m StyleMap) *Th
- type Thead
- func (th *Thead) AddClass(s string) *Thead
- func (th *Thead) AddClasses(s []string) *Thead
- func (th *Thead) AddId(s string) *Thead
- func (th *Thead) AddStyle(k, v string) *Thead
- func (th *Thead) AddStyles(m StyleMap) *Thead
- func (th *Thead) AddTr(tr *Tr) *Thead
- func (th *Thead) Bytes() []byte
- func (th *Thead) Class(s []string) *Thead
- func (t *Thead) HTML() string
- func (th *Thead) Id(s string) *Thead
- func (th *Thead) IsBodyElement()
- func (th *Thead) Prepare()
- func (t *Thead) Render() []byte
- func (t *Thead) String() string
- func (th *Thead) Styles(m StyleMap) *Thead
- type Time
- func (t *Time) AddStyle(k, v string) *Time
- func (t *Time) AddStyles(m StyleMap) *Time
- func (t *Time) Bytes() []byte
- func (t *Time) Datetime(dt string) *Time
- func (t *Time) Err() error
- func (t *Time) HTML() string
- func (t *Time) IsBodyElement()
- func (t *Time) Prepare()
- func (t *Time) Render() []byte
- func (t *Time) String() string
- func (t *Time) Style(m StyleMap) *Time
- func (t *Time) Text(str string) *Time
- type Title
- func (t *Title) Add(e Element) *Title
- func (t *Title) AddStyle(k, v string) *Title
- func (t *Title) AddStyles(m StyleMap) *Title
- func (t *Title) Bytes() []byte
- func (t *Title) HTML() string
- func (t *Title) IsHeadElement()
- func (t *Title) Prepare()
- func (t *Title) Render() []byte
- func (t *Title) String() string
- func (t *Title) Style(m StyleMap) *Title
- func (t *Title) Text(text string) *Title
- type Tr
- func (tr *Tr) AddClass(s string) *Tr
- func (tr *Tr) AddClasses(s []string) *Tr
- func (tr *Tr) AddId(s string) *Tr
- func (tr *Tr) AddStyle(k, v string) *Tr
- func (tr *Tr) AddStyles(m StyleMap) *Tr
- func (tr *Tr) AddTd(td *Td) *Tr
- func (tr *Tr) AddTh(th *Th) *Tr
- func (tr *Tr) Bytes() []byte
- func (tr *Tr) Class(s []string) *Tr
- func (t *Tr) HTML() string
- func (tr *Tr) Id(s string) *Tr
- func (tr *Tr) IsBodyElement()
- func (tr *Tr) Prepare()
- func (t *Tr) Render() []byte
- func (t *Tr) String() string
- func (tr *Tr) Styles(m StyleMap) *Tr
- type Track
- func (t *Track) AddStyle(k, v string) *Track
- func (t *Track) AddStyles(m StyleMap) *Track
- func (t *Track) Bytes() []byte
- func (t *Track) Default(def bool) *Track
- func (t *Track) HTML() string
- func (t *Track) IsBodyElement()
- func (t *Track) Kind(kind string) *Track
- func (t *Track) Label(label string) *Track
- func (t *Track) Prepare()
- func (t *Track) Render() []byte
- func (t *Track) Src(src string) *Track
- func (t *Track) Srclang(srclang string) *Track
- func (t *Track) String() string
- func (t *Track) Style(m StyleMap) *Track
- type U
- type Ul
- func (u *Ul) Add(e Element) *Ul
- func (u *Ul) AddStyle(k, v string) *Ul
- func (u *Ul) AddStyles(m StyleMap) *Ul
- func (u *Ul) Bytes() []byte
- func (u *Ul) HTML() string
- func (u *Ul) IsBodyElement()
- func (u *Ul) Prepare()
- func (u *Ul) Render() []byte
- func (u *Ul) String() string
- func (u *Ul) Style(m StyleMap) *Ul
- type Var
- func (v *Var) AddStyle(k, val string) *Var
- func (v *Var) AddStyles(m StyleMap) *Var
- func (v *Var) Bytes() []byte
- func (v *Var) HTML() string
- func (v *Var) IsBodyElement()
- func (v *Var) Prepare()
- func (v *Var) Render() []byte
- func (v *Var) String() string
- func (v *Var) Style(m StyleMap) *Var
- func (v *Var) Text(str string) *Var
- type Video
- func (v *Video) Add(e Element) *Video
- func (v *Video) AddStyle(k, val string) *Video
- func (v *Video) AddStyles(m StyleMap) *Video
- func (v *Video) Autoplay(autoplay bool) *Video
- func (v *Video) Bytes() []byte
- func (v *Video) Controls(controls bool) *Video
- func (v *Video) HTML() string
- func (v *Video) Height(height string) *Video
- func (v *Video) IsBodyElement()
- func (v *Video) Loop(loop bool) *Video
- func (v *Video) Muted(muted bool) *Video
- func (v *Video) Poster(poster string) *Video
- func (v *Video) Preload(preload string) *Video
- func (v *Video) Prepare()
- func (v *Video) Render() []byte
- func (v *Video) Src(src string) *Video
- func (v *Video) String() string
- func (v *Video) Style(m StyleMap) *Video
- func (v *Video) Width(width string) *Video
- type Wbr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Abbr ¶
type Abbr struct {
// contains filtered or unexported fields
}
Abbr represents the Abbr component or supporting type.
func (*Abbr) IsBodyElement ¶
func (a *Abbr) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Abbr) Prepare ¶
func (a *Abbr) Prepare()
Prepare renders the Abbr component into its internal buffer.
type Address ¶
type Address struct {
// contains filtered or unexported fields
}
Address represents the Address component or supporting type.
func (*Address) AddStyles ¶
AddStyles adds multiple inline CSS declarations to the Address component.
func (*Address) IsBodyElement ¶
func (ad *Address) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Address) Prepare ¶
func (ad *Address) Prepare()
Prepare renders the Address component into its internal buffer.
type Anchor ¶
type Anchor struct {
// contains filtered or unexported fields
}
Anchor represents the Anchor component or supporting type.
func (*Anchor) IsBodyElement ¶
func (a *Anchor) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Anchor) Prepare ¶
func (a *Anchor) Prepare()
Prepare renders the Anchor component into its internal buffer.
type Area ¶
type Area struct {
// contains filtered or unexported fields
}
Area represents the Area component or supporting type.
func (*Area) IsBodyElement ¶
func (a *Area) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Area) Prepare ¶
func (a *Area) Prepare()
Prepare renders the Area component into its internal buffer.
type Article ¶
type Article struct {
// contains filtered or unexported fields
}
Article represents the Article component or supporting type.
func (*Article) AddStyles ¶
AddStyles adds multiple inline CSS declarations to the Article component.
func (*Article) IsBodyElement ¶
func (a *Article) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Article) Prepare ¶
func (a *Article) Prepare()
Prepare renders the Article component into its internal buffer.
type Aside ¶
type Aside struct {
// contains filtered or unexported fields
}
Aside represents the Aside component or supporting type.
func (*Aside) IsBodyElement ¶
func (as *Aside) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Aside) Prepare ¶
func (as *Aside) Prepare()
Prepare renders the Aside component into its internal buffer.
type Audio ¶
type Audio struct {
// contains filtered or unexported fields
}
Audio represents the Audio component or supporting type.
func (*Audio) IsBodyElement ¶
func (a *Audio) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Audio) Prepare ¶
func (a *Audio) Prepare()
Prepare renders the Audio component into its internal buffer.
type B ¶
type B struct {
// contains filtered or unexported fields
}
B represents the B component or supporting type.
func (*B) IsBodyElement ¶
func (b *B) IsBodyElement()
IsBodyElement implements BodyElement interface
type Base ¶
type Base struct {
// contains filtered or unexported fields
}
Base represents the HTML base element for document base URL
func (*Base) IsHeadElement ¶
func (b *Base) IsHeadElement()
IsHeadElement implements HeadElement interface
type Bdi ¶
type Bdi struct {
// contains filtered or unexported fields
}
Bdi represents the bdi component or supporting type.
func (*Bdi) IsBodyElement ¶
func (d *Bdi) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Bdi) Prepare ¶
func (d *Bdi) Prepare()
Prepare renders the Bdi component into its internal buffer.
type Bdo ¶
type Bdo struct {
// contains filtered or unexported fields
}
Bdo represents the bdo component or supporting type.
func (*Bdo) IsBodyElement ¶
func (d *Bdo) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Bdo) Prepare ¶
func (d *Bdo) Prepare()
Prepare renders the Bdo component into its internal buffer.
type Blockquote ¶
type Blockquote struct {
// contains filtered or unexported fields
}
Blockquote represents the Blockquote component or supporting type.
func NewBlockquote ¶
func NewBlockquote() *Blockquote
NewBlockquote creates a new Blockquote component.
func (*Blockquote) AddStyle ¶
func (b *Blockquote) AddStyle(k, v string) *Blockquote
AddStyle adds one inline CSS declaration to the Blockquote component.
func (*Blockquote) AddStyles ¶
func (b *Blockquote) AddStyles(m StyleMap) *Blockquote
AddStyles adds multiple inline CSS declarations to the Blockquote component.
func (*Blockquote) Bytes ¶
func (b *Blockquote) Bytes() []byte
Bytes returns a defensive copy of the rendered Blockquote bytes.
func (*Blockquote) Cite ¶
func (b *Blockquote) Cite(c string) *Blockquote
Cite sets the cite value on the Blockquote component.
func (*Blockquote) HTML ¶
func (b *Blockquote) HTML() string
HTML returns freshly prepared Blockquote HTML as a string.
func (*Blockquote) IsBodyElement ¶
func (b *Blockquote) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Blockquote) Prepare ¶
func (b *Blockquote) Prepare()
Prepare renders the Blockquote component into its internal buffer.
func (*Blockquote) Render ¶
func (b *Blockquote) Render() []byte
Render returns freshly prepared Blockquote HTML bytes.
func (*Blockquote) String ¶
func (b *Blockquote) String() string
String returns freshly prepared Blockquote HTML as a string.
func (*Blockquote) Style ¶
func (b *Blockquote) Style(m StyleMap) *Blockquote
Style replaces the inline CSS declarations on the Blockquote component.
func (*Blockquote) Text ¶
func (b *Blockquote) Text(str string) *Blockquote
Text sets or appends text content on the Blockquote component.
type Body ¶
type Body struct {
// contains filtered or unexported fields
}
Body represents the HTML body element for document content
func (*Body) IsBodyElement ¶
func (b *Body) IsBodyElement()
IsBodyElement implements BodyElement interface
type BodyElement ¶
type BodyElement interface {
Element
IsBodyElement()
}
BodyElement is HTML content that can be appended to a document body.
type Br ¶
type Br struct {
// contains filtered or unexported fields
}
Br represents the Br component or supporting type.
func (*Br) IsBodyElement ¶
func (br *Br) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Br) Prepare ¶
func (br *Br) Prepare()
Prepare renders the Br component into its internal buffer.
type Button ¶
type Button struct {
// contains filtered or unexported fields
}
Button represents the HTML button element for clickable buttons
func (*Button) FormAction ¶
FormAction sets the formaction attribute
func (*Button) FormEnctype ¶
FormEnctype sets the formenctype attribute
func (*Button) FormMethod ¶
FormMethod sets the formmethod attribute
func (*Button) FormNovalidate ¶
FormNovalidate sets the formnovalidate attribute
func (*Button) FormTarget ¶
FormTarget sets the formtarget attribute
func (*Button) IsBodyElement ¶
func (b *Button) IsBodyElement()
IsBodyElement implements BodyElement interface
type CSSRule ¶
type CSSRule interface {
Element
IsCSSRule()
}
CSSRule represents renderable CSS that can be placed inside a style element.
type Canvas ¶
type Canvas struct {
// contains filtered or unexported fields
}
Canvas represents the Canvas component or supporting type.
func (*Canvas) IsBodyElement ¶
func (c *Canvas) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Canvas) Prepare ¶
func (c *Canvas) Prepare()
Prepare renders the Canvas component into its internal buffer.
type Caption ¶
type Caption struct {
// contains filtered or unexported fields
}
Caption represents the Caption component or supporting type.
func (*Caption) AddClasses ¶
AddClasses sets the addclasses value on the Caption component.
func (*Caption) AddStyles ¶
AddStyles adds multiple inline CSS declarations to the Caption component.
func (*Caption) IsBodyElement ¶
func (c *Caption) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Caption) Prepare ¶
func (c *Caption) Prepare()
Prepare renders the Caption component into its internal buffer.
type CharsetRule ¶
type CharsetRule struct {
Charset string
// contains filtered or unexported fields
}
CharsetRule represents a CSS @charset rule.
func NewCharsetRule ¶
func NewCharsetRule(charset string) *CharsetRule
NewCharsetRule creates a new @charset rule.
func (*CharsetRule) Bytes ¶
func (c *CharsetRule) Bytes() []byte
Bytes returns a defensive copy of the rendered CharsetRule bytes.
func (*CharsetRule) HTML ¶
func (c *CharsetRule) HTML() string
HTML returns freshly prepared CharsetRule HTML as a string.
func (*CharsetRule) IsCSSRule ¶
func (c *CharsetRule) IsCSSRule()
IsCSSRule marks CharsetRule as CSS content for style elements.
func (*CharsetRule) Prepare ¶
func (c *CharsetRule) Prepare()
Prepare renders the CharsetRule component into its internal buffer.
func (*CharsetRule) Render ¶
func (c *CharsetRule) Render() []byte
Render returns freshly prepared CharsetRule HTML bytes.
func (*CharsetRule) String ¶
func (c *CharsetRule) String() string
String returns freshly prepared CharsetRule HTML as a string.
type Cite ¶
type Cite struct {
// contains filtered or unexported fields
}
Cite represents the Cite component or supporting type.
func (*Cite) IsBodyElement ¶
func (c *Cite) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Cite) Prepare ¶
func (c *Cite) Prepare()
Prepare renders the Cite component into its internal buffer.
type Code ¶
type Code struct {
// contains filtered or unexported fields
}
Code represents the Code component or supporting type.
func (*Code) IsBodyElement ¶
func (c *Code) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Code) Prepare ¶
func (c *Code) Prepare()
Prepare renders the Code component into its internal buffer.
type Col ¶
type Col struct {
// contains filtered or unexported fields
}
Col represents the Col component or supporting type.
func (*Col) AddClasses ¶
AddClasses sets the addclasses value on the Col component.
func (*Col) IsBodyElement ¶
func (col *Col) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Col) Prepare ¶
func (col *Col) Prepare()
Prepare renders the Col component into its internal buffer.
type Colgroup ¶
type Colgroup struct {
// contains filtered or unexported fields
}
Colgroup represents the Colgroup component or supporting type.
func (*Colgroup) AddClasses ¶
AddClasses sets the addclasses value on the Colgroup component.
func (*Colgroup) AddStyles ¶
AddStyles adds multiple inline CSS declarations to the Colgroup component.
func (*Colgroup) IsBodyElement ¶
func (cg *Colgroup) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Colgroup) Prepare ¶
func (cg *Colgroup) Prepare()
Prepare renders the Colgroup component into its internal buffer.
type Comment ¶
type Comment struct {
// contains filtered or unexported fields
}
Comment represents the Comment component or supporting type.
func (*Comment) IsBodyElement ¶
func (c *Comment) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Comment) Prepare ¶
func (c *Comment) Prepare()
Prepare renders the Comment component into its internal buffer.
type Data ¶
type Data struct {
// contains filtered or unexported fields
}
Data represents the Data component or supporting type.
func (*Data) IsBodyElement ¶
func (d *Data) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Data) Prepare ¶
func (d *Data) Prepare()
Prepare renders the Data component into its internal buffer.
type Datalist ¶
type Datalist struct {
// contains filtered or unexported fields
}
Datalist represents the HTML datalist element for predefined options
func (*Datalist) IsBodyElement ¶
func (d *Datalist) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Datalist) Prepare ¶
func (d *Datalist) Prepare()
Prepare builds the HTML for the datalist element
type Dd ¶
type Dd struct {
// contains filtered or unexported fields
}
Dd represents the Dd component or supporting type.
func (*Dd) IsBodyElement ¶
func (d *Dd) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Dd) Prepare ¶
func (d *Dd) Prepare()
Prepare renders the Dd component into its internal buffer.
type Del ¶
type Del struct {
// contains filtered or unexported fields
}
Del represents the HTML del element for marking deleted text
func (*Del) IsBodyElement ¶
func (d *Del) IsBodyElement()
IsBodyElement implements BodyElement interface
type Details ¶
type Details struct {
// contains filtered or unexported fields
}
Details represents the HTML details element for creating a disclosure widget
func (*Details) IsBodyElement ¶
func (d *Details) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Details) Prepare ¶
func (d *Details) Prepare()
Prepare builds the HTML for the details element
type Dfn ¶
type Dfn struct {
// contains filtered or unexported fields
}
Dfn represents the Dfn component or supporting type.
func (*Dfn) IsBodyElement ¶
func (d *Dfn) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Dfn) Prepare ¶
func (d *Dfn) Prepare()
Prepare renders the Dfn component into its internal buffer.
type Dialog ¶
type Dialog struct {
// contains filtered or unexported fields
}
Dialog represents the HTML dialog element for creating modal dialogs
func (*Dialog) IsBodyElement ¶
func (d *Dialog) IsBodyElement()
IsBodyElement implements BodyElement interface
type Div ¶
type Div struct {
// contains filtered or unexported fields
}
Div represents the Div component or supporting type.
func (*Div) IsBodyElement ¶
func (d *Div) IsBodyElement()
IsBodyElement implements BodyElement interface
type Dl ¶
type Dl struct {
// contains filtered or unexported fields
}
Dl represents the Dl component or supporting type.
func (*Dl) IsBodyElement ¶
func (d *Dl) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Dl) Prepare ¶
func (d *Dl) Prepare()
Prepare renders the Dl component into its internal buffer.
type Dt ¶
type Dt struct {
// contains filtered or unexported fields
}
Dt represents the Dt component or supporting type.
func (*Dt) IsBodyElement ¶
func (d *Dt) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Dt) Prepare ¶
func (d *Dt) Prepare()
Prepare renders the Dt component into its internal buffer.
type Element ¶
Element is renderable HTML content that can be appended to other elements.
Render and HTML prepare the element internally before returning output, so callers do not need to call Prepare before reading rendered bytes.
type Em ¶
type Em struct {
// contains filtered or unexported fields
}
Em represents the em component or supporting type.
func (*Em) IsBodyElement ¶
func (e *Em) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Em) Prepare ¶
func (e *Em) Prepare()
Prepare renders the Em component into its internal buffer.
type Embed ¶
type Embed struct {
// contains filtered or unexported fields
}
Embed represents the Embed component or supporting type.
func (*Embed) IsBodyElement ¶
func (e *Embed) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Embed) Prepare ¶
func (e *Embed) Prepare()
Prepare renders the Embed component into its internal buffer.
type Fieldset ¶
type Fieldset struct {
// contains filtered or unexported fields
}
Fieldset represents the HTML fieldset element for grouping form controls
func (*Fieldset) IsBodyElement ¶
func (f *Fieldset) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Fieldset) Prepare ¶
func (f *Fieldset) Prepare()
Prepare builds the HTML for the fieldset element
type Figcaption ¶
type Figcaption struct {
// contains filtered or unexported fields
}
Figcaption represents the Figcaption component or supporting type.
func NewFigcaption ¶
func NewFigcaption() *Figcaption
NewFigcaption creates a new Figcaption component.
func (*Figcaption) Add ¶
func (f *Figcaption) Add(e Element) *Figcaption
Add appends child content to the Figcaption component.
func (*Figcaption) AddStyle ¶
func (f *Figcaption) AddStyle(k, v string) *Figcaption
AddStyle adds one inline CSS declaration to the Figcaption component.
func (*Figcaption) AddStyles ¶
func (f *Figcaption) AddStyles(m StyleMap) *Figcaption
AddStyles adds multiple inline CSS declarations to the Figcaption component.
func (*Figcaption) Bytes ¶
func (f *Figcaption) Bytes() []byte
Bytes returns a defensive copy of the rendered Figcaption bytes.
func (*Figcaption) HTML ¶
func (f *Figcaption) HTML() string
HTML returns freshly prepared Figcaption HTML as a string.
func (*Figcaption) IsBodyElement ¶
func (f *Figcaption) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Figcaption) Prepare ¶
func (f *Figcaption) Prepare()
Prepare renders the Figcaption component into its internal buffer.
func (*Figcaption) Render ¶
func (f *Figcaption) Render() []byte
Render returns freshly prepared Figcaption HTML bytes.
func (*Figcaption) String ¶
func (f *Figcaption) String() string
String returns freshly prepared Figcaption HTML as a string.
func (*Figcaption) Style ¶
func (f *Figcaption) Style(m StyleMap) *Figcaption
Style replaces the inline CSS declarations on the Figcaption component.
type Figure ¶
type Figure struct {
// contains filtered or unexported fields
}
Figure represents the Figure component or supporting type.
func (*Figure) IsBodyElement ¶
func (f *Figure) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Figure) Prepare ¶
func (f *Figure) Prepare()
Prepare renders the Figure component into its internal buffer.
type FontFaceRule ¶
type FontFaceRule struct {
Props StyleMap
// contains filtered or unexported fields
}
FontFaceRule represents a CSS @font-face declaration block.
func NewFontFaceRule ¶
func NewFontFaceRule() *FontFaceRule
NewFontFaceRule creates a new @font-face rule.
func (*FontFaceRule) AddStyle ¶
func (f *FontFaceRule) AddStyle(k, v string) *FontFaceRule
AddStyle adds one font descriptor to the rule.
func (*FontFaceRule) AddStyles ¶
func (f *FontFaceRule) AddStyles(styles StyleMap) *FontFaceRule
AddStyles adds font descriptors to the rule.
func (*FontFaceRule) Bytes ¶
func (f *FontFaceRule) Bytes() []byte
Bytes returns a defensive copy of the rendered FontFaceRule bytes.
func (*FontFaceRule) HTML ¶
func (f *FontFaceRule) HTML() string
HTML returns freshly prepared FontFaceRule HTML as a string.
func (*FontFaceRule) IsCSSRule ¶
func (f *FontFaceRule) IsCSSRule()
IsCSSRule marks FontFaceRule as CSS content for style elements.
func (*FontFaceRule) Prepare ¶
func (f *FontFaceRule) Prepare()
Prepare renders the FontFaceRule component into its internal buffer.
func (*FontFaceRule) Render ¶
func (f *FontFaceRule) Render() []byte
Render returns freshly prepared FontFaceRule HTML bytes.
func (*FontFaceRule) String ¶
func (f *FontFaceRule) String() string
String returns freshly prepared FontFaceRule HTML as a string.
func (*FontFaceRule) Style ¶
func (f *FontFaceRule) Style(styles StyleMap) *FontFaceRule
Style replaces font descriptors on the rule.
type FontFeatureValuesRule ¶
type FontFeatureValuesRule struct {
Family string
Content string
// contains filtered or unexported fields
}
FontFeatureValuesRule represents a CSS @font-feature-values block.
func NewFontFeatureValuesRule ¶
func NewFontFeatureValuesRule(family string) *FontFeatureValuesRule
NewFontFeatureValuesRule creates a new @font-feature-values rule.
func (*FontFeatureValuesRule) Bytes ¶
func (f *FontFeatureValuesRule) Bytes() []byte
Bytes returns a defensive copy of the rendered FontFeatureValuesRule bytes.
func (*FontFeatureValuesRule) HTML ¶
func (f *FontFeatureValuesRule) HTML() string
HTML returns freshly prepared FontFeatureValuesRule HTML as a string.
func (*FontFeatureValuesRule) IsCSSRule ¶
func (f *FontFeatureValuesRule) IsCSSRule()
IsCSSRule marks FontFeatureValuesRule as CSS content for style elements.
func (*FontFeatureValuesRule) Prepare ¶
func (f *FontFeatureValuesRule) Prepare()
Prepare renders the FontFeatureValuesRule component into its internal buffer.
func (*FontFeatureValuesRule) Render ¶
func (f *FontFeatureValuesRule) Render() []byte
Render returns freshly prepared FontFeatureValuesRule HTML bytes.
func (*FontFeatureValuesRule) String ¶
func (f *FontFeatureValuesRule) String() string
String returns freshly prepared FontFeatureValuesRule HTML as a string.
func (*FontFeatureValuesRule) Text ¶
func (f *FontFeatureValuesRule) Text(content string) *FontFeatureValuesRule
Text replaces the raw @font-feature-values block content.
type Footer ¶
type Footer struct {
// contains filtered or unexported fields
}
Footer represents the Footer component or supporting type.
func (*Footer) IsBodyElement ¶
func (f *Footer) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Footer) Prepare ¶
func (f *Footer) Prepare()
Prepare renders the Footer component into its internal buffer.
type Form ¶
type Form struct {
// contains filtered or unexported fields
}
Form represents the HTML form element for user input
func (*Form) AcceptCharset ¶
AcceptCharset sets the accept-charset attribute
func (*Form) Autocomplete ¶
Autocomplete sets the autocomplete attribute
func (*Form) IsBodyElement ¶
func (f *Form) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Form) Novalidate ¶
Novalidate sets the novalidate attribute
type H1 ¶
type H1 struct {
// contains filtered or unexported fields
}
H1 represents the H1 component or supporting type.
func (*H1) IsBodyElement ¶
func (h *H1) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*H1) Prepare ¶
func (h *H1) Prepare()
Prepare renders the H1 component into its internal buffer.
type H2 ¶
type H2 struct {
// contains filtered or unexported fields
}
H2 represents the H2 component or supporting type.
func (*H2) IsBodyElement ¶
func (h *H2) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*H2) Prepare ¶
func (h *H2) Prepare()
Prepare renders the H2 component into its internal buffer.
type H3 ¶
type H3 struct {
// contains filtered or unexported fields
}
H3 represents the H3 component or supporting type.
func (*H3) IsBodyElement ¶
func (h *H3) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*H3) Prepare ¶
func (h *H3) Prepare()
Prepare renders the H3 component into its internal buffer.
type H4 ¶
type H4 struct {
// contains filtered or unexported fields
}
H4 represents the H4 component or supporting type.
func (*H4) IsBodyElement ¶
func (h *H4) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*H4) Prepare ¶
func (h *H4) Prepare()
Prepare renders the H4 component into its internal buffer.
type H5 ¶
type H5 struct {
// contains filtered or unexported fields
}
H5 represents the H5 component or supporting type.
func (*H5) IsBodyElement ¶
func (h *H5) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*H5) Prepare ¶
func (h *H5) Prepare()
Prepare renders the H5 component into its internal buffer.
type H6 ¶
type H6 struct {
// contains filtered or unexported fields
}
H6 represents the H6 component or supporting type.
func (*H6) IsBodyElement ¶
func (h *H6) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*H6) Prepare ¶
func (h *H6) Prepare()
Prepare renders the H6 component into its internal buffer.
type Head ¶
type Head struct {
// contains filtered or unexported fields
}
Head represents the HTML head element for document metadata
type HeadElement ¶
type HeadElement interface {
Element
IsHeadElement()
}
HeadElement is HTML content that can be appended to a document head.
type Header ¶
type Header struct {
// contains filtered or unexported fields
}
Header represents the Header component or supporting type.
func (*Header) IsBodyElement ¶
func (h *Header) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Header) Prepare ¶
func (h *Header) Prepare()
Prepare renders the Header component into its internal buffer.
type Hgroup ¶
type Hgroup struct {
// contains filtered or unexported fields
}
Hgroup represents the Hgroup component or supporting type.
func (*Hgroup) IsBodyElement ¶
func (h *Hgroup) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Hgroup) Prepare ¶
func (h *Hgroup) Prepare()
Prepare renders the Hgroup component into its internal buffer.
type Hr ¶
type Hr struct {
// contains filtered or unexported fields
}
Hr represents the Hr component or supporting type.
func (*Hr) IsBodyElement ¶
func (h *Hr) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Hr) Prepare ¶
func (h *Hr) Prepare()
Prepare renders the Hr component into its internal buffer.
type HtmlFile ¶
type HtmlFile struct {
// contains filtered or unexported fields
}
HtmlFile represents the HTML element for the document root
func (*HtmlFile) ContextMenu ¶
ContextMenu sets the contextmenu attribute
func (*HtmlFile) Prepare ¶
func (h *HtmlFile) Prepare()
Prepare builds the HTML for the html element
func (*HtmlFile) RenderFormatted ¶
RenderFormatted returns human-readable formatted HTML document bytes.
func (*HtmlFile) RenderFormattedString ¶
RenderFormattedString returns formatted HTML as a string.
func (*HtmlFile) RenderString ¶
RenderString returns the compact HTML document as a string.
func (*HtmlFile) WriteToFile ¶
WriteToFile writes the formatted HTML document to path.
type I ¶
type I struct {
// contains filtered or unexported fields
}
I represents the I component or supporting type.
func (*I) IsBodyElement ¶
func (i *I) IsBodyElement()
IsBodyElement implements BodyElement interface
type Iframe ¶
type Iframe struct {
// contains filtered or unexported fields
}
Iframe represents the Iframe component or supporting type.
func (*Iframe) Allowfullscreen ¶
Allowfullscreen sets the allowfullscreen value on the Iframe component.
func (*Iframe) IsBodyElement ¶
func (i *Iframe) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Iframe) Prepare ¶
func (i *Iframe) Prepare()
Prepare renders the Iframe component into its internal buffer.
func (*Iframe) Referrerpolicy ¶
Referrerpolicy sets the referrerpolicy value on the Iframe component.
type Img ¶
type Img struct {
// contains filtered or unexported fields
}
Img represents the Img component or supporting type.
func (*Img) IsBodyElement ¶
func (i *Img) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Img) Prepare ¶
func (i *Img) Prepare()
Prepare renders the Img component into its internal buffer.
type ImportRule ¶
type ImportRule struct {
Href string
Conditions []string
// contains filtered or unexported fields
}
ImportRule represents a CSS @import rule.
func NewImportRule ¶
func NewImportRule(href string) *ImportRule
NewImportRule creates a new @import rule.
func (*ImportRule) Bytes ¶
func (i *ImportRule) Bytes() []byte
Bytes returns a defensive copy of the rendered ImportRule bytes.
func (*ImportRule) Condition ¶
func (i *ImportRule) Condition(condition string) *ImportRule
Condition appends an import condition such as media, layer, or supports.
func (*ImportRule) ConditionsList ¶
func (i *ImportRule) ConditionsList(conditions []string) *ImportRule
ConditionsList replaces import conditions.
func (*ImportRule) HTML ¶
func (i *ImportRule) HTML() string
HTML returns freshly prepared ImportRule HTML as a string.
func (*ImportRule) IsCSSRule ¶
func (i *ImportRule) IsCSSRule()
IsCSSRule marks ImportRule as CSS content for style elements.
func (*ImportRule) Prepare ¶
func (i *ImportRule) Prepare()
Prepare renders the ImportRule component into its internal buffer.
func (*ImportRule) Render ¶
func (i *ImportRule) Render() []byte
Render returns freshly prepared ImportRule HTML bytes.
func (*ImportRule) String ¶
func (i *ImportRule) String() string
String returns freshly prepared ImportRule HTML as a string.
type Input ¶
type Input struct {
// contains filtered or unexported fields
}
Input represents the HTML input element for user input
func (*Input) Autocomplete ¶
Autocomplete sets the autocomplete attribute
func (*Input) IsBodyElement ¶
func (i *Input) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Input) Placeholder ¶
Placeholder sets the placeholder attribute
type Ins ¶
type Ins struct {
// contains filtered or unexported fields
}
Ins represents the HTML ins element for marking inserted text
func (*Ins) IsBodyElement ¶
func (i *Ins) IsBodyElement()
IsBodyElement implements BodyElement interface
type Kbd ¶
type Kbd struct {
// contains filtered or unexported fields
}
Kbd represents the Kbd component or supporting type.
func (*Kbd) IsBodyElement ¶
func (k *Kbd) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Kbd) Prepare ¶
func (k *Kbd) Prepare()
Prepare renders the Kbd component into its internal buffer.
type KeyframeBlock ¶
type KeyframeBlock struct {
Selector string
Props StyleMap
// contains filtered or unexported fields
}
KeyframeBlock represents one keyframe selector block inside @keyframes.
func NewKeyframeBlock ¶
func NewKeyframeBlock(selector string) *KeyframeBlock
NewKeyframeBlock creates a new keyframe selector block.
func (*KeyframeBlock) AddStyle ¶
func (k *KeyframeBlock) AddStyle(prop, value string) *KeyframeBlock
AddStyle adds one CSS declaration to the keyframe block.
func (*KeyframeBlock) AddStyles ¶
func (k *KeyframeBlock) AddStyles(styles StyleMap) *KeyframeBlock
AddStyles adds CSS declarations to the keyframe block.
func (*KeyframeBlock) Bytes ¶
func (k *KeyframeBlock) Bytes() []byte
Bytes returns a defensive copy of the rendered KeyframeBlock bytes.
func (*KeyframeBlock) HTML ¶
func (k *KeyframeBlock) HTML() string
HTML returns freshly prepared KeyframeBlock HTML as a string.
func (*KeyframeBlock) Prepare ¶
func (k *KeyframeBlock) Prepare()
Prepare renders the KeyframeBlock component into its internal buffer.
func (*KeyframeBlock) Render ¶
func (k *KeyframeBlock) Render() []byte
Render returns freshly prepared KeyframeBlock HTML bytes.
func (*KeyframeBlock) String ¶
func (k *KeyframeBlock) String() string
String returns freshly prepared KeyframeBlock HTML as a string.
func (*KeyframeBlock) Style ¶
func (k *KeyframeBlock) Style(styles StyleMap) *KeyframeBlock
Style replaces CSS declarations on the keyframe block.
type KeyframesRule ¶
type KeyframesRule struct {
Name string
Frames []*KeyframeBlock
// contains filtered or unexported fields
}
KeyframesRule represents a CSS @keyframes rule.
func NewKeyframesRule ¶
func NewKeyframesRule(name string) *KeyframesRule
NewKeyframesRule creates a new @keyframes rule.
func (*KeyframesRule) AddBlock ¶
func (k *KeyframesRule) AddBlock(frame *KeyframeBlock) *KeyframesRule
AddBlock appends one keyframe block.
func (*KeyframesRule) AddFrame ¶
func (k *KeyframesRule) AddFrame(selector string, props StyleMap) *KeyframesRule
AddFrame appends one keyframe selector block.
func (*KeyframesRule) Bytes ¶
func (k *KeyframesRule) Bytes() []byte
Bytes returns a defensive copy of the rendered KeyframesRule bytes.
func (*KeyframesRule) HTML ¶
func (k *KeyframesRule) HTML() string
HTML returns freshly prepared KeyframesRule HTML as a string.
func (*KeyframesRule) IsCSSRule ¶
func (k *KeyframesRule) IsCSSRule()
IsCSSRule marks KeyframesRule as CSS content for style elements.
func (*KeyframesRule) Prepare ¶
func (k *KeyframesRule) Prepare()
Prepare renders the KeyframesRule component into its internal buffer.
func (*KeyframesRule) Render ¶
func (k *KeyframesRule) Render() []byte
Render returns freshly prepared KeyframesRule HTML bytes.
func (*KeyframesRule) String ¶
func (k *KeyframesRule) String() string
String returns freshly prepared KeyframesRule HTML as a string.
type Label ¶
type Label struct {
// contains filtered or unexported fields
}
Label represents the HTML label element for form controls
func (*Label) IsBodyElement ¶
func (l *Label) IsBodyElement()
IsBodyElement implements BodyElement interface
type Legend ¶
type Legend struct {
// contains filtered or unexported fields
}
Legend represents the HTML legend element for fieldset captions
func (*Legend) IsBodyElement ¶
func (l *Legend) IsBodyElement()
IsBodyElement implements BodyElement interface
type Li ¶
type Li struct {
// contains filtered or unexported fields
}
Li represents the Li component or supporting type.
func (*Li) IsBodyElement ¶
func (l *Li) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Li) Prepare ¶
func (l *Li) Prepare()
Prepare renders the Li component into its internal buffer.
type Link ¶
type Link struct {
// contains filtered or unexported fields
}
Link represents the HTML link element for external resources
func (*Link) CrossOrigin ¶
CrossOrigin Cross Origin sets the crossOrigin attribute
func (*Link) IsHeadElement ¶
func (l *Link) IsHeadElement()
IsHeadElement implements HeadElement interface
func (*Link) ReferrerPolicy ¶
ReferrerPolicy Referrer Policy sets the referrerPolicy attribute
type Main ¶
type Main struct {
// contains filtered or unexported fields
}
Main represents the Main component or supporting type.
func (*Main) IsBodyElement ¶
func (m *Main) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Main) Prepare ¶
func (m *Main) Prepare()
Prepare renders the Main component into its internal buffer.
type Map ¶
type Map struct {
// contains filtered or unexported fields
}
Map represents the Map component or supporting type.
func (*Map) IsBodyElement ¶
func (m *Map) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Map) Prepare ¶
func (m *Map) Prepare()
Prepare renders the Map component into its internal buffer.
type Mark ¶
type Mark struct {
// contains filtered or unexported fields
}
Mark represents the Mark component or supporting type.
func (*Mark) IsBodyElement ¶
func (m *Mark) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Mark) Prepare ¶
func (m *Mark) Prepare()
Prepare renders the Mark component into its internal buffer.
type Math ¶
type Math struct {
// contains filtered or unexported fields
}
Math represents a MathML math element.
func NewMath ¶
func NewMath() *Math
NewMath creates a MathML math element with the default MathML namespace.
func (*Math) IsBodyElement ¶
func (m *Math) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Math) Prepare ¶
func (m *Math) Prepare()
Prepare renders the math element into its internal buffer.
type MediaRule ¶
MediaRule represents a CSS @media grouping rule.
func NewMediaRule ¶
NewMediaRule creates a new @media rule.
func (*MediaRule) IsCSSRule ¶
func (m *MediaRule) IsCSSRule()
IsCSSRule marks MediaRule as CSS content for style elements.
func (*MediaRule) Prepare ¶
func (m *MediaRule) Prepare()
Prepare renders the MediaRule component into its internal buffer.
type Menu ¶
type Menu struct {
// contains filtered or unexported fields
}
Menu represents the Menu component or supporting type.
func (*Menu) IsBodyElement ¶
func (m *Menu) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Menu) Prepare ¶
func (m *Menu) Prepare()
Prepare renders the Menu component into its internal buffer.
type Meta ¶
type Meta struct {
// contains filtered or unexported fields
}
Meta represents the HTML meta element for metadata
func (*Meta) IsHeadElement ¶
func (m *Meta) IsHeadElement()
IsHeadElement implements HeadElement interface
type Meter ¶
type Meter struct {
// contains filtered or unexported fields
}
Meter represents the HTML meter element for displaying scalar measurements
func (*Meter) IsBodyElement ¶
func (m *Meter) IsBodyElement()
IsBodyElement implements BodyElement interface
type Nav ¶
type Nav struct {
// contains filtered or unexported fields
}
Nav represents the Nav component or supporting type.
func (*Nav) IsBodyElement ¶
func (n *Nav) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Nav) Prepare ¶
func (n *Nav) Prepare()
Prepare renders the Nav component into its internal buffer.
type Noscript ¶
type Noscript struct {
// contains filtered or unexported fields
}
Noscript represents the Noscript component or supporting type.
func (*Noscript) AddStyles ¶
AddStyles adds multiple inline CSS declarations to the Noscript component.
func (*Noscript) IsBodyElement ¶
func (n *Noscript) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Noscript) IsHeadElement ¶
func (n *Noscript) IsHeadElement()
IsHeadElement implements HeadElement interface
func (*Noscript) Prepare ¶
func (n *Noscript) Prepare()
Prepare renders the Noscript component into its internal buffer.
type Object ¶
type Object struct {
// contains filtered or unexported fields
}
Object represents the Object component or supporting type.
func (*Object) IsBodyElement ¶
func (o *Object) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Object) Prepare ¶
func (o *Object) Prepare()
Prepare renders the Object component into its internal buffer.
type Ol ¶
type Ol struct {
// contains filtered or unexported fields
}
Ol represents the Ol component or supporting type.
func (*Ol) IsBodyElement ¶
func (o *Ol) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Ol) Prepare ¶
func (o *Ol) Prepare()
Prepare renders the Ol component into its internal buffer.
type Optgroup ¶
type Optgroup struct {
// contains filtered or unexported fields
}
Optgroup represents the HTML optgroup element for grouping options
func (*Optgroup) IsBodyElement ¶
func (o *Optgroup) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Optgroup) Prepare ¶
func (o *Optgroup) Prepare()
Prepare builds the HTML for the optgroup element
type Option ¶
type Option struct {
// contains filtered or unexported fields
}
Option represents the HTML option element for select options
func (*Option) IsBodyElement ¶
func (o *Option) IsBodyElement()
IsBodyElement implements BodyElement interface
type Output ¶
type Output struct {
// contains filtered or unexported fields
}
Output represents the HTML output element for calculation results
func (*Output) IsBodyElement ¶
func (o *Output) IsBodyElement()
IsBodyElement implements BodyElement interface
type P ¶
type P struct {
// contains filtered or unexported fields
}
P represents the P component or supporting type.
func (*P) IsBodyElement ¶
func (p *P) IsBodyElement()
IsBodyElement implements BodyElement interface
type Picture ¶
type Picture struct {
// contains filtered or unexported fields
}
Picture represents the Picture component or supporting type.
func (*Picture) AddStyles ¶
AddStyles adds multiple inline CSS declarations to the Picture component.
func (*Picture) IsBodyElement ¶
func (p *Picture) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Picture) Prepare ¶
func (p *Picture) Prepare()
Prepare renders the Picture component into its internal buffer.
type Portal ¶
type Portal struct {
// contains filtered or unexported fields
}
Portal represents the Portal component or supporting type.
func (*Portal) IsBodyElement ¶
func (p *Portal) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Portal) Prepare ¶
func (p *Portal) Prepare()
Prepare renders the Portal component into its internal buffer.
func (*Portal) Referrerpolicy ¶
Referrerpolicy sets the referrerpolicy value on the Portal component.
type Pre ¶
type Pre struct {
// contains filtered or unexported fields
}
Pre represents the Pre component or supporting type.
func (*Pre) IsBodyElement ¶
func (p *Pre) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Pre) Prepare ¶
func (p *Pre) Prepare()
Prepare renders the Pre component into its internal buffer.
type Progress ¶
type Progress struct {
// contains filtered or unexported fields
}
Progress represents the HTML progress element for showing completion progress
func (*Progress) IsBodyElement ¶
func (p *Progress) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Progress) Prepare ¶
func (p *Progress) Prepare()
Prepare builds the HTML for the progress element
type Q ¶
type Q struct {
// contains filtered or unexported fields
}
Q represents the Q component or supporting type.
func (*Q) IsBodyElement ¶
func (q *Q) IsBodyElement()
IsBodyElement implements BodyElement interface
type RawCSSRule ¶
type RawCSSRule struct {
// contains filtered or unexported fields
}
RawCSSRule represents raw CSS content for custom or unsupported rules.
func NewRawCSSRule ¶
func NewRawCSSRule(css string) *RawCSSRule
NewRawCSSRule creates a raw CSS rule.
func (*RawCSSRule) Bytes ¶
func (r *RawCSSRule) Bytes() []byte
Bytes returns a defensive copy of the rendered RawCSSRule bytes.
func (*RawCSSRule) HTML ¶
func (r *RawCSSRule) HTML() string
HTML returns freshly prepared RawCSSRule HTML as a string.
func (*RawCSSRule) IsCSSRule ¶
func (r *RawCSSRule) IsCSSRule()
IsCSSRule marks RawCSSRule as CSS content for style elements.
func (*RawCSSRule) Prepare ¶
func (r *RawCSSRule) Prepare()
Prepare renders the RawCSSRule component into its internal buffer.
func (*RawCSSRule) Render ¶
func (r *RawCSSRule) Render() []byte
Render returns freshly prepared RawCSSRule HTML bytes.
func (*RawCSSRule) String ¶
func (r *RawCSSRule) String() string
String returns freshly prepared RawCSSRule HTML as a string.
func (*RawCSSRule) Text ¶
func (r *RawCSSRule) Text(css string) *RawCSSRule
Text replaces the raw CSS content.
type Rb ¶
type Rb struct {
// contains filtered or unexported fields
}
Rb represents the Rb component or supporting type.
func (*Rb) IsBodyElement ¶
func (rb *Rb) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Rb) Prepare ¶
func (rb *Rb) Prepare()
Prepare renders the Rb component into its internal buffer.
type Rp ¶
type Rp struct {
// contains filtered or unexported fields
}
Rp represents the Rp component or supporting type.
func (*Rp) IsBodyElement ¶
func (rp *Rp) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Rp) Prepare ¶
func (rp *Rp) Prepare()
Prepare renders the Rp component into its internal buffer.
type Rt ¶
type Rt struct {
// contains filtered or unexported fields
}
Rt represents the Rt component or supporting type.
func (*Rt) IsBodyElement ¶
func (rt *Rt) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Rt) Prepare ¶
func (rt *Rt) Prepare()
Prepare renders the Rt component into its internal buffer.
type Rtc ¶
type Rtc struct {
// contains filtered or unexported fields
}
Rtc represents the Rtc component or supporting type.
func (*Rtc) IsBodyElement ¶
func (rtc *Rtc) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Rtc) Prepare ¶
func (rtc *Rtc) Prepare()
Prepare renders the Rtc component into its internal buffer.
type Ruby ¶
type Ruby struct {
// contains filtered or unexported fields
}
Ruby represents the Ruby component or supporting type.
func (*Ruby) IsBodyElement ¶
func (r *Ruby) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Ruby) Prepare ¶
func (r *Ruby) Prepare()
Prepare renders the Ruby component into its internal buffer.
type S ¶
type S struct {
// contains filtered or unexported fields
}
S represents the S component or supporting type.
func (*S) IsBodyElement ¶
func (s *S) IsBodyElement()
IsBodyElement implements BodyElement interface
type Samp ¶
type Samp struct {
// contains filtered or unexported fields
}
Samp represents the Samp component or supporting type.
func (*Samp) IsBodyElement ¶
func (s *Samp) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Samp) Prepare ¶
func (s *Samp) Prepare()
Prepare renders the Samp component into its internal buffer.
type Script ¶
type Script struct {
// contains filtered or unexported fields
}
Script represents the Script component or supporting type.
func (*Script) Crossorigin ¶
Crossorigin sets the crossorigin value on the Script component.
func (*Script) IsBodyElement ¶
func (s *Script) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Script) IsHeadElement ¶
func (s *Script) IsHeadElement()
IsHeadElement implements HeadElement interface
func (*Script) Prepare ¶
func (s *Script) Prepare()
Prepare renders the Script component into its internal buffer.
func (*Script) Referrerpolicy ¶
Referrerpolicy sets the referrerpolicy value on the Script component.
type Search ¶
type Search struct {
// contains filtered or unexported fields
}
Search represents the Search component or supporting type.
func (*Search) IsBodyElement ¶
func (s *Search) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Search) Prepare ¶
func (s *Search) Prepare()
Prepare renders the Search component into its internal buffer.
type Section ¶
type Section struct {
// contains filtered or unexported fields
}
Section represents the Section component or supporting type.
func (*Section) AddStyles ¶
AddStyles adds multiple inline CSS declarations to the Section component.
func (*Section) IsBodyElement ¶
func (s *Section) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Section) Prepare ¶
func (s *Section) Prepare()
Prepare renders the Section component into its internal buffer.
type Select ¶
type Select struct {
// contains filtered or unexported fields
}
Select represents the HTML select element for dropdown lists
func (*Select) AutoComplete ¶
AutoComplete sets the autocomplete attribute
func (*Select) IsBodyElement ¶
func (s *Select) IsBodyElement()
IsBodyElement implements BodyElement interface
type Slot ¶
type Slot struct {
// contains filtered or unexported fields
}
Slot represents the Slot component or supporting type.
func (*Slot) IsBodyElement ¶
func (s *Slot) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Slot) Prepare ¶
func (s *Slot) Prepare()
Prepare renders the Slot component into its internal buffer.
type Small ¶
type Small struct {
// contains filtered or unexported fields
}
Small represents the Small component or supporting type.
func (*Small) IsBodyElement ¶
func (s *Small) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Small) Prepare ¶
func (s *Small) Prepare()
Prepare renders the Small component into its internal buffer.
type Source ¶
type Source struct {
// contains filtered or unexported fields
}
Source represents the Source component or supporting type.
func (*Source) IsBodyElement ¶
func (s *Source) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Source) Prepare ¶
func (s *Source) Prepare()
Prepare renders the Source component into its internal buffer.
type Span ¶
type Span struct {
// contains filtered or unexported fields
}
Span represents the Span component or supporting type.
func (*Span) IsBodyElement ¶
func (s *Span) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Span) Prepare ¶
func (s *Span) Prepare()
Prepare renders the Span component into its internal buffer.
type Strong ¶
type Strong struct {
// contains filtered or unexported fields
}
Strong represents the Strong component or supporting type.
func (*Strong) IsBodyElement ¶
func (s *Strong) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Strong) Prepare ¶
func (s *Strong) Prepare()
Prepare renders the Strong component into its internal buffer.
type Style ¶
Style renders a complete style element for one selector rule.
func (*Style) IsHeadElement ¶
func (s *Style) IsHeadElement()
IsHeadElement implements HeadElement interface.
func (*Style) Prepare ¶
func (s *Style) Prepare()
Prepare renders the Style component into its internal buffer.
type StyleElement ¶
type StyleElement struct {
// contains filtered or unexported fields
}
StyleElement represents the HTML style element for CSS styles
func NewStyleElement ¶
func NewStyleElement() *StyleElement
NewStyleElement creates a new StyleElement element
func (*StyleElement) Add ¶
func (s *StyleElement) Add(e Element) *StyleElement
Add adds content to the style element
func (*StyleElement) AddRule ¶
func (s *StyleElement) AddRule(rule CSSRule) *StyleElement
AddRule appends typed CSS rule content to the style element.
func (*StyleElement) AddStyle ¶
func (s *StyleElement) AddStyle(k, v string) *StyleElement
AddStyle adds a single CSS property
func (*StyleElement) AddStyles ¶
func (s *StyleElement) AddStyles(m StyleMap) *StyleElement
AddStyles adds multiple CSS properties
func (*StyleElement) Bytes ¶
func (s *StyleElement) Bytes() []byte
Bytes returns the buffer contents
func (*StyleElement) HTML ¶
func (s *StyleElement) HTML() string
HTML returns freshly prepared StyleElement HTML as a string.
func (*StyleElement) IsBodyElement ¶
func (s *StyleElement) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*StyleElement) IsHeadElement ¶
func (s *StyleElement) IsHeadElement()
IsHeadElement implements HeadElement interface
func (*StyleElement) Media ¶
func (s *StyleElement) Media(media string) *StyleElement
Media sets the media attribute
func (*StyleElement) Prepare ¶
func (s *StyleElement) Prepare()
Prepare builds the HTML for the style element
func (*StyleElement) Render ¶
func (s *StyleElement) Render() []byte
Render returns freshly prepared StyleElement HTML bytes.
func (*StyleElement) String ¶
func (s *StyleElement) String() string
String returns freshly prepared StyleElement HTML as a string.
func (*StyleElement) Style ¶
func (s *StyleElement) Style(m StyleMap) *StyleElement
Style replaces all styles
func (*StyleElement) Text ¶
func (s *StyleElement) Text(text string) *StyleElement
Text adds CSS text content to the style element
func (*StyleElement) Type ¶
func (s *StyleElement) Type(styleType string) *StyleElement
Type sets the type attribute
type StyleMap ¶
StyleMap holds CSS declarations as property/value pairs.
Property names are emitted exactly as provided, so standard declarations, custom properties such as --brand-color, and vendor-prefixed properties all use the same representation.
type StyleRule ¶
StyleRule renders one CSS selector rule without wrapping it in a style tag.
func NewStyleRule ¶
NewStyleRule creates one unwrapped selector rule.
func (*StyleRule) IsCSSRule ¶
func (s *StyleRule) IsCSSRule()
IsCSSRule marks StyleRule as CSS content for style elements.
func (*StyleRule) Prepare ¶
func (s *StyleRule) Prepare()
Prepare renders the StyleRule component into its internal buffer.
type Sub ¶
type Sub struct {
// contains filtered or unexported fields
}
Sub represents the Sub component or supporting type.
func (*Sub) IsBodyElement ¶
func (s *Sub) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Sub) Prepare ¶
func (s *Sub) Prepare()
Prepare renders the Sub component into its internal buffer.
type Summary ¶
type Summary struct {
// contains filtered or unexported fields
}
Summary represents the HTML summary element for details disclosure summary
func (*Summary) IsBodyElement ¶
func (s *Summary) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Summary) Prepare ¶
func (s *Summary) Prepare()
Prepare builds the HTML for the summary element
type Sup ¶
type Sup struct {
// contains filtered or unexported fields
}
Sup represents the Sup component or supporting type.
func (*Sup) IsBodyElement ¶
func (s *Sup) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Sup) Prepare ¶
func (s *Sup) Prepare()
Prepare renders the Sup component into its internal buffer.
type Svg ¶
type Svg struct {
// contains filtered or unexported fields
}
Svg represents an inline SVG element.
func (*Svg) BaseProfile ¶
BaseProfile sets the SVG baseProfile attribute.
func (*Svg) IsBodyElement ¶
func (s *Svg) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Svg) Prepare ¶
func (s *Svg) Prepare()
Prepare renders the SVG element into its internal buffer.
func (*Svg) PreserveAspectRatio ¶
PreserveAspectRatio sets the SVG preserveAspectRatio attribute.
type Table ¶
type Table struct {
// contains filtered or unexported fields
}
Table represents the Table component or supporting type.
func (*Table) AddCaption ¶
AddCaption sets the addcaption value on the Table component.
func (*Table) AddClasses ¶
AddClasses sets the addclasses value on the Table component.
func (*Table) AddHeaders ¶
AddHeaders sets the addheaders value on the Table component.
func (*Table) IsBodyElement ¶
func (t *Table) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Table) Prepare ¶
func (t *Table) Prepare()
Prepare renders the Table component into its internal buffer.
type Tbody ¶
type Tbody struct {
// contains filtered or unexported fields
}
Tbody represents the Tbody component or supporting type.
func (*Tbody) AddClasses ¶
AddClasses sets the addclasses value on the Tbody component.
func (*Tbody) IsBodyElement ¶
func (tb *Tbody) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Tbody) Prepare ¶
func (tb *Tbody) Prepare()
Prepare renders the Tbody component into its internal buffer.
type Td ¶
type Td struct {
// contains filtered or unexported fields
}
Td represents the Td component or supporting type.
func (*Td) AddClasses ¶
AddClasses sets the addclasses value on the Td component.
func (*Td) IsBodyElement ¶
func (td *Td) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Td) Prepare ¶
func (td *Td) Prepare()
Prepare renders the Td component into its internal buffer.
type Template ¶
type Template struct {
// contains filtered or unexported fields
}
Template represents the Template component or supporting type.
func (*Template) AddStyles ¶
AddStyles adds multiple inline CSS declarations to the Template component.
func (*Template) IsBodyElement ¶
func (t *Template) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Template) IsHeadElement ¶
func (t *Template) IsHeadElement()
IsHeadElement implements HeadElement interface
func (*Template) Prepare ¶
func (t *Template) Prepare()
Prepare renders the Template component into its internal buffer.
type Textarea ¶
type Textarea struct {
// contains filtered or unexported fields
}
Textarea represents the HTML textarea element for multi-line text input
func (*Textarea) AutoComplete ¶
AutoComplete sets the autocomplete attribute
func (*Textarea) IsBodyElement ¶
func (t *Textarea) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Textarea) Placeholder ¶
Placeholder sets the placeholder attribute
func (*Textarea) Prepare ¶
func (t *Textarea) Prepare()
Prepare builds the HTML for the textarea element
func (*Textarea) Spellcheck ¶
Spellcheck sets the spellcheck attribute
type Tfoot ¶
type Tfoot struct {
// contains filtered or unexported fields
}
Tfoot represents the Tfoot component or supporting type.
func (*Tfoot) AddClasses ¶
AddClasses sets the addclasses value on the Tfoot component.
func (*Tfoot) IsBodyElement ¶
func (tf *Tfoot) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Tfoot) Prepare ¶
func (tf *Tfoot) Prepare()
Prepare renders the Tfoot component into its internal buffer.
type Th ¶
type Th struct {
// contains filtered or unexported fields
}
Th represents the Th component or supporting type.
func (*Th) AddClasses ¶
AddClasses sets the addclasses value on the Th component.
func (*Th) IsBodyElement ¶
func (th *Th) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Th) Prepare ¶
func (th *Th) Prepare()
Prepare renders the Th component into its internal buffer.
type Thead ¶
type Thead struct {
// contains filtered or unexported fields
}
Thead represents the Thead component or supporting type.
func (*Thead) AddClasses ¶
AddClasses sets the addclasses value on the Thead component.
func (*Thead) IsBodyElement ¶
func (th *Thead) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Thead) Prepare ¶
func (th *Thead) Prepare()
Prepare renders the Thead component into its internal buffer.
type Time ¶
type Time struct {
// contains filtered or unexported fields
}
Time represents the HTML time element and its machine-readable datetime value.
func (*Time) IsBodyElement ¶
func (t *Time) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Time) Prepare ¶
func (t *Time) Prepare()
Prepare renders the Time component into its internal buffer.
type Title ¶
type Title struct {
// contains filtered or unexported fields
}
Title represents the HTML title element for document title
func (*Title) IsHeadElement ¶
func (t *Title) IsHeadElement()
IsHeadElement implements HeadElement interface
type Tr ¶
type Tr struct {
// contains filtered or unexported fields
}
Tr represents the Tr component or supporting type.
func (*Tr) AddClasses ¶
AddClasses sets the addclasses value on the Tr component.
func (*Tr) IsBodyElement ¶
func (tr *Tr) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Tr) Prepare ¶
func (tr *Tr) Prepare()
Prepare renders the Tr component into its internal buffer.
type Track ¶
type Track struct {
// contains filtered or unexported fields
}
Track represents the Track component or supporting type.
func (*Track) IsBodyElement ¶
func (t *Track) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Track) Prepare ¶
func (t *Track) Prepare()
Prepare renders the Track component into its internal buffer.
type U ¶
type U struct {
// contains filtered or unexported fields
}
U represents the U component or supporting type.
func (*U) IsBodyElement ¶
func (u *U) IsBodyElement()
IsBodyElement implements BodyElement interface
type Ul ¶
type Ul struct {
// contains filtered or unexported fields
}
Ul represents the Ul component or supporting type.
func (*Ul) IsBodyElement ¶
func (u *Ul) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Ul) Prepare ¶
func (u *Ul) Prepare()
Prepare renders the Ul component into its internal buffer.
type Var ¶
type Var struct {
// contains filtered or unexported fields
}
Var represents the Var component or supporting type.
func (*Var) IsBodyElement ¶
func (v *Var) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Var) Prepare ¶
func (v *Var) Prepare()
Prepare renders the Var component into its internal buffer.
type Video ¶
type Video struct {
// contains filtered or unexported fields
}
Video represents the Video component or supporting type.
func (*Video) IsBodyElement ¶
func (v *Video) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Video) Prepare ¶
func (v *Video) Prepare()
Prepare renders the Video component into its internal buffer.
type Wbr ¶
type Wbr struct {
// contains filtered or unexported fields
}
Wbr represents the Wbr component or supporting type.
func (*Wbr) IsBodyElement ¶
func (w *Wbr) IsBodyElement()
IsBodyElement implements BodyElement interface
func (*Wbr) Prepare ¶
func (w *Wbr) Prepare()
Prepare renders the Wbr component into its internal buffer.