widgeting

package
v0.0.0-...-f876671 Latest Latest
Warning

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

Go to latest
Published: May 29, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Elem

func Elem(out *OutPrint, tag string, a ...interface{})

func ElemProperties

func ElemProperties(out *OutPrint, props ...string)

ElemProperties function

func EndElem

func EndElem(out *OutPrint, tag string)

EndElem function

func Menu(out *OutPrint, menuid string, title string, a ...interface{})
func MenuItem(out *OutPrint, title string, a ...interface{})
func NavBar(out *OutPrint, a ...interface{})
func NavItem(out *OutPrint, title string, a ...interface{})

func SingleElem

func SingleElem(out *OutPrint, tag string, props ...string)

SingleElem function

func StartElem

func StartElem(out *OutPrint, tag string, props ...string)

StartElem function

Types

type EndMarkupElementFunction

type EndMarkupElementFunction = func(out *OutPrint, tag string)

EndMarkupElementFunction definition

type MarkupFunction

type MarkupFunction = func(*OutPrint)

MarkupFunction definition

type OutPrint

type OutPrint struct {
	// contains filtered or unexported fields
}

OutPrint out print struct

func NewOutPrint

func NewOutPrint(printCmd PrintCommand, printLnCmd PrintLnCommand) (outPrint *OutPrint)

NewOutPrint invoke new OutPut instance

func (*OutPrint) BODY

func (out *OutPrint) BODY(a ...interface{})

BODY element

func (*OutPrint) DIV

func (out *OutPrint) DIV(a ...interface{})

DIV element

func (*OutPrint) DOCTYPE

func (out *OutPrint) DOCTYPE()

DOCTYPE element

func (*OutPrint) ELEM

func (out *OutPrint) ELEM(tag string, a ...interface{})

ELEM element

func (*OutPrint) ElemProperties

func (out *OutPrint) ElemProperties(props ...string)

ElemProperties element properties

func (*OutPrint) EndBODY

func (out *OutPrint) EndBODY()

EndBODY element

func (*OutPrint) EndDIV

func (out *OutPrint) EndDIV()

EndDIV element

func (*OutPrint) EndELEM

func (out *OutPrint) EndELEM(tag string)

EndELEM element

func (*OutPrint) EndHEAD

func (out *OutPrint) EndHEAD()

EndHEAD element

func (*OutPrint) EndHTML

func (out *OutPrint) EndHTML()

EndHTML element

func (*OutPrint) EndReplaceContent

func (out *OutPrint) EndReplaceContent()

EndReplaceContent indicate end of dynamic content to replace

func (*OutPrint) EndSCRIPT

func (out *OutPrint) EndSCRIPT()

EndSCRIPT element

func (*OutPrint) EndScriptContent

func (out *OutPrint) EndScriptContent()

EndScriptContent end active script content

func (*OutPrint) EndTABLE

func (out *OutPrint) EndTABLE()

EndTABLE element

func (*OutPrint) EndTD

func (out *OutPrint) EndTD()

EndTD element

func (*OutPrint) EndTEXTAREA

func (out *OutPrint) EndTEXTAREA()

EndTEXTAREA element

func (*OutPrint) EndTFOOT

func (out *OutPrint) EndTFOOT()

EndTFOOT element

func (*OutPrint) EndTH

func (out *OutPrint) EndTH()

EndTH element

func (*OutPrint) EndTHEAD

func (out *OutPrint) EndTHEAD()

EndTHEAD element

func (*OutPrint) EndTR

func (out *OutPrint) EndTR()

EndTR element

func (*OutPrint) Field

func (out *OutPrint) Field(name string, active bool, ftype string, a ...interface{})

Field field

func (*OutPrint) HEAD

func (out *OutPrint) HEAD(a ...interface{})

HEAD element

func (*OutPrint) HTML

func (out *OutPrint) HTML(a ...interface{})

HTML element

func (*OutPrint) INPUT

func (out *OutPrint) INPUT(props ...string)

INPUT input element

func (*OutPrint) Print

func (out *OutPrint) Print(a ...interface{})

Print method

func (*OutPrint) Println

func (out *OutPrint) Println(a ...interface{})

Println method

func (*OutPrint) ReplaceContent

func (out *OutPrint) ReplaceContent(contentref string, cntnta ...interface{})

ReplaceContent replace dynamic content

func (*OutPrint) SCRIPT

func (out *OutPrint) SCRIPT(a ...interface{})

SCRIPT element

func (*OutPrint) SCRIPTS

func (out *OutPrint) SCRIPTS(src ...string)

SCRIPTS multiple script(s)

func (*OutPrint) ScriptContent

func (out *OutPrint) ScriptContent(contentref string, cntnta ...interface{})

ScriptContent active script content

func (*OutPrint) SingleELEM

func (out *OutPrint) SingleELEM(tag string, props ...string)

SingleELEM element

func (*OutPrint) StartBODY

func (out *OutPrint) StartBODY(props ...string)

StartBODY element

func (*OutPrint) StartDIV

func (out *OutPrint) StartDIV(props ...string)

StartDIV element

func (*OutPrint) StartELEM

func (out *OutPrint) StartELEM(tag string, props ...string)

StartELEM element

func (*OutPrint) StartHEAD

func (out *OutPrint) StartHEAD()

StartHEAD element

func (*OutPrint) StartHTML

func (out *OutPrint) StartHTML(props ...string)

StartHTML element

func (*OutPrint) StartReplaceContent

func (out *OutPrint) StartReplaceContent(contentref string)

StartReplaceContent indicate start of dynamic content to replace

func (*OutPrint) StartSCRIPT

func (out *OutPrint) StartSCRIPT(props ...string)

StartSCRIPT element

func (*OutPrint) StartScriptContent

func (out *OutPrint) StartScriptContent()

StartScriptContent start active script content

func (*OutPrint) StartTABLE

func (out *OutPrint) StartTABLE(props ...string)

StartTABLE element

func (*OutPrint) StartTD

func (out *OutPrint) StartTD(props ...string)

StartTD element

func (*OutPrint) StartTEXTAREA

func (out *OutPrint) StartTEXTAREA(props ...string)

StartTEXTAREA element

func (*OutPrint) StartTFOOT

func (out *OutPrint) StartTFOOT(props ...string)

StartTFOOT element

func (*OutPrint) StartTH

func (out *OutPrint) StartTH(props ...string)

StartTH element

func (*OutPrint) StartTHEAD

func (out *OutPrint) StartTHEAD(props ...string)

StartTHEAD element

func (*OutPrint) StartTR

func (out *OutPrint) StartTR(props ...string)

StartTR element

func (*OutPrint) TABLE

func (out *OutPrint) TABLE(a ...interface{})

TABLE element

func (*OutPrint) TD

func (out *OutPrint) TD(a ...interface{})

TD element

func (*OutPrint) TEXTAREA

func (out *OutPrint) TEXTAREA(a ...interface{})

TEXTAREA element

func (*OutPrint) TFOOT

func (out *OutPrint) TFOOT(a ...interface{})

TFOOT element

func (*OutPrint) TH

func (out *OutPrint) TH(a ...interface{})

TH element

func (*OutPrint) THEAD

func (out *OutPrint) THEAD(a ...interface{})

THEAD element

func (*OutPrint) TR

func (out *OutPrint) TR(a ...interface{})

TR element

type PrintCommand

type PrintCommand func(...interface{})

PrintCommand definition

type PrintLnCommand

type PrintLnCommand func(...interface{})

PrintLnCommand definition

type StartMarkupElementFunction

type StartMarkupElementFunction = func(out *OutPrint, tag string, props ...string)

StartMarkupElementFunction definition

Jump to

Keyboard shortcuts

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