Documentation ¶
Overview ¶
templ: version: 0.2.476
templ: version: 0.2.476
templ: version: 0.2.476
templ: version: 0.2.476
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Document ¶
func Document(vars DocumentVars) templ.Component
func WriteUnsafe ¶
Types ¶
type DocumentVars ¶
type DocumentVars struct { ID string Version int64 Edit bool Files []File CurrentFile int Versions []DocumentVersion Preview bool PreviewAlt string Lexers []string Styles []Style Style string Theme string Max int Host string }
func (DocumentVars) FileClasses ¶
func (v DocumentVars) FileClasses(i int) string
func (DocumentVars) FileTabClasses ¶
func (v DocumentVars) FileTabClasses(i int) string
func (DocumentVars) PreviewURL ¶
func (v DocumentVars) PreviewURL() string
func (DocumentVars) StateJSON ¶
func (v DocumentVars) StateJSON() string
func (DocumentVars) ThemeCSSURL ¶
func (v DocumentVars) ThemeCSSURL() string
func (DocumentVars) URL ¶
func (v DocumentVars) URL() string
type DocumentVersion ¶
Click to show internal directories.
Click to hide internal directories.