Documentation ¶
Index ¶
- type HTML
- func (h *HTML) Add(e ...*elems.Element) *elems.Element
- func (h *HTML) AddHead(e ...*elems.Element) *elems.Element
- func (h *HTML) HTML(templateData any, buffer ...elems.Buffer) string
- func (h *HTML) Release()
- func (h *HTML) RenderBuffer(buffer elems.Buffer, templateData any) elems.Buffer
- func (h *HTML) Script(src string, typ ...string) *elems.Element
- func (h *HTML) ScriptInline(sourceCode string, typ ...string) *elems.Element
- func (h *HTML) ScriptOnLoad(sourceCode string, typ ...string) *elems.Element
- func (h *HTML) SetTitle(str string)
- func (h *HTML) String() string
- func (h *HTML) Style(sourceCode string) *elems.Element
- func (h *HTML) StyleSheet(href string, rel string) *elems.Element
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTML ¶
func (*HTML) RenderBuffer ¶
func (*HTML) ScriptInline ¶
func (*HTML) ScriptOnLoad ¶
Click to show internal directories.
Click to hide internal directories.