Documentation ¶
Index ¶
Constants ¶
View Source
const ( DocRenderTypeIndex = iota DocRenderTypeContent )
View Source
const ( NeverLoaded status = iota Loading LoadingErr Loaded )
View Source
const (
GetMarkdownActionKey = "/markdown/get"
)
Variables ¶
View Source
var CurDoc = Document{
Icon: homeSVG,
Title: "Home",
Name: "home",
}
Functions ¶
This section is empty.
Types ¶
type DocContent ¶
func (*DocContent) Data ¶
func (d *DocContent) Data(v []byte) *DocContent
func (*DocContent) OnMount ¶
func (d *DocContent) OnMount(ctx app.Context)
func (*DocContent) OnUpdate ¶
func (d *DocContent) OnUpdate(ctx app.Context)
func (*DocContent) Render ¶
func (d *DocContent) Render() app.UI
type DocLoader ¶
func (*DocLoader) RenderType ¶
func (d *DocLoader) RenderType(t DocRenderType) *DocLoader
type DocRenderType ¶
type DocRenderType = int
type MarkdownContent ¶
Click to show internal directories.
Click to hide internal directories.