goplayspace: github.com/iafan/goplayspace/client/component/app Index | Files

package app

import "github.com/iafan/goplayspace/client/component/app"

Index

Package Files

app.go strings.go

Variables

var PageTitle = "The Go Play Space"

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

type Application Uses

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 Uses

func (a *Application) Mount()

Mount implements the vecty.Mounter interface.

func (*Application) Render Uses

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

Render renders the application

func (*Application) Unmount Uses

func (a *Application) Unmount()

Unmount implements the vecty.Unmounter interface.

Package app imports 28 packages (graph) and is imported by 1 packages. Updated 2018-07-07. Refresh now. Tools for package owners.