// InitDom registers log dom functions.
InitDom registers log dom functions.
// InitDom registers log dom functions .
func (l *Log) InitDom(ctx context.Context, wg *sync.WaitGroup) {
	jsFuncs := map[string]js.Func{
		"clear": l.dom.NewJsFunc(l.Clear),
	}
	l.dom.RegisterFuncs(ctx, wg, "log", jsFuncs)
}
func ( l * Log ) InitDom ( ctx context . Context , wg * sync . WaitGroup ) { jsFuncs := map [ string ] js . Func { " " : l . dom . NewJsFunc ( l . Clear ) , } l . dom . RegisterFuncs ( ctx , wg , " " , jsFuncs ) }
InitDom registers log dom functions.
InitDom registers log dom functions .