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

package log

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

Index

Package Files

log.go

type Log Uses

type Log struct {
    vecty.Core

    Error  string              `vecty:"prop"`
    Events []*api.CompileEvent `vecty:"prop"`
    HasRun bool                `vecty:"prop"`
    // contains filtered or unexported fields
}

Log contains the logic behind the log panel exposed on the application page under '.log' class

func (*Log) Mount Uses

func (l *Log) Mount()

Mount implements the vecty.Mounter interface.

func (*Log) Render Uses

func (l *Log) Render() vecty.ComponentOrHTML

Render implements the vecty.Component interface.

func (*Log) ScrollToBottom Uses

func (l *Log) ScrollToBottom()

ScrollToBottom scrolls log area to the bottom

Package log imports 7 packages (graph) and is imported by 1 packages. Updated 2017-12-17. Refresh now. Tools for package owners.