console

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//ErrNotImplemented ErrNotImplemented error
	ErrNotImplemented = errors.New("Browser not implemented Console")
	ErrNotAConsole    = errors.New("Object is not a Console")
)

Functions

func GetInterface

func GetInterface() js.Value

GetInterface get teh JS interface of event

Types

type Console

type Console struct {
	baseobject.BaseObject
}

Console Console struct

func New

func New() (Console, error)

func NewFromJSObject

func NewFromJSObject(obj js.Value) (Console, error)

func (Console) Assert

func (c Console) Assert(assertion bool, opts ...interface{}) error

func (Console) Clear

func (c Console) Clear() error

func (Console) Console_

func (c Console) Console_() Console

func (Console) Count

func (c Console) Count(label ...string) error

func (Console) CountReset

func (c Console) CountReset(label ...string) error

func (Console) Debug

func (c Console) Debug(opts ...interface{}) error

func (Console) Dir

func (c Console) Dir(obj baseobject.BaseObject) error

func (Console) DirXml

func (c Console) DirXml(obj baseobject.BaseObject) error

func (Console) Error

func (c Console) Error(opts ...interface{}) error

func (Console) Exception

func (c Console) Exception(opts ...interface{}) error

func (Console) Group

func (c Console) Group(label ...string) error

func (Console) GroupCollapsed

func (c Console) GroupCollapsed(label ...string) error

func (Console) GroupEnd

func (c Console) GroupEnd() error

func (Console) Info

func (c Console) Info(opts ...interface{}) error

func (Console) Log

func (c Console) Log(opts ...interface{}) error

func (Console) Time

func (c Console) Time(label string) error

func (Console) TimeEnd

func (c Console) TimeEnd(label string) error

func (Console) TimeLog

func (c Console) TimeLog(label string) error

func (Console) Trace

func (c Console) Trace() error

func (Console) Warn

func (c Console) Warn(opts ...interface{}) error

type ConsoleFrom

type ConsoleFrom interface {
	Console_() Console
}

Jump to

Keyboard shortcuts

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