Documentation ¶
Index ¶
- type GoHtm
- type GoTag
- func (cur *GoTag) Append(txts ...fmt.Stringer) *GoTag
- func (cur *GoTag) Func(fn func(*GoTag))
- func (cur *GoTag) FuncR(fn func(*GoTag) *GoTag) *GoTag
- func (cur *GoTag) Html(name, filepath string) *GoHtm
- func (cur *GoTag) IfP(flag bool, properties ...string) *GoTag
- func (cur *GoTag) Master() *GoTag
- func (cur *GoTag) P(name, value string) *GoTag
- func (cur *GoTag) PS(name string) *GoTag
- func (cur *GoTag) S(name string, properties ...string) *GoTag
- func (cur *GoTag) SelfClosing() *GoTag
- func (cur *GoTag) String() string
- func (cur *GoTag) T(name string, properties ...string) *GoTag
- func (cur *GoTag) Tag(name string, propertys ...P) *GoTag
- func (cur *GoTag) Text(str string) *GoTag
- type P
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoHtm ¶
type GoHtm struct {
// contains filtered or unexported fields
}
type GoTag ¶
type GoTag struct {
// contains filtered or unexported fields
}
GoTag: <{name} {property}>{tags}</{name}>
func (*GoTag) IfP ¶
if表达式,根据条件判断设置属性 IfP(flag, A, B) ==> if (flag) A="B" else nil IfP(flag, A, B, C, D) ==> if (flag) A="B" else C="D"
Click to show internal directories.
Click to hide internal directories.