Documentation ¶
Index ¶
- func Build(ctx context.Context, wr io.Writer, element view.View) error
- func Class(value string) view.Mod
- func Delete(key string) view.Mod
- func NewTag(inline bool, name string) func(content ...view.View) view.Use
- func Set(key string, val string) view.Mod
- func Style() view.View
- type BuildItem
- type StyleConfig
- type Tag
- type Text
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type StyleConfig ¶ added in v0.8.0
type StyleConfig struct {
// contains filtered or unexported fields
}
func WithStyle ¶
func WithStyle() *StyleConfig
func (*StyleConfig) Extract ¶ added in v0.8.0
func (s *StyleConfig) Extract() view.Mod
func (*StyleConfig) Rule ¶ added in v0.8.0
func (s *StyleConfig) Rule(rule string) *StyleConfig
func (*StyleConfig) Selector ¶ added in v0.8.0
func (s *StyleConfig) Selector(selector string) *StyleConfig
func (*StyleConfig) Value ¶ added in v0.8.0
func (s *StyleConfig) Value(key, val string) *StyleConfig
Click to show internal directories.
Click to hide internal directories.