Documentation
¶
Overview ¶
templ: version: v0.2.680
Index ¶
- func AppShellOpts(appShellOpts ...templwind.OptFunc[appshell.Opts]) templwind.OptFunc[Opts]
- func BaseOpts(baseOpts ...templwind.OptFunc[base.Opts]) templwind.OptFunc[Opts]
- func BodyCss(bodyCss string) templwind.OptFunc[Opts]
- func EchoCtx(e echo.Context) templwind.OptFunc[Opts]
- func Favicon(favicon string) templwind.OptFunc[Opts]
- func FooterScripts(footerScripts ...string) templwind.OptFunc[Opts]
- func HeadScripts(headScripts ...string) templwind.OptFunc[Opts]
- func Meta(meta templ.Component) templwind.OptFunc[Opts]
- func New(opts ...templwind.OptFunc[Opts]) templ.Component
- func NewWithOpts(opt *Opts) templ.Component
- func Stylesheets(stylesheets ...string) templwind.OptFunc[Opts]
- func Title(title string) templwind.OptFunc[Opts]
- type Opts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppShellOpts ¶
func NewWithOpts ¶
NewWithOpts creates a new component with the given opt
Types ¶
type Opts ¶
type Opts struct {
EchoCtx echo.Context
BaseOpts []templwind.OptFunc[base.Opts]
AppShellOpts []templwind.OptFunc[appshell.Opts]
Title string
Meta templ.Component
Favicon string
Stylesheets []string
HeadScripts []string
BodyCss string
}
Options struct defines the configuration for the AppShell component.
Click to show internal directories.
Click to hide internal directories.