app

package
v0.0.0-...-c88107b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2018 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PageTitle = "The Go Play Space"

PageTitle is set as a <title> once the app is loaded

Functions

This section is empty.

Types

type Application

type Application struct {
	vecty.Core

	Input   string
	Topic   string
	Imports map[string]string

	// Settings
	Theme            string
	TabWidth         int
	FontWeight       string
	UseWebfont       bool
	HighlightingMode bool
	ShowSidebar      bool

	Hash *hash.Hash
	// contains filtered or unexported fields
}

Application implements the main application view

func (*Application) Mount

func (a *Application) Mount()

Mount implements the vecty.Mounter interface.

func (*Application) Render

func (a *Application) Render() vecty.ComponentOrHTML

Render renders the application

func (*Application) Unmount

func (a *Application) Unmount()

Unmount implements the vecty.Unmounter interface.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL