html

package
v0.0.0-...-fe67f73 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Div

func Div(props Props, children ...cmpt.Element) cmpt.Element

func H1

func H1(props Props, children ...cmpt.Element) cmpt.Element

func H2

func H2(props Props, children ...cmpt.Element) cmpt.Element

func H3

func H3(props Props, children ...cmpt.Element) cmpt.Element

func H4

func H4(props Props, children ...cmpt.Element) cmpt.Element

func H5

func H5(props Props, children ...cmpt.Element) cmpt.Element

func Img

func Img(props Props, children ...cmpt.Element) cmpt.Element

func Input

func Input(props Props, children ...cmpt.Element) cmpt.Element

func Li

func Li(props Props, children ...cmpt.Element) cmpt.Element

func Ol

func Ol(props Props, children ...cmpt.Element) cmpt.Element

func P

func P(props Props, children ...cmpt.Element) cmpt.Element

func TBody

func TBody(props Props, children ...cmpt.Element) cmpt.Element

func THead

func THead(props Props, children ...cmpt.Element) cmpt.Element

func Table

func Table(props Props, children ...cmpt.Element) cmpt.Element

func Td

func Td(props Props, children ...cmpt.Element) cmpt.Element

func Tr

func Tr(props Props, children ...cmpt.Element) cmpt.Element

func Ul

func Ul(props Props, children ...cmpt.Element) cmpt.Element

Types

type Props

type Props struct {
	InnerText     string
	Id            string
	Class         string
	EventListener map[string]func()
}

func (*Props) Text

func (p *Props) Text(text string) Props

Jump to

Keyboard shortcuts

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